From 3b8445844321428a1579fa03ded00667a881da18 Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Thu, 27 Feb 2014 20:37:45 +0100 Subject: [PATCH] [UPDATE] settings layouts --- .../bootstrap/admin/settings/default.tpl | 84 ++++++++++--------- .../bootstrap/statistics/default.tpl | 59 +++++++------ .../statistics/pool/contributors_hashrate.tpl | 2 - 3 files changed, 75 insertions(+), 70 deletions(-) diff --git a/public/templates/bootstrap/admin/settings/default.tpl b/public/templates/bootstrap/admin/settings/default.tpl index 1dc5979d..74ff5c5a 100644 --- a/public/templates/bootstrap/admin/settings/default.tpl +++ b/public/templates/bootstrap/admin/settings/default.tpl @@ -1,42 +1,44 @@ -
-
- - - -
-

Settings

- -
-
-{foreach item=TAB from=array_keys($SETTINGS)} -
-
-{section name=setting loop=$SETTINGS.$TAB} -
- - {if $SETTINGS.$TAB[setting].tooltip|default}{$SETTINGS.$TAB[setting].tooltip}{/if} - {if $SETTINGS.$TAB[setting].type == 'select'} - {html_options name="data[{$SETTINGS.$TAB[setting].name}]" options=$SETTINGS.$TAB[setting].options selected=$SETTINGS.$TAB[setting].value|default:$SETTINGS.$TAB[setting].default} - {else if $SETTINGS.$TAB[setting].type == 'text'} - - {else if $SETTINGS.$TAB[setting].type == 'textarea'} - - {else} - Unknown option type: {$SETTINGS.$TAB[setting].type} - {/if} -
-{/section} -
-{/foreach} +
+
+
+
+ Settings +
+ + + + +
+ +
+ {foreach item=TAB from=array_keys($SETTINGS)} +
+
+ {section name=setting loop=$SETTINGS.$TAB} +
+ + {if $SETTINGS.$TAB[setting].tooltip|default}{$SETTINGS.$TAB[setting].tooltip}{/if} + {if $SETTINGS.$TAB[setting].type == 'select'} + {html_options class="form-control" name="data[{$SETTINGS.$TAB[setting].name}]" options=$SETTINGS.$TAB[setting].options selected=$SETTINGS.$TAB[setting].value|default:$SETTINGS.$TAB[setting].default} + {else if $SETTINGS.$TAB[setting].type == 'text'} + + {else if $SETTINGS.$TAB[setting].type == 'textarea'} + + {else} + Unknown option type: {$SETTINGS.$TAB[setting].type} + {/if} +
+ {/section} +
+ {/foreach} +
+ +
+
-
- -
- -
+ + \ No newline at end of file diff --git a/public/templates/bootstrap/statistics/default.tpl b/public/templates/bootstrap/statistics/default.tpl index 200e1f5a..9e967c85 100644 --- a/public/templates/bootstrap/statistics/default.tpl +++ b/public/templates/bootstrap/statistics/default.tpl @@ -1,28 +1,33 @@ -
-

General Statistics

-
- - - - - - - - - - - - - - - - - - - -
Pool Hash Rate{$GLOBAL.hashrate} {$GLOBAL.hashunits.pool}
Current Total Miners{$GLOBAL.workers}
Current Block{$CURRENTBLOCK}
Current Difficulty{$DIFFICULTY}
+
+
+
+ General Statistics +
+
+ + + + + + + + + + + + + + + + + + + +
Pool Hash Rate{$GLOBAL.hashrate} {$GLOBAL.hashunits.pool}
Current Total Miners{$GLOBAL.workers}
Current Block{$CURRENTBLOCK}
Current Difficulty{$DIFFICULTY}
+
+ +
-
-{if !$GLOBAL.website.api.disabled}
  • These stats are also available in JSON format HERE
  • {/if} -
-
+ \ No newline at end of file diff --git a/public/templates/bootstrap/statistics/pool/contributors_hashrate.tpl b/public/templates/bootstrap/statistics/pool/contributors_hashrate.tpl index 9b89db0e..bf27b59f 100644 --- a/public/templates/bootstrap/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/bootstrap/statistics/pool/contributors_hashrate.tpl @@ -50,8 +50,6 @@ 2% or more Donation - -