Commit e84165b0 authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Robert Lyon

Bug 1811904: Fontawesome - yet more name changes

icon-calendar       -> icon-regular icon-calendar-alt
icon-check-square-o -> icon-regular icon-check-square
icon-square-o       -> icon-regular icon-square
icon-circle-o         -> icon-regular icon-circle
icon-legal          -> icon-gavel
icon-level-up       -> icon-level-up-alt
icon-long-arrow-down-> icon-long-arrow-alt-down
long-arrow-left     -> icon-long-arrow-alt-left
long-arrow-right    -> icon-long-arrow-alt-right
long-arrow-up       -> icon-long-arrow-alt-up

icon-remove         -> icon-times || icon-user-times
(times is the 'x'used elsewhere, user-times is the 'x' next to a profile person.
Remove has been removed so I have deleted it from the styleguide)

icon-level-up       -> icon-level-up-alt
icon-heart-o        -> icon-regular icon-heart
icon-arrows         -> icon-arrows-alt

icon-sign-in        ->icon-sign-in-alt

Change-Id: Ia2cd81ea24119a7d0fec3000af1eaf2571a2a62b
parent 4b16a73f
...@@ -40,7 +40,7 @@ $extralicenses = get_column_sql(" ...@@ -40,7 +40,7 @@ $extralicenses = get_column_sql("
"); ");
$smarty = smarty(); $smarty = smarty();
setpageicon($smarty, 'icon-legal'); setpageicon($smarty, 'icon-gavel');
$smarty->assign('licenses', $licenses); $smarty->assign('licenses', $licenses);
$smarty->assign('extralicenses', $extralicenses); $smarty->assign('extralicenses', $extralicenses);
......
...@@ -626,7 +626,7 @@ var FileBrowser = (function($) { ...@@ -626,7 +626,7 @@ var FileBrowser = (function($) {
e.preventDefault(); e.preventDefault();
} }
}); });
ul.append($('<li><span class="icon icon-long-arrow-right left"></span>').append(link)); ul.append($('<li><span class="icon icon-long-arrow-alt-right left"></span>').append(link));
} }
} }
}); });
......
...@@ -18,15 +18,15 @@ function changeCheckBox(taskid, state) { ...@@ -18,15 +18,15 @@ function changeCheckBox(taskid, state) {
if (state == 1) { if (state == 1) {
$('.task' + taskid).next('span').removeClass('text-danger').addClass('text-success'); $('.task' + taskid).next('span').removeClass('text-danger').addClass('text-success');
$('.task' + taskid).removeClass('text-midtone icon-square-o icon-times text-danger').addClass('icon-check-square-o text-success'); $('.task' + taskid).removeClass('text-midtone icon-regular icon-square icon-times text-danger').addClass('icon-regular icon-check-square text-success');
} }
else if (state == -1) { else if (state == -1) {
$('.task' + taskid).next('span').removeClass('text-success').addClass('text-danger'); $('.task' + taskid).next('span').removeClass('text-success').addClass('text-danger');
$('.task' + taskid).removeClass('icon-check-square-o icon-square-o text-success').addClass('icon-times text-danger'); $('.task' + taskid).removeClass('icon-check-square icon-regular icon-square text-success').addClass('icon-times text-danger');
} }
else { else {
$('.task' + taskid).next('span').removeClass('text-success text-danger'); $('.task' + taskid).next('span').removeClass('text-success text-danger');
$('.task' + taskid).removeClass('icon-check-square-o icon-times text-success text-danger').addClass('icon-square-o text-midtone'); $('.task' + taskid).removeClass('icon-check-square icon-times text-success text-danger').addClass('icon-regular icon-square text-midtone');
} }
} }
......
...@@ -1105,7 +1105,7 @@ EOF; ...@@ -1105,7 +1105,7 @@ EOF;
if (row._rownumber > 1) { if (row._rownumber > 1) {
var up = var up =
jQuery('<a>', {'href': '', 'class': 'moveup'}).append( jQuery('<a>', {'href': '', 'class': 'moveup'}).append(
jQuery('<span>',{'class': 'icon icon-long-arrow-up','role':'presentation'}), jQuery('<span>',{'class': 'icon icon-long-arrow-alt-up','role':'presentation'}),
jQuery('<span>',{'class': 'sr-only', 'text': {$upjsstr}}) jQuery('<span>',{'class': 'sr-only', 'text': {$upjsstr}})
); );
up.on('click', function (e) { up.on('click', function (e) {
...@@ -1117,7 +1117,7 @@ EOF; ...@@ -1117,7 +1117,7 @@ EOF;
if (!row._last) { if (!row._last) {
var down = var down =
jQuery('<a>', {'href': '', 'class':'movedown'}).append( jQuery('<a>', {'href': '', 'class':'movedown'}).append(
jQuery('<span>',{'class': 'icon icon-long-arrow-down','role':'presentation'}), jQuery('<span>',{'class': 'icon icon-long-arrow-alt-down','role':'presentation'}),
jQuery('<span>',{'class': 'sr-only', 'text': {$downjsstr}}) jQuery('<span>',{'class': 'sr-only', 'text': {$downjsstr}})
); );
down.on('click', function (e) { down.on('click', function (e) {
......
...@@ -1057,7 +1057,7 @@ class BlockInstance { ...@@ -1057,7 +1057,7 @@ class BlockInstance {
'column' => $this->get('column') - 1, 'column' => $this->get('column') - 1,
'order' => $this->get('order'), 'order' => $this->get('order'),
'title' => $title == '' ? get_string('movethisblockleft', 'view') : get_string('moveblockleft', 'view', "'$title'"), 'title' => $title == '' ? get_string('movethisblockleft', 'view') : get_string('moveblockleft', 'view', "'$title'"),
'arrow' => "icon icon-long-arrow-left", 'arrow' => "icon icon-long-arrow-alt-left",
'dir' => 'left', 'dir' => 'left',
); );
} }
...@@ -1066,7 +1066,7 @@ class BlockInstance { ...@@ -1066,7 +1066,7 @@ class BlockInstance {
'column' => $this->get('column'), 'column' => $this->get('column'),
'order' => $this->get('order') + 1, 'order' => $this->get('order') + 1,
'title' => $title == '' ? get_string('movethisblockdown', 'view') : get_string('moveblockdown', 'view', "'$title'"), 'title' => $title == '' ? get_string('movethisblockdown', 'view') : get_string('moveblockdown', 'view', "'$title'"),
'arrow' => 'icon icon-long-arrow-down', 'arrow' => 'icon icon-long-arrow-alt-down',
'dir' => 'down', 'dir' => 'down',
); );
} }
...@@ -1075,7 +1075,7 @@ class BlockInstance { ...@@ -1075,7 +1075,7 @@ class BlockInstance {
'column' => $this->get('column'), 'column' => $this->get('column'),
'order' => $this->get('order') - 1, 'order' => $this->get('order') - 1,
'title' => $title == '' ? get_string('movethisblockup', 'view') : get_string('moveblockup', 'view', "'$title'"), 'title' => $title == '' ? get_string('movethisblockup', 'view') : get_string('moveblockup', 'view', "'$title'"),
'arrow' => 'icon icon-long-arrow-up', 'arrow' => 'icon icon-long-arrow-alt-up',
'dir' => 'up', 'dir' => 'up',
); );
} }
...@@ -1084,7 +1084,7 @@ class BlockInstance { ...@@ -1084,7 +1084,7 @@ class BlockInstance {
'column' => $this->get('column') + 1, 'column' => $this->get('column') + 1,
'order' => $this->get('order'), 'order' => $this->get('order'),
'title' => $title == '' ? get_string('movethisblockright', 'view') : get_string('moveblockright', 'view', "'$title'"), 'title' => $title == '' ? get_string('movethisblockright', 'view') : get_string('moveblockright', 'view', "'$title'"),
'arrow' => 'icon icon-long-arrow-right', 'arrow' => 'icon icon-long-arrow-alt-right',
'dir' => 'right', 'dir' => 'right',
); );
} }
......
...@@ -556,7 +556,7 @@ function buildContextualHelpBox(content) { ...@@ -556,7 +556,7 @@ function buildContextualHelpBox(content) {
contextualHelpContainer.html( contextualHelpContainer.html(
'<div class="float-right pts">' + '<div class="float-right pts">' +
'<a href="" class="help-dismiss" onclick="return false;">' + '<a href="" class="help-dismiss" onclick="return false;">' +
'<span class="icon icon-remove"></span>' + '<span class="icon icon-times"></span>' +
'<span class="sr-only">' + get_string('closehelp') + '</span>' + '<span class="sr-only">' + get_string('closehelp') + '</span>' +
'</a>' + '</a>' +
'</div>' + '</div>' +
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h3>Show controls to add and remove columns when editing a page</h3> <h3>Show controls to add and remove columns when editing a page</h3>
<p>You can choose to display a row with the buttons <p>You can choose to display a row with the buttons
<span class="btn btn-primary btn-sm text-left" title="Add column"> <span class="btn btn-primary btn-sm text-left" title="Add column">
<span class="mrs icon-long-arrow-down icon-rotate-45 icon icon-sm" role="presentation"></span> <span class="mrs icon-long-arrow-alt-down icon-rotate-45 icon icon-sm" role="presentation"></span>
<span class="icon-plus icon icon-sm" role="presentation"></span> <span class="icon-plus icon icon-sm" role="presentation"></span>
</span> and </span> and
<span title="Remove this column" class="text-center btn btn-secondary btn-sm"> <span title="Remove this column" class="text-center btn btn-secondary btn-sm">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h3>Show controls to add and remove columns when editing a page</h3> <h3>Show controls to add and remove columns when editing a page</h3>
<p>You can choose to display a row with the buttons <p>You can choose to display a row with the buttons
<span class="btn btn-primary btn-sm text-left" title="Add column"> <span class="btn btn-primary btn-sm text-left" title="Add column">
<span class="mrs icon-long-arrow-down icon-rotate-45 icon icon-sm" role="presentation"></span> <span class="mrs icon-long-arrow-alt-down icon-rotate-45 icon icon-sm" role="presentation"></span>
<span class="icon-plus icon icon-sm" role="presentation"></span> <span class="icon-plus icon icon-sm" role="presentation"></span>
</span> and </span> and
<span title="Remove this column" class="text-center btn btn-secondary btn-sm"> <span title="Remove this column" class="text-center btn btn-secondary btn-sm">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h3>Show controls to add and remove columns when editing a page</h3> <h3>Show controls to add and remove columns when editing a page</h3>
<p>The users can choose to display a row with the buttons <p>The users can choose to display a row with the buttons
<span class="btn btn-primary btn-sm text-left" title="Add column"> <span class="btn btn-primary btn-sm text-left" title="Add column">
<span class="mrs icon-long-arrow-down icon-rotate-45 icon icon-sm" role="presentation"></span> <span class="mrs icon-long-arrow-alt-down icon-rotate-45 icon icon-sm" role="presentation"></span>
<span class="icon-plus icon icon-sm" role="presentation"></span> <span class="icon-plus icon icon-sm" role="presentation"></span>
</span> and </span> and
<span title="Remove this column" class="text-center btn btn-secondary btn-sm"> <span title="Remove this column" class="text-center btn btn-secondary btn-sm">
......
...@@ -93,7 +93,7 @@ function pieform_element_calendar(Pieform $form, $element) { ...@@ -93,7 +93,7 @@ function pieform_element_calendar(Pieform $form, $element) {
tooltips: ' . $tooltips . ', tooltips: ' . $tooltips . ',
icons: { icons: {
time: "icon icon-regular icon-clock", time: "icon icon-regular icon-clock",
date: "icon icon-calendar", date: "icon icon-regular icon-calendar-alt",
up: "icon icon-arrow-up", up: "icon icon-arrow-up",
down: "icon icon-arrow-down", down: "icon icon-arrow-down",
previous: "icon icon-chevron-left", previous: "icon icon-chevron-left",
......
...@@ -575,7 +575,7 @@ class Framework { ...@@ -575,7 +575,7 @@ class Framework {
$states = array( $states = array(
'begun' => array( 'begun' => array(
'state' => (int) $state === self::EVIDENCE_BEGUN ? 1 : 0, 'state' => (int) $state === self::EVIDENCE_BEGUN ? 1 : 0,
'classes' => 'icon icon-circle-o begun', 'classes' => 'icon icon-regular icon-circle begun',
), ),
'incomplete' => array( 'incomplete' => array(
'state' => (int) $state === self::EVIDENCE_INCOMPLETE ? 1 : 0, 'state' => (int) $state === self::EVIDENCE_INCOMPLETE ? 1 : 0,
......
...@@ -76,7 +76,7 @@ if ($action == 'update') { ...@@ -76,7 +76,7 @@ if ($action == 'update') {
$message = get_string('matrixpointinserted', 'module.framework'); $message = get_string('matrixpointinserted', 'module.framework');
} }
$class = 'icon icon-circle-o begun'; $class = 'icon icon-regular icon-circle begun';
$choices = Framework::get_evidence_statuses($framework); $choices = Framework::get_evidence_statuses($framework);
$data = (object) array('id' => $id, $data = (object) array('id' => $id,
'class' => $class, 'class' => $class,
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
{if $USER->is_logged_in()} {if $USER->is_logged_in()}
<div id="hideinfo" class="nojs-hidden-block text-right hide-info"> <div id="hideinfo" class="nojs-hidden-block text-right hide-info">
<a href="#" title="{str tag=Hide2}" class="remove-widgets"> <a href="#" title="{str tag=Hide2}" class="remove-widgets">
<span class="icon icon-remove" role="presentation" aria-hidden="true"></span> <span class="icon icon-times" role="presentation" aria-hidden="true"></span>
<span class="">{str tag=Hide2}</span> <span class="">{str tag=Hide2}</span>
</a> </a>
</div> </div>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</a> </a>
</h4> </h4>
<div class="postdetails metadata"> <div class="postdetails metadata">
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
{$post->postedbyon} {$post->postedbyon}
</div> </div>
<div class="tags metadata"> <div class="tags metadata">
......
...@@ -42,14 +42,14 @@ ...@@ -42,14 +42,14 @@
</div> </div>
</div> </div>
<div id="postdetails_{$post->id}" class="postdetails postdate"> <div id="postdetails_{$post->id}" class="postdetails postdate">
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
<strong> <strong>
{str tag=postedon section=artefact.blog}: {str tag=postedon section=artefact.blog}:
</strong> </strong>
{$post->ctime} {$post->ctime}
{if $post->lastupdated} {if $post->lastupdated}
<br> <br>
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
<strong> <strong>
{str tag=updatedon section=artefact.blog}: {str tag=updatedon section=artefact.blog}:
</strong> </strong>
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
{/if} {/if}
<div class="postdetails metadata"> <div class="postdetails metadata">
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
{$postedbyon} {$postedbyon}
{if $updatedon} {if $updatedon}
<br> <br>
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
{$updatedon} {$updatedon}
{/if} {/if}
</div> </div>
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&view={$options.viewid}">{$post->title}</a> <a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&view={$options.viewid}">{$post->title}</a>
</h4> </h4>
<div class="postdetails metadata"> <div class="postdetails metadata">
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
{$post->postedby} {$post->postedby}
{if $post->lastupdated} {if $post->lastupdated}
<br> <br>
<span class="icon icon-calendar left" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-calendar-alt left" role="presentation" aria-hidden="true"></span>
{str tag=updatedon section=artefact.blog} {$post->lastupdated} {str tag=updatedon section=artefact.blog} {$post->lastupdated}
{/if} {/if}
</div> </div>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
{if $file->isparent} {if $file->isparent}
{if $file->artefacttype == 'folder'} {if $file->artefacttype == 'folder'}
<a href="{$querybase|safe}folder={$file->id}{if $owner}&owner={$owner}{if $ownerid}&ownerid={$ownerid}{/if}{/if}" id="changefolder-icon:{$file->id}" class="changefolder"> <a href="{$querybase|safe}folder={$file->id}{if $owner}&owner={$owner}{if $ownerid}&ownerid={$ownerid}{/if}{/if}" id="changefolder-icon:{$file->id}" class="changefolder">
<span class="icon-level-up icon icon-lg text-default" role="presentation" aria-hidden="true"> <span class="icon-level-up-alt icon icon-lg text-default" role="presentation" aria-hidden="true">
</span> </span>
<span class="sr-only"> <span class="sr-only">
{str tag=folder section=artefact.file}:{$displaytitle} {str tag=folder section=artefact.file}:{$displaytitle}
......
...@@ -50,10 +50,10 @@ ...@@ -50,10 +50,10 @@
<span class="complete-task"> <span class="complete-task">
<div class="collapse-inline"> <div class="collapse-inline">
{if $task->completed == 1} {if $task->completed == 1}
<span class="icon icon-check-square-o icon-lg text-success left task{$task->id}{if $editing || $canedit} plan-task-icon{/if}" role="presentation" aria-hidden="true" data-task="{$task->id}"></span> <span class="icon icon-regular icon-check-square icon-lg text-success left task{$task->id}{if $editing || $canedit} plan-task-icon{/if}" role="presentation" aria-hidden="true" data-task="{$task->id}"></span>
<span class="sr-only">{str tag=completed section=artefact.plans}</span> <span class="sr-only">{str tag=completed section=artefact.plans}</span>
{else} {else}
<span class="icon-square-o icon icon-lg text-midtone left task{$task->id}{if $editing || $canedit} plan-task-icon{/if}" role="presentation" aria-hidden="true" data-task="{$task->id}"></span> <span class="icon-regular icon-square icon icon-lg text-midtone left task{$task->id}{if $editing || $canedit} plan-task-icon{/if}" role="presentation" aria-hidden="true" data-task="{$task->id}"></span>
<span class="sr-only">{str tag=incomplete section=artefact.plans}</span> <span class="sr-only">{str tag=incomplete section=artefact.plans}</span>
{/if} {/if}
<span class="text-default">{$task->title}</span> - <span class="text-default">{$task->title}</span> -
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<tr class="task complete"> <tr class="task complete">
{if $task->completed == 1} {if $task->completed == 1}
<td class="completed task-status"> <td class="completed task-status">
<span class="icon icon-check-square-o icon-lg text-success" role="presentation" aria-hidden="true"></span> <span class="icon icon-regular icon-check-square icon-lg text-success" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=completed section=artefact.plans}</span> <span class="sr-only">{str tag=completed section=artefact.plans}</span>
</td> </td>
{else} {else}
......
...@@ -39,17 +39,17 @@ ...@@ -39,17 +39,17 @@
function buttonOptions (id, length, i) { function buttonOptions (id, length, i) {
// Make the buttons a row should have // Make the buttons a row should have
var buttons = ''; var buttons = '';
if (length > 1) { if (length > 1) {
if (i + 1 != length) { if (i + 1 != length) {
buttons += '<a class="btn btn-link text-midtone" href="" onclick="move_down(' + id + '); return false;"><span class="icon icon-long-arrow-down" role="presentation" aria-hidden="true"></span><span class="sr-only">' + get_string('moveitemdown') + '</span></a>' buttons += '<a class="btn btn-link text-midtone" href="" onclick="move_down(' + id + '); return false;"><span class="icon icon-long-arrow-alt-down" role="presentation" aria-hidden="true"></span><span class="sr-only">' + get_string('moveitemdown') + '</span></a>'
} }
else { else {
buttons += '<span class="emptybtnspace"></span>'; buttons += '<span class="emptybtnspace"></span>';
} }
if (i != 0) { if (i != 0) {
buttons += '<a class="btn btn-link text-midtone" href="" onclick="move_up(' + id + '); return false;"><span class="icon icon-long-arrow-up" role="presentation" aria-hidden="true"></span><span class="sr-only">' + get_string('moveitemup') + '</span></a>'; buttons += '<a class="btn btn-link text-midtone" href="" onclick="move_up(' + id + '); return false;"><span class="icon icon-long-arrow-alt-up" role="presentation" aria-hidden="true"></span><span class="sr-only">' + get_string('moveitemup') + '</span></a>';
} }
else { else {
...@@ -131,7 +131,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div. ...@@ -131,7 +131,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
<span class="authIcons" id="arrows{{$instance->id}}"> <span class="authIcons" id="arrows{{$instance->id}}">
{{if $instance->index + 1 < $instance->total}} {{if $instance->index + 1 < $instance->total}}
<a class="btn btn-link text-midtone" href="" onclick="move_down({{$instance->id}}); return false;"> <a class="btn btn-link text-midtone" href="" onclick="move_down({{$instance->id}}); return false;">
<span class="icon icon-long-arrow-down" role="presentation" aria-hidden="true"></span> <span class="icon icon-long-arrow-alt-down" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{{str tag=moveitemdown}}</span> <span class="sr-only">{{str tag=moveitemdown}}</span>
</a> </a>
{{else}} {{else}}
...@@ -139,7 +139,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div. ...@@ -139,7 +139,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
{{/if}} {{/if}}
{{if $instance->index != 0 }} {{if $instance->index != 0 }}
<a class="btn btn-link text-midtone" href="" onclick="move_up({{$instance->id}}); return false;"> <a class="btn btn-link text-midtone" href="" onclick="move_up({{$instance->id}}); return false;">
<span class="icon icon-long-arrow-up" role="presentation" aria-hidden="true"></span> <span class="icon icon-long-arrow-alt-up" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{{str tag=moveitemup}}</span> <span class="sr-only">{{str tag=moveitemup}}</span>
</a> </a>
{{else}} {{else}}
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{str tag="approve" section=group} {str tag="approve" section=group}
</a> </a>
<a href="{$WWWROOT}interaction/forum/rejectpost.php?id={$post->id}"> <a href="{$WWWROOT}interaction/forum/rejectpost.php?id={$post->id}">
<span class="icon icon-remove text-danger" role="presentation" aria-hidden="true"></span> <span class="icon icon-times text-danger" role="presentation" aria-hidden="true"></span>
{str tag="reject" section=group} {str tag="reject" section=group}
</a> </a>
</div> </div>
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
} }
.single-arrow-down { .single-arrow-down {
padding-left: 32px; padding-left: 32px;
.icon-long-arrow-down { .icon-long-arrow-alt-down {
padding-left: 3px !important; padding-left: 3px !important;
} }
} }
......
...@@ -4,21 +4,21 @@ ...@@ -4,21 +4,21 @@
{if $views.count > 1} {if $views.count > 1}
{if $view->displayorder == $views.min} {if $view->displayorder == $views.min}
<a class="btn btn-sm text-default order-sort-control single-arrow-down" href="{$displayurl}&amp;view={$view->view}&amp;direction=down"> <a class="btn btn-sm text-default order-sort-control single-arrow-down" href="{$displayurl}&amp;view={$view->view}&amp;direction=down">
<span class="icon icon-lg icon-long-arrow-down text-midtone" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-down text-midtone" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemdown}</span> <span class="sr-only">{str tag=moveitemdown}</span>
</a> </a>
{elseif $view->displayorder == $views.max} {elseif $view->displayorder == $views.max}
<a class="btn btn-sm text-default order-sort-control single-arrow-up text-midtone" href="{$displayurl}&amp;view={$view->view}&amp;direction=up"> <a class="btn btn-sm text-default order-sort-control single-arrow-up text-midtone" href="{$displayurl}&amp;view={$view->view}&amp;direction=up">
<span class="icon icon-lg icon-long-arrow-up left" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-up left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemup}</span> <span class="sr-only">{str tag=moveitemup}</span>
</a> </a>
{else} {else}
<a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=up"> <a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=up">
<span class="icon icon-lg icon-long-arrow-up left text-midtone" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-up left text-midtone" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemup}</span> <span class="sr-only">{str tag=moveitemup}</span>
</a> </a>
<a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=down"> <a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=down">
<span class="icon icon-lg icon-long-arrow-down text-midtone" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-down text-midtone" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemdown}</span> <span class="sr-only">{str tag=moveitemdown}</span>
</a> </a>
{/if} {/if}
......
...@@ -37,21 +37,21 @@ ...@@ -37,21 +37,21 @@
{if $views.count > 1} {if $views.count > 1}
{if $view->displayorder == $views.min} {if $view->displayorder == $views.min}
<a class="btn btn-sm text-default order-sort-control single-arrow-down text-midtone" href="{$displayurl}&amp;view={$view->view}&amp;direction=down"> <a class="btn btn-sm text-default order-sort-control single-arrow-down text-midtone" href="{$displayurl}&amp;view={$view->view}&amp;direction=down">
<span class="icon icon-lg icon-long-arrow-down" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-down" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemdown}</span> <span class="sr-only">{str tag=moveitemdown}</span>
</a> </a>
{elseif $view->displayorder == $views.max} {elseif $view->displayorder == $views.max}
<a class="btn btn-sm text-default order-sort-control single-arrow-up text-midtone" href="{$displayurl}&amp;view={$view->view}&amp;direction=up"> <a class="btn btn-sm text-default order-sort-control single-arrow-up text-midtone" href="{$displayurl}&amp;view={$view->view}&amp;direction=up">
<span class="icon icon-lg icon-long-arrow-up left" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-up left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemup}</span> <span class="sr-only">{str tag=moveitemup}</span>
</a> </a>
{else} {else}
<a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=up"> <a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=up">
<span class="icon icon-lg icon-long-arrow-up left text-midtone" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-up left text-midtone" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemup}</span> <span class="sr-only">{str tag=moveitemup}</span>
</a> </a>
<a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=down"> <a class="btn btn-sm text-default order-sort-control" href="{$displayurl}&amp;view={$view->view}&amp;direction=down">
<span class="icon icon-lg icon-long-arrow-down text-midtone" role="presentation" aria-hidden="true"></span> <span class="icon icon-lg icon-long-arrow-alt-down text-midtone" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=moveitemdown}</span> <span class="sr-only">{str tag=moveitemdown}</span>
</a> </a>
{/if} {/if}
......
...@@ -58,13 +58,13 @@ ...@@ -58,13 +58,13 @@
if (i + 1 != displayArray.length) { if (i + 1 != displayArray.length) {
jQuery(displayArray[i]).find('span.authIcons').first() jQuery(displayArray[i]).find('span.authIcons').first()
.append('<a class="btn btn-link text-midtone" href="" onclick="move_down('+outputArray[i]+'); ' + .append('<a class="btn btn-link text-midtone" href="" onclick="move_down('+outputArray[i]+'); ' +
'return false;"><span class="icon icon-long-arrow-down" role="presentation" aria-hidden="true">' + 'return false;"><span class="icon icon-long-arrow-alt-down" role="presentation" aria-hidden="true">' +
'</span><span class="sr-only">'+get_string('moveitemdown')+'</span></a>'+"\n"); '</span><span class="sr-only">'+get_string('moveitemdown')+'</span></a>'+"\n");
} }
if(i != 0) { if(i != 0) {
jQuery(displayArray[i]).find('span.authIcons').first() jQuery(displayArray[i]).find('span.authIcons').first()
.append('<a class="btn btn-link text-midtone" href="" onclick="move_up('+outputArray[i]+'); ' + .append('<a class="btn btn-link text-midtone" href="" onclick="move_up('+outputArray[i]+'); ' +
'return false;"><span class="icon icon-long-arrow-up" role="presentation" aria-hidden="true">' + 'return false;"><span class="icon icon-long-arrow-alt-up" role="presentation" aria-hidden="true">' +
'</span><span class="sr-only">'+get_string('moveitemup')+'</span></a>'+"\n"); '</span><span class="sr-only">'+get_string('moveitemup')+'</span></a>'+"\n");
} }
} }
...@@ -199,13 +199,13 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div. ...@@ -199,13 +199,13 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
<span class="authIcons" id="arrows{{$instance->id}}"> <span class="authIcons" id="arrows{{$instance->id}}">
{{if $instance->index + 1 < $instance->total}} {{if $instance->index + 1 < $instance->total}}
<a class="btn btn-link text-midtone" href="" onclick="move_down({{$instance->id}}); return false;"> <a class="btn btn-link text-midtone" href="" onclick="move_down({{$instance->id}}); return false;">
<span class="icon icon-long-arrow-down" role="presentation" aria-hidden="true"></span> <span class="icon icon-long-arrow-alt-down" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{{str tag=moveitemdown}}</span> <span class="sr-only">{{str tag=moveitemdown}}</span>
</a> </a>
{{/if}} {{/if}}
{{if $instance->index != 0 }} {{if $instance->index != 0 }}
<a class="btn btn-link text-midtone" href="" onclick="move_up({{$instance->id}}); return false;"> <a class="btn btn-link text-midtone" href="" onclick="move_up({{$instance->id}}); return false;">
<span class="icon icon-long-arrow-up" role="presentation" aria-hidden="true"></span> <span class="icon icon-long-arrow-alt-up" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{{str tag=moveitemup}}</span> <span class="sr-only">{{str tag=moveitemup}}</span>
</a> </a>
{{/if}} {{/if}}
......
...@@ -153,11 +153,11 @@ ...@@ -153,11 +153,11 @@
<td class="lrbuttons form-group last select-col pt0"> <td class="lrbuttons form-group last select-col pt0">
<div class="btn-group btn-group-vertical"> <div class="btn-group btn-group-vertical">
<button type="button" name="rightarrow" onClick="{{$name}}_moveopts('potential','members')" class="rightarrow btn btn-primary btn-lg"> <button type="button" name="rightarrow" onClick="{{$name}}_moveopts('potential','members')" class="rightarrow btn btn-primary btn-lg">
<span class="icon icon-long-arrow-right" role="presentation" aria-hidden="true"></span> <span class="icon icon-long-arrow-alt-right" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{{$rightarrowlabel}}</span> <span class="sr-only">{{$rightarrowlabel}}</span>
</button> </button>
<button type="button" name="leftarrow" onClick="{{$name}}_moveopts('members','potential')" class="leftarrow btn btn-primary btn-lg"> <button type="button" name="leftarrow" onClick="{{$name}}_moveopts('members','potential')" class="leftarrow btn btn-primary btn-lg">
<span class="icon icon-long-arrow-left" role="presentation" aria-hidden="true"></span> <span class="icon icon-long-arrow-alt-left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{{$leftarrowlabel}}</span> <span class="sr-only">{{$leftarrowlabel}}</span>
</button> </button>
</div> </div>
......
...@@ -176,7 +176,7 @@ jQuery(function($) { ...@@ -176,7 +176,7 @@ jQuery(function($) {
tooltips: {{$datepickertooltips|safe}}, tooltips: {{$datepickertooltips|safe}},
icons: { icons: {
time: "icon icon-regular icon-clock", time: "icon icon-regular icon-clock",
date: "icon icon-calendar", date: "icon icon-regular icon-calendar-alt",
up: "icon icon-arrow-up",