aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-06-30 21:07:50 +0000
committerplegall <plg@piwigo.org>2005-06-30 21:07:50 +0000
commit3e1604f74840f40c7c3b5707256fd99a5ece34bc (patch)
tree924c1b108b0b5225394e2c1a1a957f5f0580c12c /template/default
parentb4458ec2dbcca66fbbc6e126e9f24fe076c9f5a7 (diff)
- users managment : change display of filter (according to filter on user
comments) git-svn-id: http://piwigo.org/svn/trunk@799 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/admin/user_list.tpl31
-rw-r--r--template/default/default.css5
2 files changed, 26 insertions, 10 deletions
diff --git a/template/default/admin/user_list.tpl b/template/default/admin/user_list.tpl
index 1b25a251e..51c1185cf 100644
--- a/template/default/admin/user_list.tpl
+++ b/template/default/admin/user_list.tpl
@@ -10,9 +10,7 @@
<div class="admin">{L_USERS_LIST}</div>
-<form method="get" name="filter" action="{F_FILTER_ACTION}">
-
-<div style="text-align:center">
+<form class="filter" method="get" name="filter" action="{F_FILTER_ACTION}">
<input type="hidden" name="page" value="user_list" />
@@ -20,35 +18,52 @@
<input type="hidden" name="id" value="{session.ID}" />
<!-- END session -->
- username <input type="text" name="username" value="{F_USERNAME}" />
+<fieldset>
+
+ <legend>{lang:Filter}</legend>
+
+
+ <label>{lang:username} <input type="text" name="username" value="{F_USERNAME}" /></label>
- status
+ <label>
+ {lang:status}
<select name="status">
<!-- BEGIN status_option -->
<option value="{status_option.VALUE}" {status_option.SELECTED} > {status_option.CONTENT}</option>
<!-- END status_option -->
</select>
+ </label>
- group
+ <label>
+ {lang:group}
<select name="group">
<!-- BEGIN group_option -->
<option value="{group_option.VALUE}" {group_option.SELECTED} > {group_option.CONTENT}</option>
<!-- END group_option -->
</select>
+ </label>
- {L_ORDER_BY}
+ <label>
+ {lang:Order by}
<select name="order_by">
<!-- BEGIN order_by -->
<option value="{order_by.VALUE}" {order_by.SELECTED} >{order_by.CONTENT}</option>
<!-- END order_by -->
</select>
+ </label>
+
+ <label>
+ {lang:Sort order}
<select name="direction">
<!-- BEGIN direction -->
<option value="{direction.VALUE}" {direction.SELECTED} >{direction.CONTENT}</option>
<!-- END direction -->
</select>
+ </label>
+
<input type="submit" name="submit_filter" value="{L_SUBMIT}" class="bouton" />
-</div>
+
+</fieldset>
</form>
diff --git a/template/default/default.css b/template/default/default.css
index f02f33ce3..fa9286407 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -459,12 +459,13 @@ form.filter FIELDSET LABEL {
padding: 0;
}
-form.filter FIELDSET INPUT, form.filter FIELDSET SELECT {
+form.filter>FIELDSET>LABEL>INPUT, form.filter>FIELDSET>LABEL>SELECT {
display: block;
}
-form.filter FIELDSET P {
+form.filter FIELDSET P, form.filter FIELDSET>INPUT {
clear: left;
+ display: block;
}
form.filter FIELDSET {