Remove excessive javascript interactivity in AMS

This commit is contained in:
kaetemi 2014-09-03 03:08:57 +02:00
parent 4f79a96dea
commit 7f180c3295
19 changed files with 232 additions and 365 deletions

View file

@ -46,19 +46,19 @@ height: 16px;
padding: 0 5px; padding: 0 5px;
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
color: white !important; color: white !important;
text-shadow: 0 1px text-shadow: 0 1px
hsla(0, 0%, 0%, 0.25); hsla(0, 0%, 0%, 0.25);
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-radius: 10px; border-radius: 10px;
-webkit-border-radius: 10px; -webkit-border-radius: 10px;
-moz-border-radius: 10px; -moz-border-radius: 10px;
-webkit-box-shadow: 0 1px 1px -webkit-box-shadow: 0 1px 1px
hsla(0, 0%, 0%, 0.08), inset 0 1px hsla(0, 0%, 0%, 0.08), inset 0 1px
hsla(0, 100%, 100%, 0.3); hsla(0, 100%, 100%, 0.3);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3); -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3);
box-shadow: 0 1px 1px box-shadow: 0 1px 1px
hsla(0, 0%, 0%, 0.08), inset 0 1px hsla(0, 0%, 0%, 0.08), inset 0 1px
hsla(0, 100%, 100%, 0.3); hsla(0, 100%, 100%, 0.3);
} }
@ -128,7 +128,7 @@ border: 1px solid #DEDEDE;
border-radius:3px; border-radius:3px;
-webkit-border-radius:3px; -webkit-border-radius:3px;
-moz-border-radius:3px; -moz-border-radius:3px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px ; margin-bottom: 10px ;
box-shadow: 0 0 10px rgba(189, 189, 189, 0.4); box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
-webkit-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4); -webkit-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
@ -145,7 +145,7 @@ border-radius:3px 3px 0 0;
height:12px; height:12px;
min-height:12px; min-height:12px;
margin-bottom: 0; margin-bottom: 0;
cursor:move; /*cursor:move;*/
font-weight:bold; font-weight:bold;
font-size:16px; font-size:16px;
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%); background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%);
@ -343,7 +343,7 @@ margin-right:-2px;
margin-left:-2px; margin-left:-2px;
} }
.brand{ .brand{
font-family: 'Shojumaru', cursive, Arial, serif; font-family: 'Shojumaru', cursive, Arial, serif;
letter-spacing:2px; letter-spacing:2px;
text-shadow:1px 1px 5px rgba(0, 0, 0, 0.5); text-shadow:1px 1px 5px rgba(0, 0, 0, 0.5);
width:166px; width:166px;
@ -368,7 +368,7 @@ margin-bottom:0;
} }
@media (min-width: 768px) and (max-width: 979px) { @media (min-width: 768px) and (max-width: 979px) {
.box-icon{ .box-icon{
display:none; display:none;
} }
.box-header h2{ .box-header h2{
font-size:13px !important; font-size:13px !important;
@ -389,8 +389,8 @@ margin-left:10px;
border-radius:0 0 10px 10px; border-radius:0 0 10px 10px;
-webkit-border-radius:0 0 10px 10px; -webkit-border-radius:0 0 10px 10px;
-moz-border-radius:0 0 10px 10px; -moz-border-radius:0 0 10px 10px;
padding-top:5px; padding-top:5px;
padding-bottom:5px; padding-bottom:5px;
} }
div.dataTables_length select { div.dataTables_length select {
width: 50px; width: 50px;

View file

@ -3,16 +3,12 @@
<div class="box span8"> <div class="box span8">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i> Create a new Ticket</h2> <h2><i class="icon-th"></i> Create a new Ticket</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=createticket&id={$target_id}"> <form id="changePassword" class="form-vertical" method="post" action="index.php?page=createticket&id={$target_id}">
<legend>New ticket</legend> <legend>New ticket</legend>
<div class="control-group"> <div class="control-group">
<label class="control-label">Title</label> <label class="control-label">Title</label>
<div class="controls"> <div class="controls">
@ -21,7 +17,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Category</label> <label class="control-label">Category</label>
<div class="controls"> <div class="controls">
@ -29,10 +25,10 @@
{foreach from=$category key=k item=v} {foreach from=$category key=k item=v}
<option value="{$k}">{$v}</option> <option value="{$k}">{$v}</option>
{/foreach} {/foreach}
</select> </select>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Description</label> <label class="control-label">Description</label>
<div class="controls"> <div class="controls">
@ -50,10 +46,10 @@
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Send Ticket</button> <button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Send Ticket</button>
</div> </div>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -8,38 +8,32 @@
<div>Tickets Waiting for Direct Action</div> <div>Tickets Waiting for Direct Action</div>
<span class="notification red">{$nrAssignedWaiting}</span> <span class="notification red">{$nrAssignedWaiting}</span>
</a> </a>
<a data-original-title="{$nrToDo} Tickets Todo." data-rel="tooltip" class="well span3 top-block" href="index.php?page=show_queue&get=todo"> <a data-original-title="{$nrToDo} Tickets Todo." data-rel="tooltip" class="well span3 top-block" href="index.php?page=show_queue&get=todo">
<span class="icon32 icon-blue icon-tag"></span> <span class="icon32 icon-blue icon-tag"></span>
<div>Tickets Todo</div> <div>Tickets Todo</div>
<span class="notification red">{$nrToDo}</span> <span class="notification red">{$nrToDo}</span>
</a> </a>
<a data-original-title="By {$newestTicketAuthor}" data-rel="tooltip" class="well span3 top-block" href="index.php?page=show_ticket&id={$newestTicketId}"> <a data-original-title="By {$newestTicketAuthor}" data-rel="tooltip" class="well span3 top-block" href="index.php?page=show_ticket&id={$newestTicketId}">
<span class="icon32 icon-blue icon-flag"></span> <span class="icon32 icon-blue icon-flag"></span>
<div>Newest Ticket</div> <div>Newest Ticket</div>
<span class="notification blue">{$newestTicketTitle}</span> <span class="notification blue">{$newestTicketTitle}</span>
</a> </a>
<a data-original-title="{$nrTotalTickets} tickets in total" data-rel="tooltip" class="well span3 top-block" href="index.php?page=show_queue&get=all"> <a data-original-title="{$nrTotalTickets} tickets in total" data-rel="tooltip" class="well span3 top-block" href="index.php?page=show_queue&get=all">
<span class="icon32 icon-blue icon-archive"></span> <span class="icon32 icon-blue icon-archive"></span>
<div>Total amount of Tickets</div> <div>Total amount of Tickets</div>
<span class="notification blue">{$nrTotalTickets}</span> <span class="notification blue">{$nrTotalTickets}</span>
</a> </a>
</div> </div>
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well"> <div class="box-header well">
<h2><i class="icon-info-sign"></i> {$home_title}</h2> <h2><i class="icon-info-sign"></i> {$home_title}</h2>
<div class="box-icon">
<a href="#" class="btn btn-round" onclick="javascript:show_help('intro');return false;"><i class="icon-info-sign"></i></a>
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<p><strong>{$home_info}</strong></p> <p><strong>{$home_info}</strong></p>
@ -61,12 +55,12 @@
<li>Browse additional info sent along when a ticket is created ingame</li> <li>Browse additional info sent along when a ticket is created ingame</li>
<li>All the above can be done while ingame too</li> <li>All the above can be done while ingame too</li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
</div> </div>
{/block} {/block}

View file

@ -113,12 +113,6 @@
<div class="box span12"> <div class="box span12">
<div class="box-header well"> <div class="box-header well">
<h2><i class="icon-info-sign"></i> Introduction</h2> <h2><i class="icon-info-sign"></i> Introduction</h2>
<div class="box-icon">
<a href="#" class="btn btn-round" onclick="javascript:show_help('test');return false;"><i class="icon-info-sign"></i></a>
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<h1>Charisma <small>free, premium quality, responsive, multiple skin admin template.</small></h1> <h1>Charisma <small>free, premium quality, responsive, multiple skin admin template.</small></h1>

View file

@ -1,15 +1,9 @@
{block name=content} {block name=content}
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well"> <div class="box-header well">
<h2><i class="icon-info-sign"></i>{$ip_title}</h2> <h2><i class="icon-info-sign"></i>{$ip_title}</h2>
<div class="box-icon">
<a href="#" class="btn btn-round" onclick="javascript:show_help('intro');return false;"><i class="icon-info-sign"></i></a>
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<center> <center>
@ -22,7 +16,7 @@
<input type="button" value="Upload" onclick="uploadPlugin()"></br> <input type="button" value="Upload" onclick="uploadPlugin()"></br>
<h3 id="status"></h3> <h3 id="status"></h3>
{if isset($smarty.get.result) and $smarty.get.result eq "0"}<p>{$ip_file_nfnd}</p>{/if} {if isset($smarty.get.result) and $smarty.get.result eq "0"}<p>{$ip_file_nfnd}</p>{/if}
{if isset($smarty.get.result) and $smarty.get.result eq "2"}<p>{$ip_info_nfound}</p>{/if} {if isset($smarty.get.result) and $smarty.get.result eq "2"}<p>{$ip_info_nfound}</p>{/if}
</div> </div>
{$ip_message} {$ip_message}
</center> </center>
@ -31,6 +25,6 @@
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -18,7 +18,7 @@
<meta name="author" content="Daan Janssens & Matthew Lagoe"> <meta name="author" content="Daan Janssens & Matthew Lagoe">
<!-- The styles --> <!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet"> <link id="bs-css" href="css/bootstrap-classic.css" rel="stylesheet">
<style type="text/css"> <style type="text/css">
body { body {
padding-bottom: 40px; padding-bottom: 40px;
@ -70,7 +70,7 @@
<a class="brand" href="index.php"> <img alt="Ryzom Core Logo" src="img/ryzomcore_166_62.png"></a> <a class="brand" href="index.php"> <img alt="Ryzom Core Logo" src="img/ryzomcore_166_62.png"></a>
<!-- theme selector starts --> <!-- theme selector starts -->
<div class="btn-group pull-right theme-container"> <!--<div class="btn-group pull-right theme-container">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span> <i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span>
<span class="caret"></span> <span class="caret"></span>
@ -86,7 +86,7 @@
<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li> <li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li> <li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
</ul> </ul>
</div> </div>-->
<!-- theme selector ends --> <!-- theme selector ends -->
<!-- user dropdown starts --> <!-- user dropdown starts -->
{if isset($username)} {if isset($username)}
@ -312,7 +312,7 @@
<!-- history.js for cross-browser state change on ajax --> <!-- history.js for cross-browser state change on ajax -->
<script src="js/jquery.history.js"></script> <script src="js/jquery.history.js"></script>
<!-- application script for Charisma demo --> <!-- application script for Charisma demo -->
<script src="js/charisma.js"></script> <!-- <script src="js/charisma.js"></script> -->
<!-- help script for page help --> <!-- help script for page help -->
<script src="js/help.js"></script> <script src="js/help.js"></script>

View file

@ -1,13 +1,8 @@
{block name=content} {block name=content}
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well" data-original-title> <div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> {$plugin_title}</h2> <h2><i class="icon-user"></i> {$plugin_title}</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
{if isset($smarty.get.result) and $smarty.get.result eq "1"}<div class="alert alert-error"><p>{$ip_success}</p></div>{/if} {if isset($smarty.get.result) and $smarty.get.result eq "1"}<div class="alert alert-error"><p>{$ip_success}</p></div>{/if}
{if isset($smarty.get.result) and $smarty.get.result eq "0"}<div class="alert alert-error"><p>{$dp_error}</p></div>{/if} {if isset($smarty.get.result) and $smarty.get.result eq "0"}<div class="alert alert-error"><p>{$dp_error}</p></div>{/if}
@ -27,7 +22,7 @@
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead> <thead>
<tr> <tr>
<th>{$plugin_status}</th> <th>{$plugin_status}</th>
<th width="100">{$plugin_name}</th> <th width="100">{$plugin_name}</th>
<th>{$plugin_version}</th> <th>{$plugin_version}</th>
<th width="350">{$plugin_description}</th> <th width="350">{$plugin_description}</th>
@ -35,7 +30,7 @@
<th>{$plugin_permission}</th> <th>{$plugin_permission}</th>
<th>{$plugin_actions}</th> <th>{$plugin_actions}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$plug item=element} {foreach from=$plug item=element}
<tr> <tr>
@ -52,7 +47,7 @@
{if ($element.plugin_status) eq "1"}<a href="index.php?page=plugins&action=deactivate_plugin&id={$element.id}"><button class="btn btn-primary btn-large dropdown-toggle">Deactivate</button></a>{/if}</td> {if ($element.plugin_status) eq "1"}<a href="index.php?page=plugins&action=deactivate_plugin&id={$element.id}"><button class="btn btn-primary btn-large dropdown-toggle">Deactivate</button></a>{/if}</td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<div style="width: 300px; margin:0px auto;"> <div style="width: 300px; margin:0px auto;">
@ -65,7 +60,7 @@
</ul> </ul>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -1,26 +1,21 @@
{block name=content} {block name=content}
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well" data-original-title> <div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> {$up_title}</h2> <h2><i class="icon-user"></i> {$up_title}</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<center><p>{$up_info}</p></center> <center><p>{$up_info}</p></center>
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead> <thead>
<tr> <tr>
<th width="100">{$plugin_name}</th> <th width="100">{$plugin_name}</th>
<th>{$plugin_version}</th> <th>{$plugin_version}</th>
<th>{$up_updated_version}</th> <th>{$up_updated_version}</th>
<th width="500">{$up_description}</th> <th width="500">{$up_description}</th>
<th>{$up_actions}</th> <th>{$up_actions}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$plug item=element} {foreach from=$plug item=element}
<tr> <tr>
@ -31,7 +26,7 @@
<td><a href="index.php?page=plugins&action=update_plugins&id={$element.id}"><button class="btn btn-primary btn-large">Update</button></a> <td><a href="index.php?page=plugins&action=update_plugins&id={$element.id}"><button class="btn btn-primary btn-large">Update</button></a>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<div style="width: 300px; margin:0px auto;"> <div style="width: 300px; margin:0px auto;">
@ -44,7 +39,7 @@
</ul> </ul>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,16 +3,12 @@
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i> Change Password</h2> <h2><i class="icon-th"></i> Change Password</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}"> <form id="changePassword" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
<legend>Change Password</legend> <legend>Change Password</legend>
{if !isset($changesOther) or $changesOther eq "FALSE"} {if !isset($changesOther) or $changesOther eq "FALSE"}
<div class="control-group {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}error{else if <div class="control-group {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}error{else if
isset($match_error_message) and $match_error_message neq "fail"}success{else}{/if}"> isset($match_error_message) and $match_error_message neq "fail"}success{else}{/if}">
@ -37,7 +33,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if <div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}"> isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
<label class="control-label">Confirm New Password</label> <label class="control-label">Confirm New Password</label>
@ -49,21 +45,21 @@
</div> </div>
</div> </div>
</div> </div>
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"} {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
<div class="alert alert-success"> <div class="alert alert-success">
The password has been changed! The password has been changed!
</div> </div>
{/if} {/if}
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"} {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
<div class="alert alert-warning"> <div class="alert alert-warning">
The password has been changed, though the shard seems offline, it may take some time to see the change on the shard. The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
</div> </div>
{/if} {/if}
<input type="hidden" name="function" value="change_password"> <input type="hidden" name="function" value="change_password">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
@ -72,25 +68,21 @@
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Change Password</button> <button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Change Password</button>
</div> </div>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i> Add User</h2> <h2><i class="icon-th"></i> Add User</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="addUser" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}"> <form id="addUser" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
<legend>Add User</legend> <legend>Add User</legend>
<div class="control-group"> <div class="control-group">
<label class="control-label">Username</label> <label class="control-label">Username</label>
<div class="controls"> <div class="controls">
@ -99,8 +91,8 @@
<input type="text" value="Username" placeholder="Username" name="Username" id="Username" class="input-xlarge"> <input type="text" value="Username" placeholder="Username" name="Username" id="Username" class="input-xlarge">
</div> </div>
</div> </div>
</div> </div>
<div class="control-group "> <div class="control-group ">
<label class="control-label">Password</label> <label class="control-label">Password</label>
<div class="controls"> <div class="controls">
@ -110,7 +102,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group "> <div class="control-group ">
<label class="control-label">Confirm Password</label> <label class="control-label">Confirm Password</label>
<div class="controls"> <div class="controls">
@ -120,30 +112,30 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group "> <div class="control-group ">
<label class="control-label">Email</label> <label class="control-label">Email</label>
<div class="controls"> <div class="controls">
<div class="input-prepend"> <div class="input-prepend">
<span style="margin-left:5px;" class="add-on"><i class="icon-envelope"></i></span> <span style="margin-left:5px;" class="add-on"><i class="icon-envelope"></i></span>
<input type="text" value="Email" placeholder="Email" name="Email" id="Email" class="input-xlarge"> <input type="text" value="Email" placeholder="Email" name="Email" id="Email" class="input-xlarge">
</div> </div>
</div> </div>
</div> </div>
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"} {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
<div class="alert alert-success"> <div class="alert alert-success">
The user is created! The user is created!
</div> </div>
{/if} {/if}
{if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"} {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
<div class="alert alert-warning"> <div class="alert alert-warning">
The user can't be created. The user can't be created.
</div> </div>
{/if} {/if}
<input type="hidden" name="function" value="add_user"> <input type="hidden" name="function" value="add_user">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
@ -152,19 +144,15 @@
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Create User</button> <button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Create User</button>
</div> </div>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i> Change Email</h2> <h2><i class="icon-th"></i> Change Email</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -177,24 +165,24 @@
<span class="add-on" style="margin-left:5px;"><i class="icon-envelope"></i></span> <span class="add-on" style="margin-left:5px;"><i class="icon-envelope"></i></span>
<input type="text" class="input-xlarge" id="NewEmail" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}> <input type="text" class="input-xlarge" id="NewEmail" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<span class="help-inline">{$EMAIL}</span>{/if} {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<span class="help-inline">{$EMAIL}</span>{/if}
</div> </div>
</div> </div>
</div> </div>
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"} {if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
<div class="alert alert-success"> <div class="alert alert-success">
The email has been changed! The email has been changed!
</div> </div>
{/if} {/if}
{if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "SHARDOFF"} {if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "SHARDOFF"}
<div class="alert alert-warning"> <div class="alert alert-warning">
The email has been changed, though the shard seems offline, it may take some time to see the change on the shard. The email has been changed, though the shard seems offline, it may take some time to see the change on the shard.
</div> </div>
{/if} {/if}
<input type="hidden" name="function" value="change_mail"> <input type="hidden" name="function" value="change_mail">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
@ -204,37 +192,33 @@
</div> </div>
</div> </div>
</form> </form>
</div>
</div>
</div>
<div class="box span4">
<div class="box-header well" data-original-title="">
<h2><i class="icon-envelope"></i> Ticket updates</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div> </div>
</div> </div>
</div>
<div class="box span4">
<div class="box-header well" data-original-title="">
<h2><i class="icon-envelope"></i> Ticket updates</h2>
</div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="changeReceiveMail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}"> <form id="changeReceiveMail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
<legend>Ticket-Update Mail Settings</legend> <legend>Ticket-Update Mail Settings</legend>
<div class="control-group"> <div class="control-group">
<label class="control-label">Receive ticket updates</label> <label class="control-label">Receive ticket updates</label>
<div class="controls"> <div class="controls">
<select name="ReceiveMail"> <select name="ReceiveMail">
<option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option> <option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
<option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option> <option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
</select> </select>
</div> </div>
</div> </div>
<input type="hidden" name="function" value="change_receivemail"> <input type="hidden" name="function" value="change_receivemail">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
@ -247,20 +231,16 @@
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span4"> <div class="box span4">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i> Change Info</h2> <h2><i class="icon-th"></i> Change Info</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}"> <form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
<legend>Change Info</legend> <legend>Change Info</legend>
<div class="control-group"> <div class="control-group">
<label class="control-label">Firstname</label> <label class="control-label">Firstname</label>
<div class="controls"> <div class="controls">
@ -270,7 +250,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Lastname</label> <label class="control-label">Lastname</label>
<div class="controls"> <div class="controls">
@ -280,7 +260,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Country</label> <label class="control-label">Country</label>
<div class="controls"> <div class="controls">
@ -288,13 +268,13 @@
{foreach from=$country_array key=k item=v} {foreach from=$country_array key=k item=v}
<option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option> <option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
{/foreach} {/foreach}
</select> </select>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Gender</label> <label class="control-label">Gender</label>
<div class="controls"> <div class="controls">
<label class="radio"> <label class="radio">
<div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 0}checked{/if}"><input style="opacity: 0;" name="Gender" id="optionsRadios0" value="0" {if isset($Gender) and $Gender eq 0}checked=""{/if} type="radio"></span></div> <div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 0}checked{/if}"><input style="opacity: 0;" name="Gender" id="optionsRadios0" value="0" {if isset($Gender) and $Gender eq 0}checked=""{/if} type="radio"></span></div>
Secret Secret
@ -311,13 +291,13 @@
</label> </label>
</div> </div>
</div> </div>
{if isset($info_updated) and $info_updated eq "OK"} {if isset($info_updated) and $info_updated eq "OK"}
<div class="alert alert-success"> <div class="alert alert-success">
The Info has been updated! The Info has been updated!
</div> </div>
{/if} {/if}
<input type="hidden" name="function" value="change_info"> <input type="hidden" name="function" value="change_info">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
@ -327,12 +307,12 @@
</div> </div>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -5,10 +5,6 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-list"></i> List</h2> <h2><i class="icon-list"></i> List</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -22,7 +18,7 @@
<th>Email</th> <th>Email</th>
{if isset($isAdmin) && $isAdmin eq 'TRUE'}<th>Action</th>{/if} {if isset($isAdmin) && $isAdmin eq 'TRUE'}<th>Action</th>{/if}
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$grouplist item=group} {foreach from=$grouplist item=group}
<tr> <tr>
@ -33,9 +29,9 @@
{if isset($isAdmin) && $isAdmin eq 'TRUE'}<td class="center"><a class="btn btn-danger" href="index.php?page=sgroup_list&delete={$group.sGroupId}"><i class="icon-trash icon-white"></i> Delete</a></td>{/if} {if isset($isAdmin) && $isAdmin eq 'TRUE'}<td class="center"><a class="btn btn-danger" href="index.php?page=sgroup_list&delete={$group.sGroupId}"><i class="icon-trash icon-white"></i> Delete</a></td>{/if}
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
@ -43,18 +39,14 @@
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-plus-sign"></i> Add</h2> <h2><i class="icon-plus-sign"></i> Add</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="addSGroup" class="form-vertical" method="post" action="index.php?page=sgroup_list"> <form id="addSGroup" class="form-vertical" method="post" action="index.php?page=sgroup_list">
<legend>Add a support group</legend> <legend>Add a support group</legend>
<div class="control-group"> <div class="control-group">
<label class="control-label">Group name</label> <label class="control-label">Group name</label>
<div class="controls"> <div class="controls">
@ -63,7 +55,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Group Tag</label> <label class="control-label">Group Tag</label>
<div class="controls"> <div class="controls">
@ -72,7 +64,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Group EmailAddress</label> <label class="control-label">Group EmailAddress</label>
<div class="controls"> <div class="controls">
@ -81,7 +73,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">IMAP MailServer IP</label> <label class="control-label">IMAP MailServer IP</label>
<div class="controls"> <div class="controls">
@ -90,7 +82,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">IMAP Username</label> <label class="control-label">IMAP Username</label>
<div class="controls"> <div class="controls">
@ -99,7 +91,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">IMAP Password</label> <label class="control-label">IMAP Password</label>
<div class="controls"> <div class="controls">
@ -108,16 +100,16 @@
</div> </div>
</div> </div>
</div> </div>
<input type="hidden" name="function" value="add_sgroup"> <input type="hidden" name="function" value="add_sgroup">
<div class="control-group"> <div class="control-group">
<label class="control-label"></label> <label class="control-label"></label>
<div class="controls"> <div class="controls">
<button type="submit" class="btn btn-primary" >Add</button> <button type="submit" class="btn btn-primary" >Add</button>
</div> </div>
</div> </div>
{if isset($RESULT_OF_ADDING) and $RESULT_OF_ADDING eq "SUCCESS"} {if isset($RESULT_OF_ADDING) and $RESULT_OF_ADDING eq "SUCCESS"}
<div class="alert alert-success"> <div class="alert alert-success">
{$group_success} {$group_success}
@ -136,11 +128,11 @@
</div> </div>
{/if} {/if}
</form> </form>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
{/if} {/if}
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,15 +3,11 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-tag"></i> Ticket Queue {$queue_view}</h2> <h2><i class="icon-tag"></i> Ticket Queue {$queue_view}</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<legend>Tickets</legend> <legend>Tickets</legend>
<div class="alert alert-info"> <div class="alert alert-info">
<form id="create_queue" class="form-vertical" method="post" action="index.php?page=show_queue&get=create" style="margin:0px 0px 0px;"> <form id="create_queue" class="form-vertical" method="post" action="index.php?page=show_queue&get=create" style="margin:0px 0px 0px;">
Show Show
@ -49,11 +45,11 @@
<input type="hidden" name="action" value="create_queue"> <input type="hidden" name="action" value="create_queue">
<button type="submit" class="btn btn-primary" style="bottom:4px; position:relative;" ><i class="icon-tag icon-white"></i> View</button> <button type="submit" class="btn btn-primary" style="bottom:4px; position:relative;" ><i class="icon-tag icon-white"></i> View</button>
</form> </form>
</div> </div>
{if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_ASSIGNED"} {if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_ASSIGNED"}
<div class="alert alert-success"> <div class="alert alert-success">
{$success_assigned} {$success_assigned}
@ -75,7 +71,7 @@
{$ticket_not_assigned} {$ticket_not_assigned}
</div> </div>
{/if} {/if}
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead> <thead>
<tr> <tr>
@ -88,7 +84,7 @@
<th>SupportGroup</th> <th>SupportGroup</th>
<th>Actions</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$tickets item=ticket} {foreach from=$tickets item=ticket}
<tr> <tr>
@ -97,16 +93,16 @@
<td>{if $ticket.assignedText neq ""} <a href="index.php?page=show_user&id={$ticket.assigned}">{$ticket.assignedText} {else}<i> {$not_assigned}</i> {/if}</td> <td>{if $ticket.assignedText neq ""} <a href="index.php?page=show_user&id={$ticket.assigned}">{$ticket.assignedText} {else}<i> {$not_assigned}</i> {/if}</td>
<td class="center"><span title="{$ticket.timestamp_elapsed}" data-rel="tooltip" data-placement="right">{$ticket.timestamp}</span></td> <td class="center"><span title="{$ticket.timestamp_elapsed}" data-rel="tooltip" data-placement="right">{$ticket.timestamp}</span></td>
<td class="center">{$ticket.category}</td> <td class="center">{$ticket.category}</td>
<td class="center"><span class="label {if $ticket.status eq 0}label-success{else if $ticket.status eq 1}label-warning{else if $ticket.status eq 2}label-important{/if}">{if $ticket.status eq 0} <i class="icon-exclamation-sign icon-white"></i>{/if} {$ticket.statusText}</span></td> <td class="center"><span class="label {if $ticket.status eq 0}label-success{else if $ticket.status eq 1}label-warning{else if $ticket.status eq 2}label-important{/if}">{if $ticket.status eq 0} <i class="icon-exclamation-sign icon-white"></i>{/if} {$ticket.statusText}</span></td>
<td class="center"> <td class="center">
{if $ticket.forwardedGroupName eq "0"} {if $ticket.forwardedGroupName eq "0"}
<i>{$public_sgroup}</i> <i>{$public_sgroup}</i>
{else} {else}
<span class="label label-info"><a href="index.php?page=show_sgroup&id={$ticket.forwardedGroupId}"><font color="white">{$ticket.forwardedGroupName}</font></a></span> <span class="label label-info"><a href="index.php?page=show_sgroup&id={$ticket.forwardedGroupId}"><font color="white">{$ticket.forwardedGroupName}</font></a></span>
{/if} {/if}
</td> </td>
<td> <td>
{if $ticket.assigned eq 0} {if $ticket.assigned eq 0}
<form id="assign_ticket" class="form-vertical" method="post" action="{$getURL}" style="margin:0px 0px 0px;"> <form id="assign_ticket" class="form-vertical" method="post" action="{$getURL}" style="margin:0px 0px 0px;">
@ -124,10 +120,10 @@
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<div style="width: 300px; margin:0px auto;"> <div style="width: 300px; margin:0px auto;">
<ul class="pagination"> <ul class="pagination">
<li><a href="{$pagination_base_link}&pagenum=1">&laquo;</a></li> <li><a href="{$pagination_base_link}&pagenum=1">&laquo;</a></li>
@ -140,14 +136,10 @@
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i>Actions</h2> <h2><i class="icon-th"></i>Actions</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -163,7 +155,7 @@
<li class="divider"></li> <li class="divider"></li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
@ -173,10 +165,10 @@
<!----- /javascript for this page --> <!----- /javascript for this page -->
<script type="text/javascript"> <script type="text/javascript">
function aimedforwhochanged(value) function aimedforwhochanged(value)
{ {
if (value == "user") if (value == "user")
{ {
//hide the supportGroupList span //hide the supportGroupList span
var elem = document.getElementById("supportGroupList"); var elem = document.getElementById("supportGroupList");
@ -195,4 +187,4 @@ else if(value == "support_group")
} }
</script> </script>
{/block} {/block}

View file

@ -3,10 +3,6 @@
<div class="box span12"> <div class="box span12">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-user"></i> Show Reply</h2> <h2><i class="icon-user"></i> Show Reply</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -21,13 +17,13 @@
<span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$author}"><font color="white"> {$authorName}</font>{else} {$authorName} {/if}</a></strong></span></p> <span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$author}"><font color="white"> {$authorName}</font>{else} {$authorName} {/if}</a></strong></span></p>
{/if} {/if}
<p><pre{if $author_permission gt '1'} {if $hidden eq 0} style="background-color:rgb(248, 200, 200);"{else if $hidden eq 1}style="background-color:rgb(207, 254, 255);"{/if}{/if}> {if $hidden eq 1}<i>{/if}{$reply_content}{if $hidden eq 1}</i>{/if}</pre></p> <p><pre{if $author_permission gt '1'} {if $hidden eq 0} style="background-color:rgb(248, 200, 200);"{else if $hidden eq 1}style="background-color:rgb(207, 254, 255);"{/if}{/if}> {if $hidden eq 1}<i>{/if}{$reply_content}{if $hidden eq 1}</i>{/if}</pre></p>
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,10 +3,6 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-list"></i>{$groupsname} List</h2> <h2><i class="icon-list"></i>{$groupsname} List</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -17,9 +13,9 @@
<th>ID</th> <th>ID</th>
<th>Name</th> <th>Name</th>
{if isset($isAdmin) && $isAdmin eq 'TRUE'}<th>Action</th>{/if} {if isset($isAdmin) && $isAdmin eq 'TRUE'}<th>Action</th>{/if}
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$userlist item=user} {foreach from=$userlist item=user}
<tr> <tr>
@ -28,29 +24,25 @@
{if isset($isAdmin) && $isAdmin eq 'TRUE'}<td class="center"><a class="btn btn-danger" href="index.php?page=show_sgroup&id={$target_id}&delete={$user.tUserId}"><i class="icon-trash icon-white"></i> Delete</a></td>{/if} {if isset($isAdmin) && $isAdmin eq 'TRUE'}<td class="center"><a class="btn btn-danger" href="index.php?page=show_sgroup&id={$target_id}&delete={$user.tUserId}"><i class="icon-trash icon-white"></i> Delete</a></td>{/if}
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
{if isset($isAdmin) && $isAdmin eq 'TRUE'} {if isset($isAdmin) && $isAdmin eq 'TRUE'}
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-plus-sign"></i> Add User</h2> <h2><i class="icon-plus-sign"></i> Add User</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="addSGroup" class="form-vertical" method="post" action="index.php?page=show_sgroup&id={$target_id}"> <form id="addSGroup" class="form-vertical" method="post" action="index.php?page=show_sgroup&id={$target_id}">
<legend style="margin:0">Add user to '{$groupsname}'</legend> <legend style="margin:0">Add user to '{$groupsname}'</legend>
<div class="control-group" style="display: inline-block; "> <div class="control-group" style="display: inline-block; ">
<label class="control-label">username</label> <label class="control-label">username</label>
<div class="controls"> <div class="controls">
@ -63,17 +55,17 @@
</select> </select>
</div> </div>
</div> </div>
<input type="hidden" name="function" value="add_user_to_sgroup"> <input type="hidden" name="function" value="add_user_to_sgroup">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
<label class="control-label"></label> <label class="control-label"></label>
<div class="controls"> <div class="controls">
<button type="submit" class="btn btn-primary" >Add</button> <button type="submit" class="btn btn-primary" >Add</button>
</div> </div>
</div> </div>
{if isset($RESULT_OF_ADDING) and $RESULT_OF_ADDING eq "SUCCESS"} {if isset($RESULT_OF_ADDING) and $RESULT_OF_ADDING eq "SUCCESS"}
<div class="alert alert-success"> <div class="alert alert-success">
{$add_to_group_success} {$add_to_group_success}
@ -96,26 +88,22 @@
</div> </div>
{/if} {/if}
</form> </form>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-pencil"></i> Modify Email Settings</h2> <h2><i class="icon-pencil"></i> Modify Email Settings</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<form id="modifyMailSGroup" class="form-vertical" method="post" action="index.php?page=show_sgroup&id={$target_id}"> <form id="modifyMailSGroup" class="form-vertical" method="post" action="index.php?page=show_sgroup&id={$target_id}">
<legend style="margin:0">Mail settings of '{$groupsname}'</legend> <legend style="margin:0">Mail settings of '{$groupsname}'</legend>
<div class="control-group" style="display: inline-block; "> <div class="control-group" style="display: inline-block; ">
<label class="control-label">Group Email</label> <label class="control-label">Group Email</label>
<div class="controls"> <div class="controls">
@ -124,7 +112,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group" style="display: inline-block; "> <div class="control-group" style="display: inline-block; ">
<label class="control-label">IMAP Mail Server</label> <label class="control-label">IMAP Mail Server</label>
<div class="controls"> <div class="controls">
@ -133,7 +121,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group" style="display: inline-block; "> <div class="control-group" style="display: inline-block; ">
<label class="control-label">IMAP Username</label> <label class="control-label">IMAP Username</label>
<div class="controls"> <div class="controls">
@ -142,7 +130,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="control-group" style="display: inline-block; "> <div class="control-group" style="display: inline-block; ">
<label class="control-label">IMAP Password</label> <label class="control-label">IMAP Password</label>
<div class="controls"> <div class="controls">
@ -151,17 +139,17 @@
</div> </div>
</div> </div>
</div> </div>
<input type="hidden" name="function" value="modify_email_of_sgroup"> <input type="hidden" name="function" value="modify_email_of_sgroup">
<input type="hidden" name="target_id" value="{$target_id}"> <input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group"> <div class="control-group">
<label class="control-label"></label> <label class="control-label"></label>
<div class="controls"> <div class="controls">
<button type="submit" class="btn btn-primary" >Update</button> <button type="submit" class="btn btn-primary" >Update</button>
</div> </div>
</div> </div>
{if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "SUCCESS"} {if isset($RESULT_OF_MODIFYING) and $RESULT_OF_MODIFYING eq "SUCCESS"}
<div class="alert alert-success"> <div class="alert alert-success">
{$modify_mail_of_group_success} {$modify_mail_of_group_success}
@ -175,14 +163,14 @@
{$no_password_given} {$no_password_given}
</div> </div>
{/if} {/if}
</form> </form>
</div> </div>
</div> </div>
</div> </div>
{/if} {/if}
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,22 +3,18 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-tag"></i>{$t_title} #{$ticket_tId} </h2> <h2><i class="icon-tag"></i>{$t_title} #{$ticket_tId} </h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<legend>{$title}: {$ticket_title} </legend> <legend>{$title}: {$ticket_title} </legend>
<form id="changeTicket" class="form-vertical" method="post" action="index.php"> <form id="changeTicket" class="form-vertical" method="post" action="index.php">
<table class="table table-bordered table-condensed "> <table class="table table-bordered table-condensed ">
<tr> <tr>
<td><strong>Original Submitted: </strong>{$ticket_timestamp}</td> <td><strong>Original Submitted: </strong>{$ticket_timestamp}</td>
<td><strong>Last Updated: </strong>{$ticket_lastupdate}</td> <td><strong>Last Updated: </strong>{$ticket_lastupdate}</td>
<td><strong>Status: </strong>{if $ticket_status neq 3}<span class="label label-success">Open</span>{/if} <span class="label {if $ticket_status eq 0}label-success{else if $ticket_status eq 1}label-warning{else if $ticket_status eq 2}label-important{/if}"><strong>{$ticket_statustext}</strong></span></td> <td><strong>Status: </strong>{if $ticket_status neq 3}<span class="label label-success">Open</span>{/if} <span class="label {if $ticket_status eq 0}label-success{else if $ticket_status eq 1}label-warning{else if $ticket_status eq 2}label-important{/if}"><strong>{$ticket_statustext}</strong></span></td>
</tr> </tr>
<tr> <tr>
<td><strong>Category: </strong>{$ticket_category}</td> <td><strong>Category: </strong>{$ticket_category}</td>
@ -31,16 +27,16 @@
<a href="index.php?page=show_sgroup&id={$ticket_forwardedGroupId}"><font color="white">{$ticket_forwardedGroupName}</font></a> <a href="index.php?page=show_sgroup&id={$ticket_forwardedGroupId}"><font color="white">{$ticket_forwardedGroupName}</font></a>
{/if} {/if}
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td><strong>Assigned To: </strong>{if $ticket_assignedTo neq ""} <a href="index.php?page=show_user&id={$ticket_assignedTo}">{$ticket_assignedToText}</a> {else}<i> {$not_assigned}</i> {/if}</td> <td><strong>Assigned To: </strong>{if $ticket_assignedTo neq ""} <a href="index.php?page=show_user&id={$ticket_assignedTo}">{$ticket_assignedToText}</a> {else}<i> {$not_assigned}</i> {/if}</td>
<td></td> <td></td>
<td></td> <td></td>
</tr> </tr>
</table> </table>
<table class="table table-bordered" > <table class="table table-bordered" >
<tbody> <tbody>
{foreach from=$ticket_replies item=reply} {foreach from=$ticket_replies item=reply}
@ -58,7 +54,7 @@
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
{if $ticket_status eq 3} {if $ticket_status eq 3}
<tr> <tr>
<td> <td>
@ -66,7 +62,7 @@
</td> </td>
</tr> </tr>
{/if} {/if}
<tr> <tr>
<td> <td>
<form id="reply" class="form-vertical" method="post" action="index.php"> <form id="reply" class="form-vertical" method="post" action="index.php">
@ -99,7 +95,7 @@
{foreach from=$statusList key=k item=v} {foreach from=$statusList key=k item=v}
<option value="{$k}">{$v}</option> <option value="{$k}">{$v}</option>
{/foreach} {/foreach}
</select> </select>
</div> </div>
</div> </div>
<div class="control-group" style="display: inline-block; margin-left:10px;""> <div class="control-group" style="display: inline-block; margin-left:10px;"">
@ -109,7 +105,7 @@
{foreach from=$ticket_priorities key=k item=v} {foreach from=$ticket_priorities key=k item=v}
<option value="{$k}" {if $k eq $ticket_priority}selected="selected"{/if}>{$v}</option> <option value="{$k}" {if $k eq $ticket_priority}selected="selected"{/if}>{$v}</option>
{/foreach} {/foreach}
</select> </select>
</div> </div>
</div> </div>
{/if} {/if}
@ -126,25 +122,21 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i>Actions</h2> <h2><i class="icon-th"></i>Actions</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
{if isset($isMod) and $isMod eq "TRUE"} {if isset($isMod) and $isMod eq "TRUE"}
<legend style="margin-bottom:9px;">Ticket Assigning</legend> <legend style="margin-bottom:9px;">Ticket Assigning</legend>
{if $ticket_assignedTo eq 0} {if $ticket_assignedTo eq 0}
<form id="assign_ticket" class="form-vertical" method="post" action="" style="margin:0px 0px 0px;"> <form id="assign_ticket" class="form-vertical" method="post" action="" style="margin:0px 0px 0px;">
@ -159,7 +151,7 @@
<button type="submit" class="btn btn-warning" style="margin-bottom:9px;><i class="icon-remove icon-white"></i> Remove Assign</button> <button type="submit" class="btn btn-warning" style="margin-bottom:9px;><i class="icon-remove icon-white"></i> Remove Assign</button>
</form> </form>
{/if} {/if}
{if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_ASSIGNED"} {if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_ASSIGNED"}
<div class="alert alert-success"> <div class="alert alert-success">
{$success_assigned} {$success_assigned}
@ -181,10 +173,10 @@
{$ticket_not_assigned} {$ticket_not_assigned}
</div> </div>
{/if} {/if}
<legend style="margin-bottom:9px;">Forward to Group</legend> <legend style="margin-bottom:9px;">Forward to Group</legend>
<form id="forward" class="form-vertical" method="post" action="" style="margin-bottom:9px;" > <form id="forward" class="form-vertical" method="post" action="" style="margin-bottom:9px;" >
<div class="control-group"> <div class="control-group">
<div class="controls" > <div class="controls" >
<select name="group"> <select name="group">
@ -192,7 +184,7 @@
{foreach from=$sGroups key=k item=v} {foreach from=$sGroups key=k item=v}
<option value="{$k}">{$v}</option> <option value="{$k}">{$v}</option>
{/foreach} {/foreach}
</select> </select>
</div> </div>
</div> </div>
<input type="hidden" name="ticket_id" value="{$ticket_tId}"> <input type="hidden" name="ticket_id" value="{$ticket_tId}">
@ -228,9 +220,9 @@
<li class="divider"></li> <li class="divider"></li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,10 +3,6 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-tag"></i> <a href="index.php?page=show_ticket&id={$ticket_id}">[#{$ticket_id}] {$ticket_title}</a> </h2> <h2><i class="icon-tag"></i> <a href="index.php?page=show_ticket&id={$ticket_id}">[#{$ticket_id}] {$ticket_title}</a> </h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -21,16 +17,16 @@
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/user.png"/><strong> User_Id: </strong>{$user_id}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/user.png"/><strong> User_Id: </strong>{$user_id}</td>
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/position.png"/><strong> User Position: </strong>{$user_position}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/position.png"/><strong> User Position: </strong>{$user_position}</td>
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/view.png"/><strong> View Position: </strong>{$view_position}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/view.png"/><strong> View Position: </strong>{$view_position}</td>
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/client.png"/><strong> Client_Version: </strong> {$client_version}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/client.png"/><strong> Client_Version: </strong> {$client_version}</td>
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/patch.png"/><strong> Patch_Version: </strong>{$patch_version}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/patch.png"/><strong> Patch_Version: </strong>{$patch_version}</td>
@ -49,11 +45,11 @@
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/cpuid.png"/><strong> Cpu_Id: </strong>{$cpu_id}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/cpuid.png"/><strong> Cpu_Id: </strong>{$cpu_id}</td>
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/mask.png"/><strong> Cpu_Mask: </strong>{$cpu_mask}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/mask.png"/><strong> Cpu_Mask: </strong>{$cpu_mask}</td>
</tr> </tr>
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/ht.png"/><strong> HT: </strong>{$ht}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/ht.png"/><strong> HT: </strong>{$ht}</td>
</tr> </tr>
@ -63,7 +59,7 @@
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/nel.png"/><strong> NeL3D: </strong>{$nel3d}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/nel.png"/><strong> NeL3D: </strong>{$nel3d}</td>
</tr> </tr>
<tr class="alert alert-info"> <tr class="alert alert-info">
<td><center><strong> Network related </strong></center></td> <td><center><strong> Network related </strong></center></td>
</tr> </tr>
@ -73,24 +69,20 @@
<tr> <tr>
<td><img src="{$IMAGELOC_WEBPATH}/info/local.png"/><strong> Local_Address: </strong>{$local_address}</td> <td><img src="{$IMAGELOC_WEBPATH}/info/local.png"/><strong> Local_Address: </strong>{$local_address}</td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i>Actions</h2> <h2><i class="icon-th"></i>Actions</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
<legend style="margin-bottom:9px;">Actions</legend> <legend style="margin-bottom:9px;">Actions</legend>
<div class="btn-group"> <div class="btn-group">
<button class="btn btn-primary btn-large dropdown-toggle" data-toggle="dropdown">Actions<span class="caret"></span></button> <button class="btn btn-primary btn-large dropdown-toggle" data-toggle="dropdown">Actions<span class="caret"></span></button>
@ -102,9 +94,9 @@
<li class="divider"></li> <li class="divider"></li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,10 +3,6 @@
<div class="box span12"> <div class="box span12">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-tag"></i> Log of Ticket #{$ticket_id}</h2> <h2><i class="icon-tag"></i> Log of Ticket #{$ticket_id}</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -18,7 +14,7 @@
<th>Timestamp</th> <th>Timestamp</th>
<th>Query</th> <th>Query</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$ticket_logs item=log} {foreach from=$ticket_logs item=log}
<tr> <tr>
@ -27,12 +23,11 @@
<td>{$log.query}</td> <td>{$log.query}</td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -3,10 +3,6 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-user"></i> Profile of {$target_name}</h2> <h2><i class="icon-user"></i> Profile of {$target_name}</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -15,33 +11,33 @@
<tbody> <tbody>
<tr > <tr >
<td><strong>Email:</strong></td> <td><strong>Email:</strong></td>
<td>{$mail}</td> <td>{$mail}</td>
</tr> </tr>
<tr > <tr >
<td><strong>Role:</strong></td> <td><strong>Role:</strong></td>
<td> <td>
{if $userPermission eq 1}<span class="label label-success">User</span>{/if} {if $userPermission eq 1}<span class="label label-success">User</span>{/if}
{if $userPermission eq 2}<span class="label label-warning">Moderator</span>{/if} {if $userPermission eq 2}<span class="label label-warning">Moderator</span>{/if}
{if $userPermission eq 3}<span class="label label-important">Admin</span>{/if} {if $userPermission eq 3}<span class="label label-important">Admin</span>{/if}
</td> </td>
</tr> </tr>
{if $firstName neq ""} {if $firstName neq ""}
<tr> <tr>
<td><strong>Firstname:</strong></td> <td><strong>Firstname:</strong></td>
<td>{$firstName}</td> <td>{$firstName}</td>
</tr> </tr>
{/if} {/if}
{if $lastName neq ""} {if $lastName neq ""}
<tr> <tr>
<td><strong>LastName:</strong></td> <td><strong>LastName:</strong></td>
<td>{$lastName}</td> <td>{$lastName}</td>
</tr> </tr>
{/if} {/if}
{if $country neq ""} {if $country neq ""}
<tr> <tr>
<td><strong>Country:</strong></td> <td><strong>Country:</strong></td>
<td>{$country}</td> <td>{$country}</td>
</tr> </tr>
{/if} {/if}
{if $gender neq 0} {if $gender neq 0}
@ -56,17 +52,13 @@
{/if} {/if}
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
<div class="box span3"> <div class="box span3">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i>Actions</h2> <h2><i class="icon-th"></i>Actions</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -90,10 +82,10 @@
{/if} {/if}
<li class="divider"></li> <li class="divider"></li>
{/if} {/if}
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
@ -102,10 +94,6 @@
<div class="box span9"> <div class="box span9">
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-tag"></i> Tickets of {$target_name}</h2> <h2><i class="icon-tag"></i> Tickets of {$target_name}</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="row-fluid"> <div class="row-fluid">
@ -119,7 +107,7 @@
<th>Category</th> <th>Category</th>
<th>Status</th> <th>Status</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$ticketlist item=ticket} {foreach from=$ticketlist item=ticket}
<tr> <tr>
@ -128,15 +116,15 @@
<td class="center"><i>{$ticket.timestamp}</i></td> <td class="center"><i>{$ticket.timestamp}</i></td>
<td class="center">{$ticket.category}</td> <td class="center">{$ticket.category}</td>
<td class="center"><span class="label {if $ticket.status eq 0}label-success{else if $ticket.status eq 1}label-warning{else if $ticket.status eq 2}label-important{/if}">{if $ticket.status eq 0} <i class="icon-exclamation-sign icon-white"></i>{/if} {$ticket.statusText}</span></td> <td class="center"><span class="label {if $ticket.status eq 0}label-success{else if $ticket.status eq 1}label-warning{else if $ticket.status eq 2}label-important{/if}">{if $ticket.status eq 0} <i class="icon-exclamation-sign icon-white"></i>{/if} {$ticket.statusText}</span></td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -1,15 +1,9 @@
{block name=content} {block name=content}
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well"> <div class="box-header well">
<h2><i class="icon-info-sign"></i>{$syncing_title}</h2> <h2><i class="icon-info-sign"></i>{$syncing_title}</h2>
<div class="box-icon">
<a href="#" class="btn btn-round" onclick="javascript:show_help('intro');return false;"><i class="icon-info-sign"></i></a>
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<center> <center>
@ -35,15 +29,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="row-fluid sortable"> <div class="row-fluid sortable">
<div class="box span12"> <div class="box span12">
<div class="box-header well" data-original-title> <div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> {$members}</h2> <h2><i class="icon-user"></i> {$members}</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
@ -52,17 +41,17 @@
<th>{$id}</th> <th>{$id}</th>
<th>{$type}</th> <th>{$type}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$liblist item=element} {foreach from=$liblist item=element}
<tr> <tr>
<td>{$element.id}</td> <td>{$element.id}</td>
<td class="center">{$element.type}</td> <td class="center">{$element.type}</td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<div style="width: 300px; margin:0px auto;"> <div style="width: 300px; margin:0px auto;">
@ -76,7 +65,7 @@
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}

View file

@ -1,13 +1,8 @@
{block name=content} {block name=content}
<div class="row-fluid"> <div class="row-fluid">
<div class="box span12"> <div class="box span12">
<div class="box-header well" data-original-title> <div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Members</h2> <h2><i class="icon-user"></i> Members</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div> </div>
<div class="box-content"> <div class="box-content">
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
@ -19,7 +14,7 @@
<th>Permission</th> <th>Permission</th>
<th>Action</th> <th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{foreach from=$userlist item=element} {foreach from=$userlist item=element}
<tr> <tr>
@ -53,14 +48,14 @@
{/if} {/if}
<li class="divider"></li> <li class="divider"></li>
</ul> </ul>
</div> </div>
{/if} {/if}
</td> </td>
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
<div style="width: 300px; margin:0px auto;"> <div style="width: 300px; margin:0px auto;">
@ -74,7 +69,7 @@
</div> </div>
</div> </div>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
{/block} {/block}