Reorder providers and add new providers to wizard

pull/489/head
Halali 6 years ago
parent 176b2c818a
commit 8dc026d19a

@ -1186,6 +1186,28 @@
</div> </div>
</div> </div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>GreekSubtitles</label>
</div>
<div class="one wide column">
<div id="greeksubtitles" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="greeksubtitles_option" class="ui grid container">
</div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Hosszupuska</label> <label>Hosszupuska</label>
@ -1450,106 +1472,112 @@
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Supersubtitles</label> <label>Subs4Free</label>
</div> </div>
<div class="one wide column"> <div class="one wide column">
<div id="supersubtitles" class="ui toggle checkbox provider"> <div id="subs4free" class="ui toggle checkbox provider">
<input type="checkbox"> <input type="checkbox">
<label></label> <label></label>
</div> </div>
</div> </div>
</div> <div class="collapsed column">
<div id="supersubtitles_option" class="ui grid container"> <div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
</div> <i class="help circle large icon"></i>
</div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>Titlovi</label>
</div>
<div class="one wide column">
<div id="titlovi" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div> </div>
</div> </div>
</div> </div>
<div id="titlovi_option" class="ui grid container"> <div id="subs4free_option" class="ui grid container">
</div> </div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>TVSubtitles</label> <label>Subs4Series</label>
</div> </div>
<div class="one wide column"> <div class="one wide column">
<div id="tvsubtitles" class="ui toggle checkbox provider"> <div id="subs4series" class="ui toggle checkbox provider">
<input type="checkbox"> <input type="checkbox">
<label></label> <label></label>
</div> </div>
</div> </div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div> </div>
<div id="tvsubtitles_option" class="ui grid container"> <div id="subs4series_option" class="ui grid container">
</div> </div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>GreekSubtitles</label> <label>SubZ</label>
</div> </div>
<div class="one wide column"> <div class="one wide column">
<div id="greeksubtitles" class="ui toggle checkbox provider"> <div id="subz" class="ui toggle checkbox provider">
<input type="checkbox"> <input type="checkbox">
<label></label> <label></label>
</div> </div>
</div> </div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div> </div>
<div id="greeksubtitles_option" class="ui grid container"> <div id="subz_option" class="ui grid container">
</div> </div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Subs4Free</label> <label>Supersubtitles</label>
</div> </div>
<div class="one wide column"> <div class="one wide column">
<div id="subs4free" class="ui toggle checkbox provider"> <div id="supersubtitles" class="ui toggle checkbox provider">
<input type="checkbox"> <input type="checkbox">
<label></label> <label></label>
</div> </div>
</div> </div>
</div> </div>
<div id="subs4free_option" class="ui grid container"> <div id="supersubtitles_option" class="ui grid container">
</div> </div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Subs4Series</label> <label>Titlovi</label>
</div> </div>
<div class="one wide column"> <div class="one wide column">
<div id="subs4series" class="ui toggle checkbox provider"> <div id="titlovi" class="ui toggle checkbox provider">
<input type="checkbox"> <input type="checkbox">
<label></label> <label></label>
</div> </div>
</div> </div>
</div> </div>
<div id="subs4series_option" class="ui grid container"> <div id="titlovi_option" class="ui grid container">
</div> </div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>SubZ</label> <label>TVSubtitles</label>
</div> </div>
<div class="one wide column"> <div class="one wide column">
<div id="subz" class="ui toggle checkbox provider"> <div id="tvsubtitles" class="ui toggle checkbox provider">
<input type="checkbox"> <input type="checkbox">
<label></label> <label></label>
</div> </div>
</div> </div>
</div> </div>
<div id="subz_option" class="ui grid container"> <div id="tvsubtitles_option" class="ui grid container">
</div> </div>
@ -1563,6 +1591,13 @@
<label></label> <label></label>
</div> </div>
</div> </div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div> </div>
<div id="xsubs_option" class="ui grid container"> <div id="xsubs_option" class="ui grid container">
<div class="middle aligned row"> <div class="middle aligned row">
@ -2189,10 +2224,10 @@
$('#settings_languages').dropdown(); $('#settings_languages').dropdown();
$('#settings_serie_default_languages').dropdown(); $('#settings_serie_default_languages').dropdown();
$('#settings_movie_default_languages').dropdown(); $('#settings_movie_default_languages').dropdown();
%if settings.general.serie_default_language is not None: %if settings.general.serie_default_language != 'None':
$('#settings_serie_default_languages').dropdown('set selected',{{!settings.general.serie_default_language}}); $('#settings_serie_default_languages').dropdown('set selected',{{!settings.general.serie_default_language}});
%end %end
%if settings.general.movie_default_language is not None: %if settings.general.movie_default_language != 'None':
$('#settings_movie_default_languages').dropdown('set selected',{{!settings.general.movie_default_language}}); $('#settings_movie_default_languages').dropdown('set selected',{{!settings.general.movie_default_language}});
%end %end
$('#settings_branch').dropdown(); $('#settings_branch').dropdown();

