summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-22 06:35:55 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-22 06:35:55 +0000
commitddb995eaf6570ea226875d4a8d75ca172ce0b667 (patch)
tree51cb789901d91b5b79252bfbbce59c16ed668744 /modules
parentc4313b718b5e87adfd02744659d338fad5b6bb7a (diff)
Added new UI element, gPanel, which is a similar mechanism to gDialog. Panels are hidden inline elements that can be revealed within list items, tables cells, etc. Still need to add the toggle off and ajaxify content.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/views/admin_users.html.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index 46afd2ae..c1c615b3 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -5,7 +5,7 @@
border-style: solid;
border-color: #ececec #c8c8c8 #c8c8c8 #ececec;
background-image: url('/gallery3/themes/admin_default/images/backg-buttonlink.png');
- padding: .2em .3em .2em .3em;
+ padding: .2em .3em;
font-weight: bold;
}
.gButtonLink:hover {
@@ -23,7 +23,7 @@
position: relative;
}
.gUserAdminList li img {
- width: 20px
+ width: 20px;
height: 20px;
cursor: move;
}
@@ -42,7 +42,7 @@
.gActions a {
margin-right: 40px;
}
- .gUserEdit {
+ .gPanel {
display: none;
}
</style>
@@ -73,16 +73,14 @@
</span>
<span class="gActions">
- <a href="#" onclick="$('gUserEdit-<?= $user->id ?>').slideDown('slow');"><?= t("edit") ?></a>
+ <a href="users/edit_form/<?= $user->id ?>" class="gPanelLink"><?= t("edit") ?></a>
<!--<a href="users/edit_form/<?= $user->id ?>" class="gDialogLink"><?= t("edit") ?></a>-->
<? if (!(user::active()->id == $user->id || user::guest()->id == $user->id)): ?>
<a href="users/delete_form/<?= $user->id ?>" class="gDialogLink"><?= t("delete") ?></a>
<? endif ?>
</span>
- </li>
-
- <li id="gUserEdit-<?= $user->id ?>" class="gUserEdit">
- <form>
+
+ <form id="gUserEdit-<?= $user->id ?>" class="gPanel">
<fieldset>
<label>Username</label>
<input type="text" />