From 7f180c329500582716fb597ba708dfe844c7ca11 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 3 Sep 2014 03:08:57 +0200 Subject: [PATCH] Remove excessive javascript interactivity in AMS --- code/web/public_php/ams/css/charisma-app.css | 22 +-- .../public_php/ams/templates/createticket.tpl | 20 ++- .../public_php/ams/templates/dashboard.tpl | 22 ++- .../public_php/ams/templates/homebackup.tpl | 6 - .../ams/templates/install_plugin.tpl | 12 +- code/web/public_php/ams/templates/layout.tpl | 8 +- code/web/public_php/ams/templates/plugins.tpl | 15 +- .../ams/templates/plugins_update.tpl | 15 +- .../web/public_php/ams/templates/settings.tpl | 134 ++++++++---------- .../public_php/ams/templates/sgroup_list.tpl | 42 +++--- .../public_php/ams/templates/show_queue.tpl | 46 +++--- .../public_php/ams/templates/show_reply.tpl | 10 +- .../public_php/ams/templates/show_sgroup.tpl | 62 ++++---- .../public_php/ams/templates/show_ticket.tpl | 56 ++++---- .../ams/templates/show_ticket_info.tpl | 32 ++--- .../ams/templates/show_ticket_log.tpl | 11 +- .../public_php/ams/templates/show_user.tpl | 42 ++---- code/web/public_php/ams/templates/syncing.tpl | 25 +--- .../web/public_php/ams/templates/userlist.tpl | 17 +-- 19 files changed, 232 insertions(+), 365 deletions(-) diff --git a/code/web/public_php/ams/css/charisma-app.css b/code/web/public_php/ams/css/charisma-app.css index 7b6ae40fa..cbd2290e0 100644 --- a/code/web/public_php/ams/css/charisma-app.css +++ b/code/web/public_php/ams/css/charisma-app.css @@ -46,19 +46,19 @@ height: 16px; padding: 0 5px; font-family: Arial, sans-serif; color: white !important; -text-shadow: 0 1px +text-shadow: 0 1px hsla(0, 0%, 0%, 0.25); border-width: 1px; border-style: solid; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; --webkit-box-shadow: 0 1px 1px -hsla(0, 0%, 0%, 0.08), inset 0 1px +-webkit-box-shadow: 0 1px 1px +hsla(0, 0%, 0%, 0.08), inset 0 1px 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); -box-shadow: 0 1px 1px -hsla(0, 0%, 0%, 0.08), inset 0 1px +box-shadow: 0 1px 1px +hsla(0, 0%, 0%, 0.08), inset 0 1px hsla(0, 100%, 100%, 0.3); } @@ -128,7 +128,7 @@ border: 1px solid #DEDEDE; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; -margin-top: 10px; +margin-top: 10px; margin-bottom: 10px ; 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; min-height:12px; margin-bottom: 0; -cursor:move; +/*cursor:move;*/ font-weight:bold; font-size:16px; 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; } .brand{ -font-family: 'Shojumaru', cursive, Arial, serif; +font-family: 'Shojumaru', cursive, Arial, serif; letter-spacing:2px; text-shadow:1px 1px 5px rgba(0, 0, 0, 0.5); width:166px; @@ -368,7 +368,7 @@ margin-bottom:0; } @media (min-width: 768px) and (max-width: 979px) { .box-icon{ - display:none; + display:none; } .box-header h2{ font-size:13px !important; @@ -389,8 +389,8 @@ margin-left:10px; border-radius:0 0 10px 10px; -webkit-border-radius:0 0 10px 10px; -moz-border-radius:0 0 10px 10px; -padding-top:5px; -padding-bottom:5px; +padding-top:5px; +padding-bottom:5px; } div.dataTables_length select { width: 50px; diff --git a/code/web/public_php/ams/templates/createticket.tpl b/code/web/public_php/ams/templates/createticket.tpl index bd0564932..e6acfc9ed 100644 --- a/code/web/public_php/ams/templates/createticket.tpl +++ b/code/web/public_php/ams/templates/createticket.tpl @@ -3,16 +3,12 @@

Create a new Ticket

-
- - -
New ticket - +
@@ -21,7 +17,7 @@
- +
@@ -29,10 +25,10 @@ {foreach from=$category key=k item=v} {/foreach} - +
-
- +
+
@@ -50,10 +46,10 @@
- -
+ + {/block} - + diff --git a/code/web/public_php/ams/templates/dashboard.tpl b/code/web/public_php/ams/templates/dashboard.tpl index 778ced05f..893b8af2a 100644 --- a/code/web/public_php/ams/templates/dashboard.tpl +++ b/code/web/public_php/ams/templates/dashboard.tpl @@ -8,38 +8,32 @@
Tickets Waiting for Direct Action
{$nrAssignedWaiting} - +
Tickets Todo
{$nrToDo}
- +
Newest Ticket
{$newestTicketTitle}
- +
Total amount of Tickets
{$nrTotalTickets}
- - + + - +

{$home_title}

-
- - - - -

{$home_info}

@@ -61,12 +55,12 @@
  • Browse additional info sent along when a ticket is created ingame
  • All the above can be done while ingame too
  • - +
    - + {/block} diff --git a/code/web/public_php/ams/templates/homebackup.tpl b/code/web/public_php/ams/templates/homebackup.tpl index 8ba4ae14f..8414c1cd3 100644 --- a/code/web/public_php/ams/templates/homebackup.tpl +++ b/code/web/public_php/ams/templates/homebackup.tpl @@ -113,12 +113,6 @@

    Introduction

    -
    - - - - -

    Charisma free, premium quality, responsive, multiple skin admin template.

    diff --git a/code/web/public_php/ams/templates/install_plugin.tpl b/code/web/public_php/ams/templates/install_plugin.tpl index 968d6cec4..0d66e2921 100644 --- a/code/web/public_php/ams/templates/install_plugin.tpl +++ b/code/web/public_php/ams/templates/install_plugin.tpl @@ -1,15 +1,9 @@ {block name=content} - +

    {$ip_title}

    -
    - - - - -
    @@ -22,7 +16,7 @@

    {if isset($smarty.get.result) and $smarty.get.result eq "0"}

    {$ip_file_nfnd}

    {/if} - {if isset($smarty.get.result) and $smarty.get.result eq "2"}

    {$ip_info_nfound}

    {/if} + {if isset($smarty.get.result) and $smarty.get.result eq "2"}

    {$ip_info_nfound}

    {/if}
    {$ip_message} @@ -31,6 +25,6 @@
    - +
    {/block} diff --git a/code/web/public_php/ams/templates/layout.tpl b/code/web/public_php/ams/templates/layout.tpl index 9665cfee3..f2a1f2c0c 100644 --- a/code/web/public_php/ams/templates/layout.tpl +++ b/code/web/public_php/ams/templates/layout.tpl @@ -18,7 +18,7 @@ - +