#209 Some more UI changes. Still need to setup modals.
This commit is contained in:
parent
84e2be3a8c
commit
e64eebad81
@ -89,7 +89,18 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
<form class="form-horizontal" method="post" action="manage_statuses.php" role="form">
|
<form class="form-horizontal" method="post" action="manage_statuses.php" role="form">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h4><?php echo $hesklang['statuses']; ?></h4>
|
<h4>
|
||||||
|
<?php echo $hesklang['statuses']; ?>
|
||||||
|
<span class="nu-floatRight" style="margin-top: -7px">
|
||||||
|
<a href="#" class="btn btn-success">
|
||||||
|
<i class="fa fa-plus-circle"></i>
|
||||||
|
<?php
|
||||||
|
echo $hesklang['new_status'];
|
||||||
|
buildCreateStatusModal();
|
||||||
|
?>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
@ -132,10 +143,12 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
<td>
|
<td>
|
||||||
<!-- TODO Localize this -->
|
<!-- TODO Localize this -->
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<i class="fa fa-pencil icon-link" style="color: orange" data-toggle="tooltip" title="Edit"></i></a>
|
<i class="fa fa-pencil icon-link" style="color: orange"
|
||||||
|
data-toggle="tooltip" title="<?php echo $hesklang['edit']; ?>"></i></a>
|
||||||
<?php echoArrows($j, $numberOfStatuses); ?>
|
<?php echoArrows($j, $numberOfStatuses); ?>
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<i class="fa fa-times icon-link" style="color: red" data-toggle="tooltip" title="Delete"></i></a>
|
<i class="fa fa-times icon-link" style="color: red"
|
||||||
|
data-toggle="tooltip" title="<?php echo $hesklang['delete']; ?>"></i></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php $j++; endwhile; ?>
|
<?php $j++; endwhile; ?>
|
||||||
@ -284,22 +297,28 @@ require_once(HESK_PATH . 'inc/footer.inc.php');
|
|||||||
exit();
|
exit();
|
||||||
|
|
||||||
function echoArrows($index, $numberOfStatuses) {
|
function echoArrows($index, $numberOfStatuses) {
|
||||||
|
global $hesklang;
|
||||||
|
|
||||||
if ($index !== 1) {
|
if ($index !== 1) {
|
||||||
// Display move up
|
// Display move up
|
||||||
echo '<a href="#"><i class="fa fa-arrow-up icon-link" style="color: green" data-toggle="tooltip" title="Move Up"></i></a> ';
|
echo '<a href="#"><i class="fa fa-arrow-up icon-link" style="color: green" data-toggle="tooltip" title="'.htmlspecialchars($hesklang['move_up']).'"></i></a> ';
|
||||||
} else {
|
} else {
|
||||||
echo '<img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;"> ';
|
echo '<img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;"> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($index !== $numberOfStatuses) {
|
if ($index !== $numberOfStatuses) {
|
||||||
// Display move down
|
// Display move down
|
||||||
echo '<a href="#"><i class="fa fa-arrow-down icon-link" style="color: green" data-toggle="tooltip" title="Move Down"></i></a>';
|
echo '<a href="#"><i class="fa fa-arrow-down icon-link" style="color: green" data-toggle="tooltip" title="'.htmlspecialchars($hesklang['move_dn']).'"></i></a>';
|
||||||
} else {
|
} else {
|
||||||
echo '<img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;">';
|
echo '<img src="../img/blank.gif" width="16" height="16" alt="" style="padding:3px;border:none;">';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function buildCreateStatusModal() {
|
||||||
|
echo '';
|
||||||
|
}
|
||||||
|
|
||||||
function save() {
|
function save() {
|
||||||
global $hesklang, $hesk_settings;
|
global $hesklang, $hesk_settings;
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ $hesklang['create_ticket'] = 'Create ticket';
|
|||||||
$hesklang['view_ticket_form'] = 'View ticket form';
|
$hesklang['view_ticket_form'] = 'View ticket form';
|
||||||
$hesklang['knowledgebase'] = 'Knowledgebase section';
|
$hesklang['knowledgebase'] = 'Knowledgebase section';
|
||||||
$hesklang['click_to_edit_name'] = 'Click to edit name';
|
$hesklang['click_to_edit_name'] = 'Click to edit name';
|
||||||
|
$hesklang['new_status'] = 'New Status';
|
||||||
|
|
||||||
// ADDED OR MODIFIED IN Mods for HESK 2.3.0
|
// ADDED OR MODIFIED IN Mods for HESK 2.3.0
|
||||||
$hesklang['sm_icon'] = 'Icon';
|
$hesklang['sm_icon'] = 'Icon';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user