From a97e78069c0e7e1a402fb58932ae1b740f565a2d Mon Sep 17 00:00:00 2001 From: Sujit Prasad Date: Wed, 20 Apr 2016 15:26:00 +0530 Subject: [PATCH] update v1.0.7.1 --- .../Admin/helpdesk/TemplateController.php | 2 +- public/lb-faveo/css/notification-style.css | 22 ++ .../media/images/check_radio_sheet.png | Bin 0 -> 4343 bytes resources/lang/en/lang.php | 2 + resources/views/notifications-all.blade.php | 242 +++++++++--------- .../helpdesk/dept-ticket/closed.blade.php | 4 +- .../helpdesk/dept-ticket/inprogress.blade.php | 4 +- .../agent/helpdesk/dept-ticket/open.blade.php | 4 +- .../agent/helpdesk/ticket/answered.blade.php | 4 +- .../agent/helpdesk/ticket/assigned.blade.php | 4 +- .../agent/helpdesk/ticket/closed.blade.php | 4 +- .../agent/helpdesk/ticket/inbox.blade.php | 6 +- .../agent/helpdesk/ticket/myticket.blade.php | 4 +- .../agent/helpdesk/ticket/open.blade.php | 4 +- .../agent/helpdesk/ticket/overdue.blade.php | 4 +- .../agent/helpdesk/ticket/trash.blade.php | 4 +- .../helpdesk/ticket/unassigned.blade.php | 4 +- .../default1/agent/layout/agent.blade.php | 30 ++- .../php-imap/php-imap/src/PhpImap/Mailbox.php | 64 +---- 19 files changed, 196 insertions(+), 216 deletions(-) create mode 100644 public/lb-faveo/css/notification-style.css create mode 100644 public/lb-faveo/media/images/check_radio_sheet.png diff --git a/app/Http/Controllers/Admin/helpdesk/TemplateController.php b/app/Http/Controllers/Admin/helpdesk/TemplateController.php index 568dc84a0..cf41444e7 100644 --- a/app/Http/Controllers/Admin/helpdesk/TemplateController.php +++ b/app/Http/Controllers/Admin/helpdesk/TemplateController.php @@ -125,7 +125,7 @@ class TemplateController extends Controller */ public function listdirectories() { - $path = '../resources/views/emails/'; + $path = \Config::get('view.paths')[0].'/emails/'; $directories = scandir($path); $directory = str_replace('/', '-', $path); diff --git a/public/lb-faveo/css/notification-style.css b/public/lb-faveo/css/notification-style.css new file mode 100644 index 000000000..3596d38c5 --- /dev/null +++ b/public/lb-faveo/css/notification-style.css @@ -0,0 +1,22 @@ +.textcontent{ + display: inline-block; + padding-left: 5px; + font-weight: 600; + font-size: 14px; + font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif; +} +.task{ + opacity: 0.4; +} + +.task h6{ + text-decoration: line-through; +} + +.marginzero{ + margin: 0px; +} + +.font700{ + font-weight: 700; +} \ No newline at end of file diff --git a/public/lb-faveo/media/images/check_radio_sheet.png b/public/lb-faveo/media/images/check_radio_sheet.png new file mode 100644 index 0000000000000000000000000000000000000000..de6549fa2ccd9f55d243e20f354177ae1b1dbd26 GIT binary patch literal 4343 zcmVKLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;m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9DOfC>V1{sY;&tzet_8NeF=y0;M$8m_tnmOam*9Bl;hiWTkhIrR6eFY>8sa(sG%V z-a+~wnIw**wyYf!ET7MlJ$!^mUpr6s@DXyk)y>4BQ7nKYjT~VH@=Sth zFT%&((AH;L|L2Mc_#Gmnm~>?Ah+v-fSp4VPxXb^>-+zFGTZOu4tzxB}LwX*iQfVD0 zl@6>mM&TUJIh+%loZzlf8dysz9oSAR-}fj?zeVuHue4q51P6-q%WmFmbzhh2-tB-pB8mFkU-m7S~AQ6?cBb}e>dd7e-4@*6}8*VjkK z!gY$5-@xQjg?BJ38icjtywHdDwW=l6^6SmCB|Zs1Zxe}I-Ii& z;?+FQ*1HCiBqYWXhPy6xVksqY@4d^)t7pi+d7k9XZIU~;$-jA?l~>Q;-g_6NWLuU7 zaP=1v)jDeDYDPM2+-tNo3Z+`1Fw`z#jh@Zxa8GpI_K6G zuFloOGDLAiU;m!CFFWwcMl7v0=H@(w`B^?X*Ic+Ntvj-`)*i+hgpt*7a$9PRj5TQO zHCNJYSf2Jsm&+`ko~nd~b9mav7_%X(Ixh6~^`A|W_=)`LGQRau+HKg*?AqN+Z(sk} zTA{fyOOsBeNvDG*Rvg70Svqr1|Jw4M#jw`yY^V9|?aQt;&UIo*B?+qWE~F$*;!Rog zQ0m(CLjSe}>Qs-~L}UUcZ~HhOrQYT~k5WHQ&9v=jq()a!|1OErh<^3-VEKldyCyY znU{f=fQ6l6X(`qB_TGD++I#PPUk3)Zco4o1{0?}&xsSYitX4yTZ+G`(E_C-~I)1}y l6NY!4B|iP)y1ntg0RWwU 'terms', 'register' => 'Register', 'i_already_have_a_membership' => 'I already have a membership', + 'see-profile1' => 'Click here to see ', + 'see-profile2' => 's profile', /* |-------------------------------------- | Reset Password Page diff --git a/resources/views/notifications-all.blade.php b/resources/views/notifications-all.blade.php index bff4bbb5a..d279c27dc 100644 --- a/resources/views/notifications-all.blade.php +++ b/resources/views/notifications-all.blade.php @@ -6,39 +6,37 @@ class="active" @stop @section('HeadInclude') @stop @section('user-bar') @@ -52,38 +50,34 @@ class="active" @section('content') -
@if(Session::has('success')) -
- - Alert! Success. - - {{Session::get('success')}} -
- @endif - - @if(Session::has('fails')) -
- - Alert! Failed. - - {{Session::get('fails')}} -
- @endif +
+ + Alert! Success. + + {{Session::get('success')}} +
+ @endif + + @if(Session::has('fails')) +
+ + Alert! Failed. + + {{Session::get('fails')}} +
+ @endif -
-
- -
-
-

Notification Page

-
- -
+
+
+

Notification Page

+
+ +
@@ -96,9 +90,7 @@ class="active" + -->
    - @if(count($notifications)) - @foreach($notifications as $notification) - @if($notification->type == 'registration') + @if(count($notifications)) + @foreach($notifications as $notification) + @if($notification->type == 'registration')
  • - + - + +
    {!! $notification->message !!}
    + {{ $notification -> created_at }} +
    @@ -139,77 +131,73 @@ class="active"
  • @else
  • - +
    - - + +
  • - @endif - @endforeach - - @else + @endif + @endforeach + + @else
  • - -
    No Notifications Available!
    - - + +
    No Notifications Available!
    + +
  • @endif - +
- +
- - - - - - - - - - + + + + + + @stop \ No newline at end of file diff --git a/resources/views/themes/default1/agent/helpdesk/dept-ticket/closed.blade.php b/resources/views/themes/default1/agent/helpdesk/dept-ticket/closed.blade.php index a15ff7fd0..722714667 100644 --- a/resources/views/themes/default1/agent/helpdesk/dept-ticket/closed.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/dept-ticket/closed.blade.php @@ -110,7 +110,7 @@ $dept = App\Model\helpdesk\Agent\Department::where('name','=',$id)->first(); if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -118,7 +118,7 @@ $dept = App\Model\helpdesk\Agent\Department::where('name','=',$id)->first(); } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/dept-ticket/inprogress.blade.php b/resources/views/themes/default1/agent/helpdesk/dept-ticket/inprogress.blade.php index fe5846240..f22c076c8 100644 --- a/resources/views/themes/default1/agent/helpdesk/dept-ticket/inprogress.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/dept-ticket/inprogress.blade.php @@ -111,7 +111,7 @@ if (Auth::user()->role == 'agent') { if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -119,7 +119,7 @@ if (Auth::user()->role == 'agent') { } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/dept-ticket/open.blade.php b/resources/views/themes/default1/agent/helpdesk/dept-ticket/open.blade.php index 22f01fcbf..05d496314 100644 --- a/resources/views/themes/default1/agent/helpdesk/dept-ticket/open.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/dept-ticket/open.blade.php @@ -109,7 +109,7 @@ $dept = App\Model\helpdesk\Agent\Department::where('name','=',$id)->first(); if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -117,7 +117,7 @@ $dept = App\Model\helpdesk\Agent\Department::where('name','=',$id)->first(); } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/answered.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/answered.blade.php index 5e0153bd2..58d8793d7 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/answered.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/answered.blade.php @@ -112,7 +112,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -120,7 +120,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/assigned.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/assigned.blade.php index 9a76ba74f..d5ef1a6dd 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/assigned.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/assigned.blade.php @@ -104,7 +104,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -112,7 +112,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/closed.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/closed.blade.php index 647671202..822c96d00 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/closed.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/closed.blade.php @@ -104,7 +104,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -112,7 +112,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/inbox.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/inbox.blade.php index 9c22363a0..9cf8f8054 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/inbox.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/inbox.blade.php @@ -100,10 +100,10 @@ class="active" ->setClass('table table-hover table-bordered table-striped') ->setCallbacks("fnCreatedRow", 'function( nRow, aData, iDataIndex ) { var str = aData[3]; - if(str.search("#000") == -1) { + if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -111,7 +111,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/myticket.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/myticket.blade.php index 0d923fb31..ecbe85757 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/myticket.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/myticket.blade.php @@ -104,7 +104,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -112,7 +112,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/open.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/open.blade.php index fe8207a59..886fec3d5 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/open.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/open.blade.php @@ -109,7 +109,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -117,7 +117,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/overdue.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/overdue.blade.php index 037f2e0d4..d628c8cfa 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/overdue.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/overdue.blade.php @@ -125,7 +125,7 @@ if ($i == 0) { if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -133,7 +133,7 @@ if ($i == 0) { } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/trash.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/trash.blade.php index 90a748343..c11536bf1 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/trash.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/trash.blade.php @@ -107,7 +107,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -115,7 +115,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/helpdesk/ticket/unassigned.blade.php b/resources/views/themes/default1/agent/helpdesk/ticket/unassigned.blade.php index 3e5f69518..8db5370cd 100644 --- a/resources/views/themes/default1/agent/helpdesk/ticket/unassigned.blade.php +++ b/resources/views/themes/default1/agent/helpdesk/ticket/unassigned.blade.php @@ -109,7 +109,7 @@ class="active" if(str.search("#000") == -1) { $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #F3F3F3"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "font-weight":"600", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"#F3F3F3", "font-weight":"600", "border-bottom":"solid 0.5px #ddd","border-right":"solid 0.5px #F3F3F3"}); @@ -117,7 +117,7 @@ class="active" } else { $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); $("td", nRow).mouseenter(function(){ - $("td", nRow).css({"background-color":"#DEDFE0", "border":"none"}); + $("td", nRow).css({"background-color":"#DEDFE0", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px #DEDFE0"}); }); $("td", nRow).mouseleave(function(){ $("td", nRow).css({"background-color":"white", "border-bottom":"solid 0.5px #ddd", "border-right":"solid 0.5px white"}); diff --git a/resources/views/themes/default1/agent/layout/agent.blade.php b/resources/views/themes/default1/agent/layout/agent.blade.php index 6b2896945..7483c16c9 100644 --- a/resources/views/themes/default1/agent/layout/agent.blade.php +++ b/resources/views/themes/default1/agent/layout/agent.blade.php @@ -30,6 +30,7 @@ + @@ -205,7 +206,7 @@ $tickets = App\Model\helpdesk\Ticket\Tickets::where('status','1')->where('dept_i $deleted = App\Model\helpdesk\Ticket\Tickets::where('status', '5')->where('dept_id','=',Auth::user())->get(); } if (Auth::user()->role == 'agent') { - $dept = Department::where('id', '=', Auth::user()->primary_dpt)->first(); + $dept = App\Model\helpdesk\Agent\Department::where('id', '=', Auth::user()->primary_dpt)->first(); $overdues = App\Model\helpdesk\Ticket\Tickets::where('status', '=', 1)->where('isanswered', '=', 0)->where('dept_id', '=', $dept->id)->orderBy('id', 'DESC')->get(); } else { $overdues = App\Model\helpdesk\Ticket\Tickets::where('status', '=', 1)->where('isanswered', '=', 0)->orderBy('id', 'DESC')->get(); @@ -400,7 +401,34 @@ $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where( + +