diff options
author | m4xcube <m4xcube@users.noreply.github.com> | 2015-04-04 22:01:55 +0200 |
---|---|---|
committer | m4xcube <m4xcube@users.noreply.github.com> | 2015-04-04 22:01:55 +0200 |
commit | e866110d32727a4268700324c56a25955e9ced3a (patch) | |
tree | a37b1e9be11db05ad17ab6fb6e3774a3ab81fa8e | |
parent | Cleanup & Design improvement (diff) | |
download | pyload-e866110d32727a4268700324c56a25955e9ced3a.tar.xz |
Better readability of HTML
-rw-r--r-- | module/web/templates/default/settings.html | 66 |
1 files changed, 32 insertions, 34 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index c9b852c0a..1841fe485 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -13,9 +13,9 @@ {% block content %} <ul id="toptabs" class="nav nav-tabs"> - <li role="presentation" class"active"><a href="#">{{ _("General") }}</a></li> - <li role="presentation"><a href="#">{{ _("Plugins") }}</a></li> - <li role="presentation"><a href="#">{{ _("Accounts") }}</a></li> + <li role="presentation" class"active"><a href="#">{{ _("General") }}</a></li> + <li role="presentation"><a href="#">{{ _("Plugins") }}</a></li> + <li role="presentation"><a href="#">{{ _("Accounts") }}</a></li> </ul> <div id="tabsback" style="height: 20px; padding-left: 150px; color: white; font-weight: bold;"> @@ -173,36 +173,34 @@ {% endblock %} {% block hidden %} <div id="account_box" style="z-index: 2"> -<form id="add_account_form" action="/json/add_account" method="POST" enctype="multipart/form-data"> -<h3>{{_("Add Account")}}</h3> -<p>{{_("Enter your account data to use premium features.")}}</p> - -<div class="form-group"> -<label for="account_login">{{_("Login")}}</label> -<input class="form-control" id="account_login" name="account_login" type="text" /> -<p >{{_("Your username.")}}</p> -</div> -<div class="form-group"> -<label for="account_password">{{_("Password")}}</label> -<input class="form-control" id="account_password" name="account_password" type="password" size="20" /> -<p >{{_("The password for this account.")}}</p> -</div> -<div class="form-group"> -<label for="account_type">{{_("Type")}}</label> -<p>{{_("Choose the hoster for your account.")}}</p> -</div> -<div class="form-group"> - <select name=account_type id="account_type"> - {% for type in types|sort %} - <option value="{{ type }}">{{ type }}</option> - {% endfor %} - </select> -</div> -<button class="btn btn-primary" style="float: right; margin-left: 5px;" id="account_add_button" type="submit">{{_("Add")}}</button> -<button class="btn btn-default" style="float: right;" id="account_reset" style="margin-left: 0" type="reset">{{_("Reset")}}</button> -<div class="spacer"></div> - -</form> - + <form id="add_account_form" action="/json/add_account" method="POST" enctype="multipart/form-data"> + <h3>{{_("Add Account")}}</h3> + <p>{{_("Enter your account data to use premium features.")}}</p> + + <div class="form-group"> + <label for="account_login">{{_("Login")}}</label> + <input class="form-control" id="account_login" name="account_login" type="text" /> + <p >{{_("Your username.")}}</p> + </div> + <div class="form-group"> + <label for="account_password">{{_("Password")}}</label> + <input class="form-control" id="account_password" name="account_password" type="password" size="20" /> + <p >{{_("The password for this account.")}}</p> + </div> + <div class="form-group"> + <label for="account_type">{{_("Type")}}</label> + <p>{{_("Choose the hoster for your account.")}}</p> + </div> + <div class="form-group"> + <select name=account_type id="account_type"> + {% for type in types|sort %} + <option value="{{ type }}">{{ type }}</option> + {% endfor %} + </select> + </div> + <button class="btn btn-primary" style="float: right; margin-left: 5px;" id="account_add_button" type="submit">{{_("Add")}}</button> + <button class="btn btn-default" style="float: right;" id="account_reset" style="margin-left: 0" type="reset">{{_("Reset")}}</button> + <div class="spacer"></div> + </form> </div> {% endblock %} |