diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-12 23:42:11 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-12 23:42:11 +0200 |
commit | c52ee8392501ee916d85fd9da75aa08a8f014493 (patch) | |
tree | 1cd802f64a1ffe0173473fd1f044e014bee59fff /module/web/templates/default/settings.html | |
parent | changed version strings (diff) | |
download | pyload-c52ee8392501ee916d85fd9da75aa08a8f014493.tar.xz |
removed server_methods, please test everything entirely
Diffstat (limited to 'module/web/templates/default/settings.html')
-rw-r--r-- | module/web/templates/default/settings.html | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index a74fe4261..d5484f06e 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -131,10 +131,9 @@ </tr> </thead> - {% for plugin, accounts in conf.accs.iteritems() %} - - {% for account in accounts %} + {% for account in conf.accs %} + {% set plugin = account.type %} <tr> <td> <span style="padding:5px">{{ plugin }}</span> @@ -193,11 +192,9 @@ value="True"/> </td> </tr> - {% endfor %} {% endfor %} </table> - <button id="account_submit" type="submit" class="styled_button">{{_("Submit")}}</button> <button id="account_add" style="margin-left: 0" type="submit" class="styled_button">{{_("Add")}}</button> </form> @@ -223,12 +220,11 @@ <span class="small">{{_("Choose the hoster for your account.")}}</span> </label> <select name=account_type id="account_type"> - {% for type in conf.accs.iterkeys()|sort %} + {% for type in types|sort %} <option value="{{ type }}">{{ type }}</option> {% endfor %} </select> - <button id="account_add_button" type="submit">{{_("Add")}}</button> <button id="account_reset" style="margin-left: 0" type="reset">{{_("Reset")}}</button> <div class="spacer"></div> |