Commit d1885d7d authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

Minor layout fixes.



    * "Login as" button class change (user editing page).
    * Group administrators editing page (Site admin group managing interface).
    * Site upgrade box is shown in the middle (to preserve layout since it
      replaces statistics box).
Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent 619d46a5
......@@ -57,7 +57,8 @@
#institutionusers,
#staffusers,
#adminusers {
#adminusers,
#groupadminsform {
background-color: #EBF0F4;
border: 1px solid #95A8B7;
}
......
......@@ -136,8 +136,8 @@ input#register_register {
padding: 1em 1.5em;
background: #f6f6f6;
border: 1px solid #ddd;
margin: 0 0 1em 0;
float: left;
margin: 0 0 1em 0;
float: left;
}
#runupgrade h4 {
margin: 0;
......@@ -488,8 +488,20 @@ form#uploadcsv {
#editmenus #menuitemlist table {
width: auto;
}
#groupadminsform table {
width: 97%;
/* MANAGE GROUPS > GROUP ADMINS */
#groupadminsform {
border: 1px solid #d1d1d1;
background: #f6f6f6;
padding: 1em;
}
#groupadminsform table #groupadminsform_admins_container td th {
width: auto !important;
white-space: nowrap;
font-weight: bold;
}
#groupadminsform table #groupadminsform_admins_container th {
width: 80px !important;
}
/* MANAGE INSTITUTIONS > INSTITUTIONS */
......
{auto_escape off}
{include file="header.tpl"}
<p>{str tag=managegroupdescription section=admin}</p>
<div class="userlistform">
{$managegroupform}
</div>
{include file="footer.tpl"}
{/auto_escape}
{include file='header.tpl'}
<div id="adminhome">
{if $register}
<div class="message" id="register-site">
<h3>{str tag=registeryourmaharasite section=admin}</h3>
{str tag=registeryourmaharasitesummary section=admin args=$WWWROOT}
</div>
{/if}
{if $upgrades}
<div id="runupgrade">
<h3>{str tag="upgrades" section=admin}</h3>
......@@ -25,13 +32,6 @@
</div>
{/if}
{if $register}
<div class="message" id="register-site">
<h3>{str tag=registeryourmaharasite section=admin}</h3>
{str tag=registeryourmaharasitesummary section=admin args=$WWWROOT}
</div>
{/if}
{if $sitedata}
<div class="message" id="site-stats">
<div><h3>{$sitedata.name}: {str tag=siteinformation section=admin}</h3></div>
......
......@@ -6,7 +6,7 @@
<div id="profilename"><a href="{$WWWROOT}user/view.php?id={$user->id}">{$user|display_name|escape}</a></div>
</div>
{if $loginas}
<div id="loginas"><a class="btn-loginas" href="{$WWWROOT}admin/users/changeuser.php?id={$user->id}">{$loginas}</a></div>
<div id="loginas"><a class="btn" href="{$WWWROOT}admin/users/changeuser.php?id={$user->id}">{$loginas}</a></div>
{/if}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment