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

@ -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%);

View file

@ -3,10 +3,6 @@
<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">

View file

@ -34,12 +34,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> {$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>

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

@ -4,12 +4,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>{$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>

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

@ -3,11 +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> {$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}

View file

@ -3,11 +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> {$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>

View file

@ -3,10 +3,6 @@
<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">
@ -81,10 +77,6 @@
<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">
@ -161,10 +153,6 @@
<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">
@ -212,10 +200,6 @@
<div class="box-header well" data-original-title=""> <div class="box-header well" data-original-title="">
<h2><i class="icon-envelope"></i> Ticket updates</h2> <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>
@ -251,10 +235,6 @@
<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">

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">
@ -43,10 +39,6 @@
<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">

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> 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">
@ -144,10 +140,6 @@
<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">

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">

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">
@ -39,10 +35,6 @@
<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">
@ -104,10 +96,6 @@
<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">

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>{$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">
@ -135,10 +131,6 @@
<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">

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">
@ -83,10 +79,6 @@
<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">

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">
@ -35,4 +31,3 @@
</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">
@ -63,10 +59,6 @@
<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">
@ -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">

View file

@ -4,12 +4,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>{$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>
@ -39,11 +33,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> {$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">

View file

@ -3,11 +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> 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">