aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-08-14 18:18:47 +0000
committerplegall <plg@piwigo.org>2005-08-14 18:18:47 +0000
commit3b957eb48093b4705cd98d0f9c70ea932a37e633 (patch)
treebc0826bfe62b41895bec83d9d9172fe43517c899 /template/default
parentc501facfa5447443be872c56377cb9141c939196 (diff)
- modification : simplification of HTML/CSS code for double select screen to
manage categories properties (admin/cat_options) - typo fixed : in menu language key for [admin > categories > representative] git-svn-id: http://piwigo.org/svn/trunk@812 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/admin.tpl2
-rw-r--r--template/default/admin/cat_options.tpl55
-rw-r--r--template/default/default.css13
3 files changed, 42 insertions, 28 deletions
diff --git a/template/default/admin.tpl b/template/default/admin.tpl
index 8c72195d2..39879fffb 100644
--- a/template/default/admin.tpl
+++ b/template/default/admin.tpl
@@ -43,7 +43,7 @@
<li><a class="adminMenu" href="{U_CAT_VISIBLE}">{L_CAT_VISIBLE}</a></li>
<li><a class="adminMenu" href="{U_CAT_STATUS}">{L_CAT_STATUS}</a></li>
<!-- BEGIN representative -->
- <li><a class="adminMenu" href="{representative.URL}">{lang:Representatve}</a></li>
+ <li><a class="adminMenu" href="{representative.URL}">{lang:Representative}</a></li>
<!-- END representative -->
</ul>
</div>
diff --git a/template/default/admin/cat_options.tpl b/template/default/admin/cat_options.tpl
index c9cf1e8ef..83829cff5 100644
--- a/template/default/admin/cat_options.tpl
+++ b/template/default/admin/cat_options.tpl
@@ -1,31 +1,32 @@
<div class="admin">{L_CAT_TITLE}</div>
-<form name="form1" method="post" action="{F_ACTION}" style="text-align:center;width:800px;">
-<div style="clear:both;"></div>
-<div style="height:auto;">
- <div style="float:left;padding:10px;width:300px;">
- <span class="titreMenu">{L_CAT_OPTIONS_TRUE}</span><br />
- <select style="height:auto;width:280px" name="cat_true[]" multiple="multiple" size="10">
- <!-- BEGIN category_option_true -->
- <option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
- <!-- END category_option_true -->
- </select>
- </div>
- <div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" >
- <input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" class="bouton" /><br/>
- <input type="submit" value="&raquo;" name="falsify" style="font-size:15px;" class="bouton" />
- </div>
- <div style="float:right;padding:10px;width:300px;">
- <span class="titreMenu">{L_CAT_OPTIONS_FALSE}</span><br />
- <select style="width:280px" name="cat_false[]" multiple="multiple" size="10">
- <!-- BEGIN category_option_false -->
- <option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
- <!-- END category_option_false -->
- </select>
- </div>
-</div>
-<div style="clear:both;"></div>
-<input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
-<input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+
+<form method="post" action="{F_ACTION}">
+ <input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
+
+ <table class="doubleSelect">
+ <tr>
+ <td>
+ <h3>{L_CAT_OPTIONS_TRUE}</h3>
+ <select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
+ <!-- BEGIN category_option_true -->
+ <option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
+ <!-- END category_option_true -->
+ </select>
+ <p><input type="submit" value="&raquo;" name="falsify" style="font-size:15px;"/></p>
+ </td>
+
+ <td>
+ <h3>{L_CAT_OPTIONS_FALSE}</h3>
+ <select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
+ <!-- BEGIN category_option_false -->
+ <option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
+ <!-- END category_option_false -->
+ </select>
+ <p><input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" /></p>
+ </td>
+ </tr>
+ </table>
</form>
+
<div class="information">{L_CAT_OPTIONS_INFO}</div>
diff --git a/template/default/default.css b/template/default/default.css
index d326f45ff..352f5d5f1 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -508,3 +508,16 @@ fieldset {
fieldset>legend {
margin: 5px;
}
+
+select.categoryList {
+ width: 400px;
+}
+
+table.doubleSelect {
+ text-align: center;
+ margin: 0 auto;
+}
+
+table.doubleSelect td {
+ padding: 0 5px;
+} \ No newline at end of file