diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 20:36:10 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-11 20:36:10 +0200 |
commit | 080643e89af62013d70bb574cd54cf4876628515 (patch) | |
tree | e79e3bebe9175da613c4a339fc4ac3fa172ecced /pyload/web/app/templates/default/accounts/account.html | |
parent | another try to fix broken accounts (diff) | |
download | pyload-080643e89af62013d70bb574cd54cf4876628515.tar.xz |
improved account list
Diffstat (limited to 'pyload/web/app/templates/default/accounts/account.html')
-rw-r--r-- | pyload/web/app/templates/default/accounts/account.html | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/pyload/web/app/templates/default/accounts/account.html b/pyload/web/app/templates/default/accounts/account.html index 3b3875a3e..7039eae8c 100644 --- a/pyload/web/app/templates/default/accounts/account.html +++ b/pyload/web/app/templates/default/accounts/account.html @@ -1,15 +1,41 @@ -<div class="span3"> - <img src="{{ pluginIcon plugin }}"> {{ plugin }} +<div class="span3 account-type" style="background-image: url({{ pluginIcon plugin }})"> + {{ plugin }} <br> + {{#if valid }} + <span class="text-success"> + {{#if premium}} + {{_ "premium"}} + {{else}} + {{_ "valid" }} + {{/if}} + </span> + {{else}} + <span class="text-error"> + {{_ "invalid" }} + </span> + {{/if}} </div> -<div class="span3"> - {{ loginname }} +<div class="span2 account-name"> + {{ loginname }} + {{# if shared}} + TODO: shared + {{/if}} </div> -<div class="span3"> - {{ premium }} +<div class="span2 account-data"> + {{_ "Traffic left:"}}<br> {{ formatSize trafficleft }} - {{ shared }} - {{ activated }} +</div> +<div class="span2 account-data"> + {{_ "Valid until:"}}<br> + {{ formatTime validuntil }} </div> <div class="span3"> - <button type="button" class="btn btn-danger"><i class="icon-trash"></i></button> + {{#if activated }} + <button type="button" class="btn btn-success"><i class="icon-check"></i></button> + {{else}} + <button type="button" class="btn btn-success"><i class="icon-check-empty"></i></button> + {{/if}} + + <button type="button" class="btn btn-blue"><i class="icon-pencil"></i></button> + <button type="button" class="btn btn-yellow"><i class="icon-refresh"></i></button> + <button type="button" class="btn btn-danger"><i class="icon-trash"></i></button> </div>
\ No newline at end of file |