Merge pull request #246 from mkoch227/dashboard-tweaks
Dashboard Tweaks
This commit is contained in:
commit
20fbf93321
@ -245,46 +245,6 @@ div.blankSpace {
|
|||||||
div.footerWithBorder {
|
div.footerWithBorder {
|
||||||
border-top: 1px solid #cfd4d6;
|
border-top: 1px solid #cfd4d6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockRow > a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block {
|
|
||||||
height: 114px;
|
|
||||||
width: 114px;
|
|
||||||
display: inline-block;
|
|
||||||
border: 1px solid #c9cfd7;
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: .83em;
|
|
||||||
margin-right: 5px;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .upper {
|
|
||||||
height:57px;
|
|
||||||
padding-top:10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .upper > img {
|
|
||||||
padding-top:5px;
|
|
||||||
padding-bottom:5px;
|
|
||||||
padding-left:41px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .lower {
|
|
||||||
height:57px;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .lower > p:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.block:hover {
|
|
||||||
background-color: #e9ecef;
|
|
||||||
}
|
|
||||||
div.rightSideDash {
|
div.rightSideDash {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
@ -402,3 +362,25 @@ button.dropdown-submit {
|
|||||||
.indent-15 {
|
.indent-15 {
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button-link {
|
||||||
|
color: #4a5571;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link .col-xs-1 {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link .panel-body:hover {
|
||||||
|
background-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
.default-row-margins {
|
||||||
|
margin: 0 -15px;
|
||||||
|
}
|
@ -244,46 +244,6 @@ div.blankSpace {
|
|||||||
div.footerWithBorder {
|
div.footerWithBorder {
|
||||||
border-top: 1px solid #cfd4d6;
|
border-top: 1px solid #cfd4d6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blockRow > a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block {
|
|
||||||
height: 114px;
|
|
||||||
width: 114px;
|
|
||||||
display: inline-block;
|
|
||||||
border: 1px solid #c9cfd7;
|
|
||||||
background-color: #fff;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: .83em;
|
|
||||||
margin-left: 5px;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .upper {
|
|
||||||
height:57px;
|
|
||||||
padding-top:10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .upper > img {
|
|
||||||
padding-top:5px;
|
|
||||||
padding-bottom:5px;
|
|
||||||
padding-right:41px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .lower {
|
|
||||||
height:57px;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block > .lower > p:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.block:hover {
|
|
||||||
background-color: #e9ecef;
|
|
||||||
}
|
|
||||||
div.rightSideDash {
|
div.rightSideDash {
|
||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
@ -371,28 +331,50 @@ button.dropdown-submit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.attachment-table > tbody > tr > td > i {
|
.attachment-table > tbody > tr > td > i {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
text-shadow: 2px 2px #ccc;
|
text-shadow: 2px 2px #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachment-table > tbody > tr > td {
|
.attachment-table > tbody > tr > td {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachment-table > tbody > tr > td > span > img {
|
.attachment-table > tbody > tr > td > span > img {
|
||||||
max-height: 80px;
|
max-height: 80px;
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plaintext-editor {
|
.plaintext-editor {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-fixed {
|
.table-fixed {
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.indent-15 {
|
.indent-15 {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link {
|
||||||
|
color: #4a5571;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link .col-xs-1 {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-link .panel-body:hover {
|
||||||
|
background-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
.default-row-margins {
|
||||||
|
margin: 0 -15px;
|
||||||
}
|
}
|
@ -287,10 +287,7 @@ function hesk_kbSearchLarge($admin = '')
|
|||||||
<button class="btn btn-default" type="submit" value="<?php echo $hesklang['search']; ?>" title="<?php echo $hesklang['search']; ?>"><?php echo $hesklang['search']; ?></button>
|
<button class="btn btn-default" type="submit" value="<?php echo $hesklang['search']; ?>" title="<?php echo $hesklang['search']; ?>"><?php echo $hesklang['search']; ?></button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<!--<span class="largebold"><?php echo $hesklang['ask']; ?></span>
|
</form>
|
||||||
<input type="text" name="search" class="searchfield" />
|
|
||||||
<input type="submit" value="<?php echo $hesklang['search']; ?>" title="<?php echo $hesklang['search']; ?>" class="searchbutton" /><br />
|
|
||||||
--></form>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
@ -325,10 +322,14 @@ function hesk_kbSearchSmall()
|
|||||||
<td class="text-right" valign="top" width="300">
|
<td class="text-right" valign="top" width="300">
|
||||||
<div style="display:inline;margin-left:auto;margin-right:auto">
|
<div style="display:inline;margin-left:auto;margin-right:auto">
|
||||||
<form action="knowledgebase.php" method="get" class="form-inline" style="display: inline; margin: 0;">
|
<form action="knowledgebase.php" method="get" class="form-inline" style="display: inline; margin: 0;">
|
||||||
<input type="text" name="search" class="form-control" />
|
<div class="input-group" style="margin: 0 15px">
|
||||||
<button class="btn btn-default" type="submit" value="<?php echo $hesklang['search_the_knowledgebase']; ?>" title="<?php echo $hesklang['search_the_knowledgebase']; ?>">
|
<input type="text" name="search" class="form-control">
|
||||||
<?php echo $hesklang['search_the_knowledgebase']; ?>
|
<span class="input-group-btn">
|
||||||
</button>
|
<button class="btn btn-default" type="submit" value="<?php echo $hesklang['search_the_knowledgebase']; ?>" title="<?php echo $hesklang['search_the_knowledgebase']; ?>">
|
||||||
|
<?php echo $hesklang['search_the_knowledgebase']; ?>
|
||||||
|
</button>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<br><br>
|
<br><br>
|
||||||
</div>
|
</div>
|
||||||
|
97
index.php
97
index.php
@ -1126,46 +1126,69 @@ function print_start()
|
|||||||
echo ' ';
|
echo ' ';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="blockRow">
|
<div class="row default-row-margins">
|
||||||
<a href="index.php?a=add">
|
<div class="col-sm-6 col-xs-12">
|
||||||
<div class="block">
|
<a href="index.php?a=add" class="button-link">
|
||||||
<div class="upper">
|
<div class="panel panel-default">
|
||||||
<img src="img/newTicket.png" alt="<?php echo $hesklang['sub_ticket']; ?>" />
|
<div class="panel-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-1">
|
||||||
|
<img src="img/newTicket.png" alt="<?php echo $hesklang['sub_support']; ?>">
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-11">
|
||||||
|
<b><?php echo $hesklang['sub_support']; ?></b><br>
|
||||||
|
<?php echo $hesklang['open_ticket']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lower">
|
</a>
|
||||||
<p><?php echo $hesklang['sub_ticket']; ?></p>
|
</div>
|
||||||
|
<div class="col-sm-6 col-xs-12">
|
||||||
|
<a href="ticket.php" class="button-link">
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-1">
|
||||||
|
<img src="img/viewTicket.png" alt="<?php echo $hesklang['view_existing']; ?>">
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-11">
|
||||||
|
<b><?php echo $hesklang['view_existing']; ?></b><br>
|
||||||
|
<?php echo $hesklang['vet']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</a>
|
||||||
</a>
|
</div>
|
||||||
<a href="ticket.php">
|
|
||||||
<div class="block">
|
|
||||||
<div class="upper">
|
|
||||||
<img src="img/viewTicket.png" alt="<?php echo $hesklang['view_existing']; ?>" />
|
|
||||||
</div>
|
|
||||||
<div class="lower">
|
|
||||||
<p><?php echo $hesklang['view_existing']; ?></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
<?php
|
|
||||||
if ($hesk_settings['kb_enable'])
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
<a href="knowledgebase.php">
|
|
||||||
<div class="block">
|
|
||||||
<div class="upper">
|
|
||||||
<img src="img/knowledgebase.png" alt="<?php echo $hesklang['kb_text']; ?>" />
|
|
||||||
</div>
|
|
||||||
<div class="lower">
|
|
||||||
<p><?php echo $hesklang['kb_text']; ?></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
include('custom/custom-blocks.php');
|
|
||||||
?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
if ($hesk_settings['kb_enable'])
|
||||||
|
{
|
||||||
|
?>
|
||||||
|
<div class="row default-row-margins">
|
||||||
|
<div class="col-sm-6 col-xs-12">
|
||||||
|
<a href="knowledgebase.php" class="button-link">
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-1">
|
||||||
|
<img src="img/knowledgebase.png" alt="<?php echo $hesklang['kb_text']; ?>">
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-11">
|
||||||
|
<b><?php echo $hesklang['kb_text']; ?></b><br>
|
||||||
|
<?php echo $hesklang['viewkb']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
hesk_kbTopArticles($hesk_settings['kb_index_popart']);
|
||||||
|
hesk_kbLatestArticles($hesk_settings['kb_index_latest']);
|
||||||
|
}?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="blankSpace"></div>
|
<div class="blankSpace"></div>
|
||||||
|
@ -40,7 +40,10 @@ $hesklang['x_merged'] = '(+%s merged)'; // %s number of tickets merged
|
|||||||
$hesklang['merged_tickets'] = 'Merged tickets: ';
|
$hesklang['merged_tickets'] = 'Merged tickets: ';
|
||||||
$hesklang['show_number_merged'] = 'Show number of tickets merged';
|
$hesklang['show_number_merged'] = 'Show number of tickets merged';
|
||||||
$hesklang['show_number_merged_descr'] = 'Show number of tickets merged next to Tracking ID';
|
$hesklang['show_number_merged_descr'] = 'Show number of tickets merged next to Tracking ID';
|
||||||
$hesklang['show_number_merged_help'] = 'If enabled, the user will be able to see which tickets were merged into the other on the ticket serarch screen.';
|
$hesklang['show_number_merged_help'] = 'If enabled, the user will be able to see which tickets were merged into the other on the ticket search screen.';
|
||||||
|
$hesklang['latest_top_on_home'] = 'Latest/Top articles on home page';
|
||||||
|
$hesklang['latest_top_on_home_help'] = 'Select YES to display the top and latest knowledgebase articles on the home page.
|
||||||
|
Otherwise, a link to the knowledgebase will appear on the home page.';
|
||||||
|
|
||||||
// ADDED OR MODIFIED IN Mods for HESK 2.2.1
|
// ADDED OR MODIFIED IN Mods for HESK 2.2.1
|
||||||
$hesklang['popart_no_colon']='Top Knowledgebase Articles'; // same as $hesklang['popart'] but without a colon (:)
|
$hesklang['popart_no_colon']='Top Knowledgebase Articles'; // same as $hesklang['popart'] but without a colon (:)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user