|
1 | 1 | <div class="panel panel-default"> |
2 | 2 | <div id="ticket-body" class="panel-body"> |
3 | 3 | <div class="row" style="margin-bottom: 0.2em;"> |
4 | | - <div class="col-md-8"> |
| 4 | + <div class="col-sm-8 col-lg-7"> |
5 | 5 | <h2 style="margin: 0em 0em 0.5em 0em;"> |
6 | 6 | @if ($ticket->completed_at) |
7 | 7 | <span class="text-success"><span class="glyphicon glyphicon-ok-circle" title="tiquet completat" style="cursor: help"></span> {{ $ticket->subject }}</span> |
|
10 | 10 | @endif |
11 | 11 | </h2> |
12 | 12 | </div> |
13 | | - <div class="col-md-4 text-right"> |
| 13 | + <div class="col-sm-4 col-lg-5 text-right"> |
14 | 14 | @if ($u->currentLevel() > 1) |
15 | 15 | <a href="{{ route($setting->grab('main_route').'.hide', ['value' => $ticket->hidden ? 'false' : 'true', 'ticket'=>$ticket->id]) }}" class="btn btn-default tooltip-info" style="border: none; color: #aaa;" data-toggle="tooltip" data-placement="auto top" title="{{ trans('panichd::lang.ticket-hidden-button-title') }}">{!! $ticket->hidden ? '<span class="glyphicon glyphicon-eye-close"></span> '.trans('panichd::lang.ticket-hidden') : '<span class="glyphicon glyphicon-eye-open"></span> '.trans('panichd::lang.ticket-visible') !!}</a> |
16 | 16 | @endif |
17 | 17 | @if ($ticket->updated_at!=$ticket->created_at) |
18 | | - <span class="tooltip-info" data-toggle="tooltip" data-placement="auto top" title="{{ trans('panichd::lang.date-info-updated') }}" style="color: #aaa; cursor: help"> |
| 18 | + <span class="tooltip-info" data-toggle="tooltip" data-placement="auto top" title="{{ trans('panichd::lang.date-info-updated') }}" style="display: inline-block; color: #aaa; cursor: help"> |
19 | 19 | <span class="glyphicon glyphicon-pencil"></span> {{ $ticket->updated_at->diffForHumans() }} |
20 | 20 | </span> |
21 | 21 | @endif |
22 | | - <span class="tooltip-info" data-toggle="tooltip" data-placement="auto top" title="{{ trans('panichd::lang.date-info-created') }}" style="color: #aaa; cursor: help"> |
| 22 | + <span class="tooltip-info" data-toggle="tooltip" data-placement="auto top" title="{{ trans('panichd::lang.date-info-created') }}" style="display: inline-block; color: #aaa; cursor: help"> |
23 | 23 | <span class="glyphicon glyphicon-certificate"></span> {{ $ticket->created_at->diffForHumans() }} |
24 | 24 | </span> |
25 | 25 |
|
@@ -58,7 +58,7 @@ class="btn btn-default" |
58 | 58 | </div> |
59 | 59 |
|
60 | 60 | <div class="row"> |
61 | | - <div class="col-lg-2 col-sm-3"> |
| 61 | + <div class="col-lg-3 col-sm-4"> |
62 | 62 | <p> |
63 | 63 | <strong>{{ trans('panichd::lang.ticket') }}</strong>{{ trans('panichd::lang.colon') . trans('panichd::lang.table-id') . $ticket->id }} |
64 | 64 | @if ($u->currentLevel() > 1) |
@@ -130,21 +130,21 @@ class="btn btn-default" |
130 | 130 | @if ($ticket->has('tags') && ($u->currentLevel() > 1 || in_array($ticket->user_id, $u->getMyNoticesUsers())) ) |
131 | 131 | <br /><strong>{{ trans('panichd::lang.tags') }}</strong>{{ trans('panichd::lang.colon') }} |
132 | 132 | @foreach ($ticket->tags as $i=>$tag) |
133 | | - <button class="btn btn-default btn-sm" style="pointer-events: none; color: {{$tag->text_color}}; background: {{$tag->bg_color}}">{{$tag->name}}</button> |
| 133 | + <button class="btn btn-default btn-xs" style="pointer-events: none; border: none; color: {{$tag->text_color}}; background: {{$tag->bg_color}}">{{$tag->name}}</button> |
134 | 134 | @endforeach |
135 | 135 | @endif |
136 | 136 | </p> |
137 | 137 | </div> |
138 | | - <div class="col-lg-10 col-sm-9"> |
| 138 | + <div class="col-lg-9 col-sm-8"> |
139 | 139 | <div class="row row-eq-height"> |
140 | | - <div class="description-col {{ $ticket->intervention_html ? 'col-md-6' : 'col-md-12'}}"> |
| 140 | + <div class="description-col {{ $ticket->intervention_html ? 'col-lg-6' : 'col-md-12'}}"> |
141 | 141 | <div> |
142 | 142 | <b>{{ trans('panichd::lang.description') }}</b> |
143 | 143 | </div> |
144 | 144 | <div class="summernote-text-wrapper"> {!! $ticket->html !!} </div> |
145 | 145 | </div> |
146 | 146 | @if ($ticket->intervention_html) |
147 | | - <div class="intervention-col col-md-6"> |
| 147 | + <div class="intervention-col col-lg-6"> |
148 | 148 | <div> |
149 | 149 | <b>{{ trans('panichd::lang.intervention') }}</b> |
150 | 150 | </div> |
@@ -197,17 +197,21 @@ class="btn btn-default" |
197 | 197 | </div> |
198 | 198 | </div> |
199 | 199 |
|
200 | | - @if(! $ticket->completed_at && $close_perm == 'yes') |
201 | | - <button type="submit" class="btn btn-default" data-toggle="modal" data-target="#ticket-complete-modal" data-status_id="{{ $setting->grab('default_close_status_id') }}">{{ trans('panichd::lang.btn-mark-complete') }}</button> |
202 | | - @elseif($ticket->completed_at && $reopen_perm == 'yes') |
203 | | - {!! link_to_route($setting->grab('main_route').'.reopen', trans('panichd::lang.reopen-ticket'), $ticket->id, |
204 | | - ['class' => 'btn btn-default']) !!} |
205 | | - @endif |
206 | | - @if($u->currentLevel() > 1 && $u->canManageTicket($ticket->id)) |
207 | | - {!! link_to_route($setting->grab('main_route').'.edit', trans('panichd::lang.btn-edit'), $ticket->id, |
208 | | - ['class' => 'btn btn-default']) !!} |
209 | | - <div class="visible-xs"><br /></div> |
210 | | - @endif |
| 200 | + <div style="margin: 1em 0em 0em 0em;"> |
| 201 | + @if(! $ticket->completed_at && $close_perm == 'yes') |
| 202 | + <button type="submit" class="btn btn-default" data-toggle="modal" data-target="#ticket-complete-modal" data-status_id="{{ $setting->grab('default_close_status_id') }}">{{ trans('panichd::lang.btn-mark-complete') }}</button> |
| 203 | + @elseif($ticket->completed_at && $reopen_perm == 'yes') |
| 204 | + {!! link_to_route($setting->grab('main_route').'.reopen', trans('panichd::lang.reopen-ticket'), $ticket->id, |
| 205 | + ['class' => 'btn btn-default']) !!} |
| 206 | + @endif |
| 207 | + @if($u->currentLevel() > 1 && $u->canManageTicket($ticket->id)) |
| 208 | + {!! link_to_route($setting->grab('main_route').'.edit', trans('panichd::lang.btn-edit'), $ticket->id,[ |
| 209 | + 'class' => 'btn btn-default', |
| 210 | + 'style' => 'margin: 0em 0em 0em 0.5em' |
| 211 | + ]) !!} |
| 212 | + <div class="visible-xs"><br /></div> |
| 213 | + @endif |
| 214 | + </div> |
211 | 215 |
|
212 | 216 | {!! CollectiveForm::open([ |
213 | 217 | 'method' => 'DELETE', |
|
0 commit comments