@ -443,6 +443,28 @@
</div> </div>
</div> </div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>GreekSubtitles</label>
</div>
<div class="one wide column">
<div id="greeksubtitles" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="greeksubtitles_option" class="ui grid container">
</div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Hosszupuska</label> <label>Hosszupuska</label>
@ -631,6 +653,28 @@
</div> </div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>Subs.sab.bz</label>
</div>
<div class="one wide column">
<div id="subssabbz" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Bulgarian mostly subtitle provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="subssabbz_option" class="ui grid container">
</div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Subscene</label> <label>Subscene</label>
@ -661,6 +705,94 @@
</div> </div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>Subsunacs.net</label>
</div>
<div class="one wide column">
<div id="subsunacs" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Bulgarian mostly subtitle provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="subsunacs_option" class="ui grid container">
</div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>Subs4Free</label>
</div>
<div class="one wide column">
<div id="subs4free" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="subs4free_option" class="ui grid container">
</div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>Subs4Series</label>
</div>
<div class="one wide column">
<div id="subs4series" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="subs4series_option" class="ui grid container">
</div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>SubZ</label>
</div>
<div class="one wide column">
<div id="subz" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="subz_option" class="ui grid container">
</div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Supersubtitles</label> <label>Supersubtitles</label>
@ -706,6 +838,47 @@
</div> </div>
<div class="middle aligned row">
<div class="right aligned four wide column">
<label>XSubs</label>
</div>
<div class="one wide column">
<div id="xsubs" class="ui toggle checkbox provider">
<input type="checkbox">
<label></label>
</div>
</div>
<div class="collapsed column">
<div class="collapsed center aligned column">
<div class="ui basic icon" data-tooltip="Greek subtitles provider." data-inverted="">
<i class="help circle large icon"></i>
</div>
</div>
</div>
</div>
<div id="xsubs_option" class="ui grid container">
<div class="middle aligned row">
<div class="right aligned six wide column">
<label>Username</label>
</div>
<div class="six wide column">
<div class="ui fluid input">
<input name="settings_xsubs_username" type="text" value="{{settings.xsubs.username if settings.xsubs.username != None else ''}}">
</div>
</div>
</div>
<div class="middle aligned row">
<div class="right aligned six wide column">
<label>Password</label>
</div>
<div class="six wide column">
<div class="ui fluid input">
<input name="settings_xsubs_password" type="password" value="{{settings.xsubs.password if settings.xsubs.password != None else ''}}">
</div>
</div>
</div>
</div>
<div class="middle aligned row"> <div class="middle aligned row">
<div class="eleven wide column"> <div class="eleven wide column">
<div class='field' hidden> <div class='field' hidden>
@ -1494,10 +1667,10 @@ $(function() {
$('#settings_languages').dropdown(); $('#settings_languages').dropdown();
$('#settings_serie_default_languages').dropdown(); $('#settings_serie_default_languages').dropdown();
$('#settings_movie_default_languages').dropdown(); $('#settings_movie_default_languages').dropdown();
%if settings.general.serie_default_language is not None: %if settings.general.serie_default_language != 'None':
$('#settings_serie_default_languages').dropdown('set selected',{{!settings.general.serie_default_language}}); $('#settings_serie_default_languages').dropdown('set selected',{{!settings.general.serie_default_language}});
%end %end
%if settings.general.movie_default_language is not None: %if settings.general.movie_default_language != 'None':
$('#settings_movie_default_languages').dropdown('set selected',{{!settings.general.movie_default_language}}); $('#settings_movie_default_languages').dropdown('set selected',{{!settings.general.movie_default_language}});
%end %end

Loading…
Cancel
Save