Skip to content

Commit

Permalink
Bug 852: Users display
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@2498 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
vdigital committed Sep 4, 2008
1 parent efa7411 commit 2676ad8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
33 changes: 18 additions & 15 deletions admin/template/yoga/admin/user_list.tpl
Expand Up @@ -48,21 +48,24 @@

<form method="post" name="preferences" action="">

<table class="table2">
<tr class="throw">
<th>&nbsp;</th>
<th>{'Username'|@translate}</th>
<th>{'user_status'|@translate}</th>
<th>{'Email address'|@translate}</th>
<th>{'Groups'|@translate}</th>
<th>{'properties'|@translate}</th>
{if not empty($plugin_user_list_column_titles)}
{foreach from=$plugin_user_list_column_titles item=title}
<th>{$title}</th>
{/foreach}
{/if}
<th>{'Actions'|@translate}</th>
</tr>
<table class="table2" width="97%">
<thead>
<tr class="throw">
<td>&nbsp;</td>
<td>{'Username'|@translate}</td>
<td>{'user_status'|@translate}</td>
<td>{'Email address'|@translate}</td>
<td>{'Groups'|@translate}</td>
<td>{'properties'|@translate}</td>
{if not empty($plugin_user_list_column_titles)}
{foreach from=$plugin_user_list_column_titles item=title}
<td>{$title}</td>
{/foreach}
{/if}
<td>{'Actions'|@translate}</td>
</tr>
</thead>

{foreach from=$users item=user name=users_loop}
<tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}">
<td><input type="checkbox" name="selection[]" value="{$user.ID}" {$user.CHECKED} id="selection-{$user.ID}" /></td>
Expand Down
6 changes: 5 additions & 1 deletion admin/template/yoga/default-layout.css
Expand Up @@ -10,13 +10,17 @@ TABLE.table2 {
}

TABLE.table2 TD {
padding: 0 30px;
padding: 0 20px;
}

TABLE.table2 TR {
text-align: left;
}

table.table2 thead td { padding:7px 20px 3px 20px; }
table.table2 tr.throw { text-align: center; }
table.table2 { margin:0pt auto; }
.sort { display:block; padding:8px 5px 0px 1px; }


.hour {
Expand Down
5 changes: 0 additions & 5 deletions admin/template/yoga/theme/admin/theme.css
Expand Up @@ -73,11 +73,6 @@ right:0; text-align:right; top:0; width:770px; }
.HelpActions li {list-style-image:none; list-style-position:outside;
list-style-type:none; text-align:center; text-indent:0pt; }

table.table2 th { padding:3px 30px; }
table.table2 tr.throw { text-align: center; }
table.table2 { margin:0pt auto; }
.sort { display:block; padding:8px 5px 0px 1px; }

/* tabsheets are often used in admin pages => No specific css files */
.tabsheet {
background-color:transparent; border:0; display:table;
Expand Down

0 comments on commit 2676ad8

Please sign in to comment.