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("
");
$smarty = smarty();
setpageicon($smarty, 'icon-legal');
setpageicon($smarty, 'icon-gavel');
$smarty->assign('licenses', $licenses);
$smarty->assign('extralicenses', $extralicenses);
......
......@@ -626,7 +626,7 @@ var FileBrowser = (function($) {
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) {
if (state == 1) {
$('.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) {
$('.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 {
$('.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;
if (row._rownumber > 1) {
var up =
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}})
);
up.on('click', function (e) {
......@@ -1117,7 +1117,7 @@ EOF;
if (!row._last) {
var down =
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}})
);
down.on('click', function (e) {
......
......@@ -1057,7 +1057,7 @@ class BlockInstance {
'column' => $this->get('column') - 1,
'order' => $this->get('order'),
'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',
);
}
......@@ -1066,7 +1066,7 @@ class BlockInstance {
'column' => $this->get('column'),
'order' => $this->get('order') + 1,
'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',
);
}
......@@ -1075,7 +1075,7 @@ class BlockInstance {
'column' => $this->get('column'),
'order' => $this->get('order') - 1,
'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',
);
}
......@@ -1084,7 +1084,7 @@ class BlockInstance {
'column' => $this->get('column') + 1,
'order' => $this->get('order'),
'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',
);
}
......
......@@ -556,7 +556,7 @@ function buildContextualHelpBox(content) {
contextualHelpContainer.html(
'<div class="float-right pts">' +
'<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>' +
'</a>' +
'</div>' +
......
......@@ -3,7 +3,7 @@
<h3>Show controls to add and remove columns when editing a page</h3>
<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="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> and
<span title="Remove this column" class="text-center btn btn-secondary btn-sm">
......
......@@ -3,7 +3,7 @@
<h3>Show controls to add and remove columns when editing a page</h3>
<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="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> and
<span title="Remove this column" class="text-center btn btn-secondary btn-sm">
......
......@@ -3,7 +3,7 @@
<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
<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> and
<span title="Remove this column" class="text-center btn btn-secondary btn-sm">
......
......@@ -93,7 +93,7 @@ function pieform_element_calendar(Pieform $form, $element) {
tooltips: ' . $tooltips . ',
icons: {
time: "icon icon-regular icon-clock",
date: "icon icon-calendar",
date: "icon icon-regular icon-calendar-alt",
up: "icon icon-arrow-up",
down: "icon icon-arrow-down",
previous: "icon icon-chevron-left",
......
......@@ -575,7 +575,7 @@ class Framework {
$states = array(
'begun' => array(
'state' => (int) $state === self::EVIDENCE_BEGUN ? 1 : 0,
'classes' => 'icon icon-circle-o begun',
'classes' => 'icon icon-regular icon-circle begun',
),
'incomplete' => array(
'state' => (int) $state === self::EVIDENCE_INCOMPLETE ? 1 : 0,
......
......@@ -76,7 +76,7 @@ if ($action == 'update') {
$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);
$data = (object) array('id' => $id,
'class' => $class,
......
......@@ -87,7 +87,7 @@
{if $USER->is_logged_in()}
<div id="hideinfo" class="nojs-hidden-block text-right hide-info">
<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>
</a>
</div>
......
......@@ -45,7 +45,7 @@
</a>
</h4>
<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}
</div>
<div class="tags metadata">
......
......@@ -42,14 +42,14 @@
</div>
</div>
<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>
{str tag=postedon section=artefact.blog}:
</strong>
{$post->ctime}
{if $post->lastupdated}
<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>
{str tag=updatedon section=artefact.blog}:
</strong>
......
......@@ -11,11 +11,11 @@
{/if}
<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}
{if $updatedon}
<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}
{/if}
</div>
......
......@@ -5,11 +5,11 @@
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&view={$options.viewid}">{$post->title}</a>
</h4>
<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}
{if $post->lastupdated}
<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}
{/if}
</div>
......
......@@ -39,7 +39,7 @@
{if $file->isparent}
{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">
<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 class="sr-only">
{str tag=folder section=artefact.file}:{$displaytitle}
......
......@@ -50,10 +50,10 @@
<span class="complete-task">
<div class="collapse-inline">
{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>
{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>
{/if}
<span class="text-default">{$task->title}</span> -
......
......@@ -17,7 +17,7 @@
<tr class="task complete">
{if $task->completed == 1}
<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>
</td>
{else}
......
......@@ -42,14 +42,14 @@
var buttons = '';
if (length > 1) {
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 {
buttons += '<span class="emptybtnspace"></span>';
}
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 {
......@@ -131,7 +131,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
<span class="authIcons" id="arrows{{$instance->id}}">
{{if $instance->index + 1 < $instance->total}}
<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>
</a>
{{else}}
......@@ -139,7 +139,7 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
{{/if}}
{{if $instance->index != 0 }}
<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>
</a>
{{else}}
......
......@@ -22,7 +22,7 @@
{str tag="approve" section=group}
</a>
<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}
</a>
</div>
......
......@@ -40,7 +40,7 @@
}
.single-arrow-down {
padding-left: 32px;
.icon-long-arrow-down {
.icon-long-arrow-alt-down {
padding-left: 3px !important;
}
}
......
......@@ -4,21 +4,21 @@
{if $views.count > 1}
{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">
<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>
</a>
{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">
<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>
</a>
{else}
<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>
</a>
<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>
</a>
{/if}
......
......@@ -37,21 +37,21 @@
{if $views.count > 1}
{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">
<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>
</a>
{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">
<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>
</a>
{else}
<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>
</a>
<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>
</a>
{/if}
......
......@@ -58,13 +58,13 @@
if (i + 1 != displayArray.length) {
jQuery(displayArray[i]).find('span.authIcons').first()
.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");
}
if(i != 0) {
jQuery(displayArray[i]).find('span.authIcons').first()
.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");
}
}
......@@ -199,13 +199,13 @@ IMPORTANT: do not introduce any new whitespace into the instanceList div.
<span class="authIcons" id="arrows{{$instance->id}}">
{{if $instance->index + 1 < $instance->total}}
<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>
</a>
{{/if}}
{{if $instance->index != 0 }}
<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>
</a>
{{/if}}
......
......@@ -153,11 +153,11 @@
<td class="lrbuttons form-group last select-col pt0">
<div class="btn-group btn-group-vertical">
<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>
</button>
<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>
</button>
</div>
......
......@@ -176,7 +176,7 @@ jQuery(function($) {
tooltips: {{$datepickertooltips|safe}},
icons: {
time: "icon icon-regular icon-clock",
date: "icon icon-calendar",
date: "icon icon-regular icon-calendar-alt",
up: "icon icon-arrow-up",
down: "icon icon-arrow-down",
previous: "icon icon-chevron-left",
......
......@@ -3,7 +3,7 @@
<div class="groupuserstatus btn-top-right btn-group btn-group-top">
{if $group->canleave}
<a href ="{$WWWROOT}group/leave.php?id={$group->id}" class="btn btn-secondary">
<span class="icon icon-long-arrow-right icon-lg text-danger left" role="presentation" aria-hidden="true"></span>
<span class="icon icon-long-arrow-alt-right icon-lg text-danger left" role="presentation" aria-hidden="true"></span>
<span class="btn-title">{str tag="leavegroup" section="group"}</span>
</a>
{/if}
......
......@@ -20,7 +20,7 @@
{if $editwindow}
<p>
<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>
<span>{str tag=editable section=group}:</span>
{$editwindow}
</p>
......
......@@ -9,7 +9,7 @@
{if $mnethost}
<a href="{$mnethost.url}" class="btn btn-secondary" title="{str tag=backto arg1=$mnethost.name}">
<span class="icon icon-long-arrow-right icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="icon icon-long-arrow-alt-right icon-lg left" role="presentation" aria-hidden="true"></span>
<span class="sr-only">{str tag=backto arg1=$mnethost.name}</span>
</a>
{/if}
......
......@@ -80,7 +80,7 @@
{if $USER->is_logged_in()}
<div id="hideinfo" class="nojs-hidden-block text-right hide-info">
<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>
</a>
</div>
......
......@@ -74,7 +74,7 @@
{if $skin.type == 'public' && $skin.owner != $user}
{if !$skin.favorite}
<a href="{$WWWROOT}skin/favorite.php?add={$skin.id}" title="{str tag='addtofavorites' section='skin'}" class="btn btn-secondary btn-sm">
<span class="icon icon-heart-o icon-lg" role="presentation" aria-hidden="true"></span>
<span class="icon icon-regular icon-heart icon-lg" role="presentation" aria-hidden="true"></span>
<span class="sr-only">
{str tag=addtofavoritesspecific section=skin arg1=$skin.title}
</span>
......
......@@ -1386,7 +1386,7 @@ Arrow pointing right. This usually means "next step".
### Arrows
Shows that an object can be dragged and dropped.
```
<i class="icon icon-arrows" role="presentation"></i>
<i class="icon icon-arrows-alt" role="presentation"></i>
```
</section>
......@@ -1426,7 +1426,7 @@ As used on the "Journals" page.
### Calendar
Usually used on buttons to signify a pop-up date selctor.
```
<i class="icon icon-calendar" role="presentation"></i>
<i class="icon icon-regular icon-calendar-alt" role="presentation"></i>
```
</section>
......@@ -1474,7 +1474,7 @@ Used to signify SmartEvidence item has been assessed as partially complete.
### Circle open
Used to signify SmartEvidence has begun on the SmartEvidence martix table.
```
<i class="icon icon-circle-o begun" role="presentation"></i>
<i class="icon icon-regular icon-circle begun" role="presentation"></i>
```
</section>
......@@ -1674,7 +1674,7 @@ Shows that something has been favourited.
### Heart hollow
Shows something can be favourited.
```
<i class="icon icon-heart-o" role="presentation"></i>
<i class="icon icon-regular icon-heart" role="presentation"></i>
```
</section>
......@@ -1722,7 +1722,7 @@ As seen on the "Share" page in the site administration area.
### Legal
As used on the "Licences" page in the administration area.
```
<i class="icon icon-legal" role="presentation"></i>
<i class="icon icon-gavel" role="presentation"></i>
```
</section>
......@@ -1730,7 +1730,7 @@ As used on the "Licences" page in the administration area.
### Level up
Used in the file browser to signify going up to the parent folder.
```
<i class="icon icon-level-up" role="presentation"></i>
<i class="icon icon-level-up-alt" role="presentation"></i>
```
</section>
......@@ -1746,7 +1746,7 @@ Used as a security icon, for example on the "Shared by me" page.
### Long arrow down
Long arrow pointing down. It is used for sorting items vertically.
```
<i class="icon icon-long-arrow-down" role="presentation"></i>
<i class="icon icon-long-arrow-alt-down" role="presentation"></i>
```
</section>
......@@ -1754,7 +1754,7 @@ Long arrow pointing down. It is used for sorting items vertically.
### Long arrow left
Long arrow pointing left. It is used for sorting items horizontally.
```
<i class="icon icon-long-arrow-left" role="presentation"></i>
<i class="icon icon-long-arrow-alt-left" role="presentation"></i>
```
</section>
......@@ -1762,7 +1762,7 @@ Long arrow pointing left. It is used for sorting items horizontally.
### Long arrow right
Long arrow pointing right. It is used for sorting items horizontally.
```
<i class="icon icon-long-arrow-right" role="presentation"></i>
<i class="icon icon-long-arrow-alt-right" role="presentation"></i>
```
</section>
......@@ -1770,7 +1770,7 @@ Long arrow pointing right. It is used for sorting items horizontally.
### Long arrow up
Long arrow pointing up. It is used for sorting items vertically.
```
<i class="icon icon-long-arrow-up" role="presentation"></i>
<i class="icon icon-long-arrow-alt-up" role="presentation"></i>
```
</section>
......@@ -1886,14 +1886,6 @@ As seen on the button on the "Networking" page.
```
</section>
<section data-markdown data-category="icons">
### Remove
Pretty much the same as the times icon. Should use the trash icon instead.
```
<i class="icon icon-remove" role="presentation"></i>
```
</section>
<section data-markdown data-category="icons">
### Remove user
Remove users.
......@@ -1945,7 +1937,7 @@ As used on the "Cookie consent" page in the administration area.
### Sign in
Used to show the sign in button.
```
<i class="icon icon-sign-in" role="presentation"></i>
<i class="icon icon-sign-in-alt" role="presentation"></i>
```
</section>
......@@ -1969,7 +1961,7 @@ Used to signify loading. The class "icon-pulse" makes it spin.
### Square
Used as an un-checked check box, for example on an uncompleted task of a plan.
```
<i class="icon icon-square-o" role="presentation"></i>
<i class="icon icon-regular icon-square" role="presentation"></i>
```
</section>
......@@ -1977,7 +1969,7 @@ Used as an un-checked check box, for example on an uncompleted task of a plan.
### Square checked
Used as a checked check box, for example on complete tasks of a plan.
```
<i class="icon icon-check-square-o" role="presentation"></i>
<i class="icon icon-regular icon-check-square role="presentation"></i>
```
</section>
......
......@@ -62,7 +62,7 @@
{/if}
{if $user->friend}
<li class="removefriend">
<span class="icon icon-lg text-danger icon-remove left" role="presentation" aria-hidden="true"></span>
<span class="icon icon-lg text-danger icon-user-times left" role="presentation" aria-hidden="true"></span>
<a href="{$WWWROOT}user/removefriend.php?id={$user->id}&amp;returnto={$page}&amp;offset={$offset}" class="btn-del">
{str tag='removefromfriendslist' section='group'}
</a>
......
......@@ -3,7 +3,7 @@
<div class="btn-header btn-group {if $column == 1}btn-three{else}btn-two{/if}">
{if $column == 1}
<button name="action_addcolumn_row_{$row}_before_1" alt="{str tag='add' section='view'}" title="{str tag='addcolumn' section='view'}" data-action="addcolumn" class="js-add-column-left addcolumn btn btn-secondary btn-sm text-left">
<span class="icon-long-arrow-left icon-rotate-45 icon" role="presentation"></span>
<span class="icon-long-arrow-alt-left icon-rotate-45 icon" role="presentation"></span>
<span class="icon-plus icon" role="presentation"></span>
</button>
{/if}
......@@ -13,12 +13,12 @@
{if $column == $numcolumns}
<button name="action_addcolumn_row_{$row}_before_{$column+1}" alt="{str tag='add' section='view'}" title="{str tag='addcolumn' section='view'}" data-action="addcolumn" class="js-add-column-right addcolumn btn btn-secondary btn-sm text-right">
<span class="icon-plus icon" role="presentation"></span>
<span class="icon-long-arrow-right icon-rotate-45 icon" role="presentation"></span>
<span class="icon-long-arrow-alt-right icon-rotate-45 icon" role="presentation"></span>
</button>
{else}
<button name="action_addcolumn_row_{$row}_before_{$column+1}" alt="{str tag='add' section='view'}" title="{str tag='addcolumn' section='view'}" data-action="addcolumn" class="js-add-column-center addcolumn btn btn-secondary btn-sm text-right">
<span class="icon-plus icon" role="presentation"></span>
<span class="icon-long-arrow-right icon-rotate-45 icon" role="presentation"></span>
<span class="icon-long-arrow-alt-right icon-rotate-45 icon" role="presentation"></span>
</button>
{/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