From ab7360d187f4653a7709dcfd3fa0eb22a318e44e Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 9 Sep 2013 09:24:26 +0200 Subject: [PATCH] adding account edit page --- public/site_assets/test/css/layout.css | 31 +--- .../templates/test/account/edit/default.tpl | 172 +++++++++++++----- 2 files changed, 125 insertions(+), 78 deletions(-) diff --git a/public/site_assets/test/css/layout.css b/public/site_assets/test/css/layout.css index 0005a06a..c9c88fbd 100644 --- a/public/site_assets/test/css/layout.css +++ b/public/site_assets/test/css/layout.css @@ -661,7 +661,7 @@ margin: -5px 0 5px 0; text-transform: uppercase; } -fieldset input[type=password] { +fieldset input[type=text], fieldset input[type=password] { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; @@ -680,34 +680,7 @@ width: 92%; margin: 0 10px; } -fieldset input[type=password]:focus { -outline: none; -border: 1px solid #77BACE; --webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6; --moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6; -box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6; -} - -fieldset input[type=text] { --webkit-border-radius: 5px; --moz-border-radius: 5px; -border-radius: 5px; -border: 1px solid #BBBBBB; -height: 20px; -color: #666666; --webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff; --moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff; -box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff; -padding-left: 10px; -background-position: 10px 6px; -margin: 0; -display: block; -float: left; -width: 92%; -margin: 0 10px; -} - -fieldset input[type=text]:focus { +fieldset input[type=text]:focus, fieldset input[type=password]:focus, fieldset input[type=checkbox] { outline: none; border: 1px solid #77BACE; -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6; diff --git a/public/templates/test/account/edit/default.tpl b/public/templates/test/account/edit/default.tpl index 0a3e523d..f3936724 100644 --- a/public/templates/test/account/edit/default.tpl +++ b/public/templates/test/account/edit/default.tpl @@ -1,53 +1,127 @@ -{include file="global/block_header.tpl" BLOCK_HEADER="Account Details"} -
- - - - - - - {if !$GLOBAL.config.website.api.disabled}{/if} - - - - - - -
Username: {$GLOBAL.userdata.username|escape}
User Id: {$GLOBAL.userdata.id}
API Key: {$GLOBAL.userdata.api_key}
E-Mail:
Payment Address:
Donation %: [donation amount in percent (example: 0.5)]
Automatic Payout Threshold: [{$GLOBAL.config.ap_threshold.min}-{$GLOBAL.config.ap_threshold.max} {$GLOBAL.config.currency}. Set to '0' for no auto payout]
Anonymous Account : - - - -
4 digit PIN: [The 4 digit PIN you chose when registering]
-
-{include file="global/block_footer.tpl"} +
+ + + +
+

Account Details

+
+
+ + +
+
+ + +
+ {if !$GLOBAL.website.api.disabled} +
+ + {$GLOBAL.userdata.api_key} +
+ {/if} +
+ + +
+
+ + +
+
+ + Donation amount in percent (example: 0.5) + +
+
+ + {$GLOBAL.config.ap_threshold.min}-{$GLOBAL.config.ap_threshold.max} {$GLOBAL.config.currency}. Set to '0' for no auto payout. + +
+
+ + Will hide your username on the website for others. Only admins can still get your user information. + + + +
+
+ + The 4 digit PIN you chose when registering + +
+
+
+ +
+
+
{if !$GLOBAL.disable_mp} -{include file="global/block_header.tpl" BLOCK_HEADER="Cash Out"} - -
- - - - - - - -
Account Balance:    {nocache}{$GLOBAL.userdata.balance.confirmed|escape}{/nocache} {$GLOBAL.config.currency}
Payout to:
{nocache}{$GLOBAL.userdata.coin_address|escape}{/nocache}
4 digit PIN:
-
-{include file="global/block_footer.tpl"} +
+ + + +
+
+

Cash Out

+
+
+ Please note: a {$GLOBAL.config.txfee} {$GLOBAL.config.currency} transaction will apply when processing "On-Demand" manual payments +
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
+
{/if} -{include file="global/block_header.tpl" BLOCK_HEADER="Change Password"} - -
- - - - - - - - -
Current Password:
New Password:
New Password Repeat:
4 digit PIN:
-
-{include file="global/block_footer.tpl"} +
+ + + +
+
+

Change Password

+
+
+ Note: You will be redirected to login on successful completion of a password change +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+