|
|
@ -1,3 +1,5 @@ |
|
|
|
<!--#from sabnzbd.constants import VALID_ARCHIVES, VALID_NZB_FILES#--> |
|
|
|
<!--#set $file_exts = ','.join(VALID_NZB_FILES + VALID_ARCHIVES)#--> |
|
|
|
<!-- Notifcation box --> |
|
|
|
<div class="main-notification-box" style="display: none"> |
|
|
|
<div class="main-notification-box-uploading"> |
|
|
@ -447,7 +449,7 @@ |
|
|
|
<div class="input-group" data-tooltip="true" data-placement="bottom" title="$T('Glitter-nzbFormats')"> |
|
|
|
<label class="btn btn-default btn-file"> |
|
|
|
<span class="glyphicon glyphicon-file"></span> <em>$T('Glitter-chooseFile')…</em> |
|
|
|
<input type="file" multiple name="nzbFile" class="form-control" accept=".nzb,.rar,.zip,.gz,.bz2" data-bind="event : { change: updateBrowseLabel }" /> |
|
|
|
<input type="file" multiple name="nzbFile" class="form-control" accept="$file_exts" data-bind="event : { change: updateBrowseLabel }" /> |
|
|
|
</label> |
|
|
|
|
|
|
|
<span class="input-group-btn"> |
|
|
@ -572,7 +574,7 @@ |
|
|
|
<div class="input-group input-group-addfile" data-tooltip="true" data-placement="bottom" title="$T('Glitter-nzbFormats')"> |
|
|
|
<label class="btn btn-default btn-file"> |
|
|
|
<span class="glyphicon glyphicon-file"></span> <em>$T('Glitter-chooseFile')…</em> |
|
|
|
<input type="file" name="nzbFile" class="form-control" accept=".nzb,.rar,.zip,.gz,.bz2" data-bind="event : { change: updateBrowseLabel }" /> |
|
|
|
<input type="file" name="nzbFile" class="form-control" accept="$file_exts" data-bind="event : { change: updateBrowseLabel }" /> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</fieldset> |
|
|
|