Commit 57d5322b authored by Pat Kira's avatar Pat Kira
Browse files

Style edit users page - bulk actions

behatnotneeded - styling only

Change-Id: Ibc22bd6be7438634ae02aac6026a21db4bc3cf66
parent 4bfe2719
......@@ -125,14 +125,13 @@ if (count($options) > 1) {
'elements' => array (
'authinstance' => array(
'type' => 'select',
'class' => 'no-label',
'options' => $options,
'defaultvalue' => $default,
),
'changeauth' => array(
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-default input-group-btn no-label',
'class' => 'btn-default input-group-btn',
'value' => get_string('changeauthmethod', 'admin')
)
)
......@@ -176,7 +175,7 @@ $deleteform = pieform(array(
'delete' => array(
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-default no-label',
'class' => 'btn-default',
'confirm' => get_string('confirmdeleteusers', 'admin'),
'value' => '<span class="icon icon-lg icon-user-times prs text-danger"></span>' . get_string('deleteusers', 'admin'),
),
......
This source diff could not be displayed because it is too large. You can view the blob instead.
.tab-content {
padding-top: $grid-gutter-width;
}
\ No newline at end of file
.admin-edit-users & {
padding: 20px 0 15px 0;
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
{include file="header.tpl"}
<div class="form with-heading">
{$suspendform|safe}
{$changeauthform|safe}
{$probationform|safe}
{$deleteform|safe}
</div>
<p class="mtxl lead">{str tag=editselectedusersdescription1 section=admin}</p>
<div class="panel panel-default">
<h2 class="panel-heading">{str tag=selectedusers section=admin} ({count($users)})</h2>
{include file="admin/users/userlist.tpl" users=$users}
<div id="edit-users" class="panel-body admin-edit-users">
<p class="lead">{str tag=editselectedusersdescription1 section=admin}</p>
<ul class="nav nav-tabs list-unstyled" role="tablist">
<li id="changeauth-user-tab" class="" role="presentation">
<a href="#changeauth-form" aria-controls="changeauth-form" role="tab" data-toggle="tab">
<span class="icon icon-lg icon-key left"></span>
{str tag=changeauthmethod section=admin}
</a>
</li>
{if $probationform}
<li id="probation-user-tab" class="" role="presentation">
<a href="#probation-form" aria-controls="probation-form" role="tab" data-toggle="tab">
<span class="icon icon-lg icon-exclamation-triangle left"></span>
{str tag=probationbulksetspamprobation section=admin}
</a>
</li>
{/if}
<li id="suspend-user-tab" class="active" role="presentation">
<a href="#suspend-form" aria-controls="suspend-form" role="tab" data-toggle="tab">
<span class="icon icon-lg icon-ban left"></span>
{str tag=Suspend section=admin}
</a>
</li>
<li id="delete-user-tab" class="" role="presentation">
<a href="#delete-form" aria-controls="delete-form" role="tab" data-toggle="tab">
<span class="icon icon-lg icon-trash left"></span>
{str tag=deleteusers section=admin}
</a>
</li>
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane" id="changeauth-form">
{$changeauthform|safe}
</div>
<div role="tabpanel" class="tab-pane" id="probation-form">
{$probationform|safe}
</div>
<div role="tabpanel" class="tab-pane active" id="suspend-form">
{$suspendform|safe}
</div>
<div role="tabpanel" class="tab-pane" id="delete-form">
{$deleteform|safe}
</div>
</div>
<hr>
<div class="bulk-action-selected-user">
<h2>{str tag=selectedusers section=admin} ({count($users)})</h2>
{include file="admin/users/userlist.tpl" users=$users}
</div>
</div>
</div>
{include file="footer.tpl"}
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