Now the index page uses a panel instead of a hacky tab bar.
It is also more responsive.
This commit is contained in:
parent
680a2a16b1
commit
e6d1d715da
@ -212,16 +212,6 @@ div.rightSideDash {
|
|||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
}
|
}
|
||||||
div.enclosingDashboard {
|
|
||||||
margin-left: 50px;
|
|
||||||
margin-right: 50px;
|
|
||||||
}
|
|
||||||
.moreToLeft {
|
|
||||||
margin-right: 25px;
|
|
||||||
}
|
|
||||||
.viewTicketSidebar {
|
|
||||||
padding: 25px;
|
|
||||||
}
|
|
||||||
div.enclosing {
|
div.enclosing {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #4a5571;
|
color: #4a5571;
|
||||||
|
@ -289,7 +289,6 @@ function hesk_kbSearchLarge($admin = '')
|
|||||||
$action = $admin ? 'knowledgebase_private.php' : 'knowledgebase.php';
|
$action = $admin ? 'knowledgebase_private.php' : 'knowledgebase.php';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<br />
|
|
||||||
|
|
||||||
<div style="text-align:center">
|
<div style="text-align:center">
|
||||||
<form role="form" action="<?php echo $action; ?>" method="get" style="display: inline; margin: 0;" name="searchform">
|
<form role="form" action="<?php echo $action; ?>" method="get" style="display: inline; margin: 0;" name="searchform">
|
||||||
|
97
index.php
97
index.php
@ -101,29 +101,24 @@ function print_add_ticket()
|
|||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<!-- START MAIN LAYOUT -->
|
<!-- START MAIN LAYOUT -->
|
||||||
<div class="enclosingDashboard">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div align="left" class="col-md-4">
|
<div align="left" class="col-md-4">
|
||||||
<div class="moreToLeft">
|
<div class="panel panel-default">
|
||||||
<ul class="nav nav-tabs">
|
<div class="panel-heading"><?php echo $hesklang['quick_help']; ?></div>
|
||||||
<li class="active"><a href="#" onclick="return false;"><?php echo $hesklang['quick_help']; ?></a></li>
|
<div class="panel-body">
|
||||||
</ul>
|
<div class="row">
|
||||||
<div class="summaryList">
|
<div class="col-md-6 col-xs-12">
|
||||||
<div class="viewTicketSidebar">
|
<label class="control-label" style="margin-top:8px;"><?php echo $hesklang['changeLanguage']; ?></label>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col-md-6 col-xs-12">
|
<div class="col-md-6 col-xs-12">
|
||||||
<label class="control-label" style="margin-top:8px;"><?php echo $hesklang['changeLanguage']; ?></label>
|
<?php echo hesk_getLanguagesAsFormIfNecessary(); ?>
|
||||||
</div>
|
|
||||||
<div class="col-md-6 col-xs-12">
|
|
||||||
<?php echo hesk_getLanguagesAsFormIfNecessary(); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<p><?php echo $hesklang['quick_help_submit_ticket']; ?></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<p><?php echo $hesklang['quick_help_submit_ticket']; ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-7">
|
<div class="col-md-8">
|
||||||
<?php
|
<?php
|
||||||
// This will handle error, success and notice messages
|
// This will handle error, success and notice messages
|
||||||
hesk_handle_messages();
|
hesk_handle_messages();
|
||||||
@ -727,43 +722,39 @@ function print_start()
|
|||||||
<li><a href="<?php echo $hesk_settings['site_url']; ?>"><?php echo $hesk_settings['site_title']; ?></a></li>
|
<li><a href="<?php echo $hesk_settings['site_url']; ?>"><?php echo $hesk_settings['site_title']; ?></a></li>
|
||||||
<li class="active"><?php echo $hesk_settings['hesk_title']; ?></li>
|
<li class="active"><?php echo $hesk_settings['hesk_title']; ?></li>
|
||||||
</ol>
|
</ol>
|
||||||
<div class="enclosingDashboard">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div align="left" class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="moreToLeft">
|
<div class="panel panel-default">
|
||||||
<ul class="nav nav-tabs">
|
<div class="panel-heading"><?php echo $hesklang['view_ticket']; ?></div>
|
||||||
<li class="active"><a href="#" onclick="return false;"><?php echo $hesklang['view_ticket']; ?></a></li>
|
<div class="panel-body">
|
||||||
</ul>
|
<form role="form" class="viewTicketSidebar" action="ticket.php" method="get" name="form2">
|
||||||
<div class="summaryList">
|
<div class="form-group">
|
||||||
<form role="form" class="viewTicketSidebar" action="ticket.php" method="get" name="form2">
|
<br/>
|
||||||
<div class="form-group">
|
<label for="ticketID"><?php echo $hesklang['ticket_trackID']; ?>:</label>
|
||||||
<br/>
|
<input type="text" class="form-control" name="track" id="ticketID" maxlength="20" size="35" value="" placeholder="<?php echo $hesklang['ticket_trackID']; ?>">
|
||||||
<label for="ticketID"><?php echo $hesklang['ticket_trackID']; ?>:</label>
|
</div>
|
||||||
<input type="text" class="form-control" name="track" id="ticketID" maxlength="20" size="35" value="" placeholder="<?php echo $hesklang['ticket_trackID']; ?>">
|
<?php
|
||||||
</div>
|
$tmp = '';
|
||||||
<?php
|
if ($hesk_settings['email_view_ticket'])
|
||||||
$tmp = '';
|
{
|
||||||
if ($hesk_settings['email_view_ticket'])
|
$tmp = 'document.form1.email.value=document.form2.e.value;';
|
||||||
{
|
?>
|
||||||
$tmp = 'document.form1.email.value=document.form2.e.value;';
|
<div class="form-group">
|
||||||
?>
|
<label for="emailAddress"><?php echo $hesklang['email']; ?>:</label>
|
||||||
<div class="form-group">
|
<input type="text" class="form-control" name="e" id="emailAddress" size="35" value="<?php echo $my_email; ?>" placeholder="<?php echo $hesklang['email']; ?>"/>
|
||||||
<label for="emailAddress"><?php echo $hesklang['email']; ?>:</label>
|
</div>
|
||||||
<input type="text" class="form-control" name="e" id="emailAddress" size="35" value="<?php echo $my_email; ?>" placeholder="<?php echo $hesklang['email']; ?>"/>
|
<div class="checkbox">
|
||||||
</div>
|
<input type="checkbox" name="r" value="Y" <?php echo $do_remember; ?> /> <?php echo $hesklang['rem_email']; ?></label>
|
||||||
<div class="checkbox">
|
</div>
|
||||||
<input type="checkbox" name="r" value="Y" <?php echo $do_remember; ?> /> <?php echo $hesklang['rem_email']; ?></label>
|
<?php
|
||||||
</div>
|
}
|
||||||
<?php
|
?>
|
||||||
}
|
<input type="submit" value="<?php echo $hesklang['view_ticket']; ?>" class="btn btn-default" /><input type="hidden" name="Refresh" value="<?php echo rand(10000,99999); ?>"><input type="hidden" name="f" value="1">
|
||||||
?>
|
</form>
|
||||||
<input type="submit" value="<?php echo $hesklang['view_ticket']; ?>" class="btn btn-default" /><input type="hidden" name="Refresh" value="<?php echo rand(10000,99999); ?>"><input type="hidden" name="f" value="1">
|
</div>
|
||||||
</form>
|
</div>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="col-md-8">
|
||||||
<div align="left" class="col-md-7">
|
|
||||||
<?php
|
<?php
|
||||||
// Print small search box
|
// Print small search box
|
||||||
if ($hesk_settings['kb_enable'])
|
if ($hesk_settings['kb_enable'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user