aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-03-20 18:11:45 -0700
committerMatt Friedman <maf675@gmail.com>2014-03-20 18:11:45 -0700
commite4f6d9bc907e4aa00ca8c3582f708b4aa0d0d449 (patch)
tree6899b26bd684cb343145ca30f84dd8126ced7eb4 /phpBB/adm/style
parent7f5d8becad864ad86e6172c07a6a5d56d91e5264 (diff)
downloadforums-e4f6d9bc907e4aa00ca8c3582f708b4aa0d0d449.tar
forums-e4f6d9bc907e4aa00ca8c3582f708b4aa0d0d449.tar.gz
forums-e4f6d9bc907e4aa00ca8c3582f708b4aa0d0d449.tar.bz2
forums-e4f6d9bc907e4aa00ca8c3582f708b4aa0d0d449.tar.xz
forums-e4f6d9bc907e4aa00ca8c3582f708b4aa0d0d449.zip
[ticket/12292] Improve style details page
http://tracker.phpbb.com/browse/PHPBB3-12292 Gave style details page a proper heading and back button. Also removed a few obsolete code leftovers in the style and CSS. PHPBB3-12292
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r--phpBB/adm/style/acp_styles.html16
-rw-r--r--phpBB/adm/style/admin.css4
2 files changed, 8 insertions, 12 deletions
diff --git a/phpBB/adm/style/acp_styles.html b/phpBB/adm/style/acp_styles.html
index b5c691b36b..e0149c2a0f 100644
--- a/phpBB/adm/style/acp_styles.html
+++ b/phpBB/adm/style/acp_styles.html
@@ -2,6 +2,10 @@
<a id="maincontent"></a>
+<!-- IF S_STYLE_DETAILS -->
+ <a href="{U_ACTION}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
+<!-- ENDIF -->
+
<!-- IF S_CONFIRM_ACTION -->
<form id="confirm" method="post" action="{S_CONFIRM_ACTION}">
@@ -72,8 +76,8 @@
<fieldset class="submit-buttons">
<legend>{L_SUBMIT}</legend>
- <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
- <a href="{U_ACTION}" class="button2">{L_BACK}</a>
+ <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
+ <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
{S_FORM_TOKEN}
</fieldset>
<!-- ENDIF -->
@@ -154,14 +158,6 @@
</fieldset>
<!-- ENDIF -->
-<!-- IF .extra_links -->
- <fieldset class="quick">
- <!-- BEGIN extra_links -->
- <a class="button2" href="{extra_links.U_ACTION}">{extra_links.L_ACTION}</a>
- <!-- END extra_links -->
- </fieldset>
-<!-- ENDIF -->
-
</form>
<!-- ENDIF -->
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css
index d6377453d1..e29adc988c 100644
--- a/phpBB/adm/style/admin.css
+++ b/phpBB/adm/style/admin.css
@@ -1513,7 +1513,7 @@ input.autowidth { width: auto !important;}
/* Form button styles
---------------------------------------- */
-a.button1, input.button1, input.button3,
+a.button1, input.button1,
a.button2, input.button2 {
width: auto !important;
padding: 1px 3px 0 3px;
@@ -1556,7 +1556,7 @@ input.disabled {
}
/* Focus states */
-input.button1:focus, input.button2:focus, input.button3:focus {
+input.button1:focus, input.button2:focus, {
outline-style: none;
}