Commit 427deddb authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Raw theme: changes to button styles on my files, manage institutions

parent 3ca8d73f
......@@ -40,8 +40,8 @@
{if $editable && !$file->isparent}
{if !isset($file->can_edit) || $file->can_edit !== 0}<input type="submit" name="{$prefix}_edit[{$file->id}]" value="{str tag=edit}" />{/if}
{if $file->childcount == 0}<input type="submit" name="{$prefix}_delete[{$file->id}]" value="{str tag=delete}" />{/if}
{if !isset($file->can_edit) || $file->can_edit !== 0}<input type="submit" class="submit btn-edit s" name="{$prefix}_edit[{$file->id}]" value="{str tag=edit}" />{/if}
{if $file->childcount == 0}<input type="submit" class="submit btn-del s" name="{$prefix}_delete[{$file->id}]" value="{str tag=delete}" />{/if}
{if $selectable && $file->artefacttype != 'folder' && $publishable}
<input type="submit" class="select small" name="{$prefix}_select[{$file->id}]" id="{$prefix}_select_{$file->id}" value="{str tag=select}" />
......@@ -514,25 +514,16 @@ div.sideblock #friendscontrol label {
/* Buttons */
.btn {
background-color: #92b328;
border-color: #d5ed8a #496000 #496000 #d5ed8a;
border-style: solid;
border-width: 1px;
color: #FFF;
padding: .2em .5em;
text-decoration: none;
div.btn-del input.submit,
div.btn-del input.submit, input.submit.btn-del,
div.btn-msg input.submit,
div.btn-add input.submit,
div.btn-edit input.submit,
div.btn-add input.submit, input.submit.btn-add,
div.btn-edit input.submit, input.submit.btn-edit,
a.btn-del, a.btn-msg, a.btn-add, a.btn-req, a.btn-edit, .btn-pending, .btn-reply, .btn-leavegroup {
padding-left: 1em;
padding-left: .7em;
cursor: pointer;
border: none;
a.btn-del, .btn-leavegroup, div.btn-del input.submit {
a.btn-del, .btn-leavegroup, div.btn-del input.submit, input.submit.btn-del {
color: #ca0000;
background: url(../images/icon-delete.gif) no-repeat left 50%;
......@@ -542,10 +533,10 @@ div.btn-bold input.submit {
a.btn-msg, div.btn-msg input.submit {
background: url(../images/icon-mail.gif) no-repeat left 4px;
a.btn-add, a.btn-req, div.btn-add input.submit {
a.btn-add, a.btn-req, div.btn-add input.submit, input.submit.btn-add {
background: url(../images/icon-add.gif) no-repeat left 4px;
a.btn-edit, div.btn-edit input.submit {
a.btn-edit, div.btn-edit input.submit, input.submit.btn-edit {
background: url(../images/icon-edit.gif) no-repeat left 4px;
.btn-pending {
......@@ -56,8 +56,8 @@
<form action="" method="post">
<input type="hidden" name="i" value="{$institution->name}">
<input type="submit" class="submit" name="edit" value="{str tag="edit"}" id="admininstitution_edit">
{if $siteadmin && !$institution->members && $institution->name != 'mahara'}<input type="submit" class="cancel" name="delete" value="{str tag="delete"}" id="admininstitution_delete">{/if}
<input type="submit" class="submit btn-edit s" name="edit" value="{str tag="edit"}" id="admininstitution_edit">
{if $siteadmin && !$institution->members && $institution->name != 'mahara'}<input type="submit" class="submit btn-del s" name="delete" value="{str tag="delete"}" id="admininstitution_delete">{/if}
<td class="center">{if $institution->suspended}<span class="suspended">{str tag="suspendedinstitution" section=admin}</span>{/if}</td>
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