FIX Responsive of public interface of ticket
This commit is contained in:
parent
de4142e23e
commit
220f8300c1
@ -185,5 +185,5 @@ function llxHeaderTicket($title, $head = "", $disablejs = 0, $disablehead = 0, $
|
||||
print '</center><br>';
|
||||
}
|
||||
|
||||
print '<div style="margin-left: 50px; margin-right: 50px;">';
|
||||
print '<div class="ticketlargemargin">';
|
||||
}
|
||||
|
||||
@ -223,7 +223,7 @@ $arrayofcss = array('/ticket/css/styles.css.php');
|
||||
|
||||
llxHeaderTicket($langs->trans("Tickets"), "", 0, 0, $arrayofjs, $arrayofcss);
|
||||
|
||||
print '<div style="margin: 0 auto; width:60%" class="ticketpublicarea">';
|
||||
print '<div style="margin: 0 auto;" class="ticketpublicarea">';
|
||||
|
||||
if ($action == "view_ticket" || $action == "presend" || $action == "close" || $action == "confirm_public_close") {
|
||||
if ($display_ticket) {
|
||||
@ -350,8 +350,9 @@ if ($action == "view_ticket" || $action == "presend" || $action == "close" || $a
|
||||
print "</form>\n";
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
// List ticket
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="javascript:$(\'#form_view_ticket_list\').submit();">' . $langs->trans('ViewMyTicketList') . '</a></div>';
|
||||
print '<div class="inline-block divButAction"><a class="left" style="padding-right: 50px" href="javascript:$(\'#form_view_ticket_list\').submit();">' . $langs->trans('ViewMyTicketList') . '</a></div>';
|
||||
|
||||
if ($object->dao->fk_statut < Ticket::STATUS_CLOSED) {
|
||||
// New message
|
||||
|
||||
@ -5247,10 +5247,26 @@ div.tabsElem a.tab {
|
||||
/* ============================================================================== */
|
||||
/* Ticket module */
|
||||
/* ============================================================================== */
|
||||
|
||||
.ticketpublicarea {
|
||||
width: 70%;
|
||||
}
|
||||
.publicnewticketform {
|
||||
margin-top: 25px !important;
|
||||
}
|
||||
.ticketlargemargin {
|
||||
padding-left: 50px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
@media only screen and (max-width: 767px)
|
||||
{
|
||||
.ticketlargemargin {
|
||||
padding-left: 5px; padding-right: 5px;
|
||||
}
|
||||
.ticketpublicarea {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#cd-timeline {
|
||||
position: relative;
|
||||
padding: 2em 0;
|
||||
|
||||
@ -5404,9 +5404,25 @@ border-top-right-radius: 6px;
|
||||
/* Ticket module */
|
||||
/* ============================================================================== */
|
||||
|
||||
.ticketpublicarea {
|
||||
width: 70%;
|
||||
}
|
||||
.publicnewticketform {
|
||||
margin-top: 25px !important;
|
||||
}
|
||||
.ticketlargemargin {
|
||||
padding-left: 50px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
@media only screen and (max-width: 767px)
|
||||
{
|
||||
.ticketlargemargin {
|
||||
padding-left: 5px; padding-right: 5px;
|
||||
}
|
||||
.ticketpublicarea {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#cd-timeline {
|
||||
position: relative;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user