File "tickets.twig"
Full Path: /home/cananyalcin/public_html/core/temp/client/Super-Rental/tickets.twig
File size: 2.64 KB
MIME-type: text/html
Charset: utf-8
{% include 'header.twig' %}
<div class="inner-page" style="display: inline-block;">
<section>
<div class="container">
<style>
.nicEdit-main {
width: auto !important;
min-height: 100px !important;
}
</style>
<div class="row justify-content-center payments-panel ticket-panel">
<div class="col-lg-8">
<div class="card">
<div class="card-body pt-0">
{% if error %}
<div class="alert alert-dismissible alert-danger {% if site['rtl'] %} rtl-alert {% endif %}">
<button type="button" class="close" data-dismiss="alert">×</button>
{{ errorText }}
</div>
{% elseif success %}
<div class="alert alert-dismissible alert-success {% if site['rtl'] %} rtl-alert {% endif %}">
<button type="button" class="close" data-dismiss="alert">×</button>
{{ successText }}
</div>
{% endif %}
<form method="post" action="tickets">
<div class="form-group">
<br>
<label for="subject" class="control-label">{{ lang['tickets.subject'] }}</label>
<select class="form-control" id="subject" name="subject">
{% for subjects in orders %}
<option value"{{ subjects['subject'] }}">{{ subjects['subject'] }}</option>
{% endfor %}
</select>
</div>
<div class="form-group">
<label for="message" class="control-label">{{ lang['tickets.message'] }}</label>
<textarea class="form-control" rows="7" id="message" name="message">{{ data['message'] }}</textarea>
</div>
<button type="submit" class="btn btn-primary">{{ lang['tickets.button'] }}</button>
</form>
</div>
</div>
</div>
<style type="text/css">
.unreadMessages>td:nth-child(2){
font-weight: 800;
}
</style>
<div class="card my-orders-panel dripfeed-panel" style="overflow-y:auto;height:300px;">
<div class="card-body">
<table class="table ">
<thead>
<tr>
<th>Id</th>
<th>Subject</th>
<th>Status</th>
<th class="nowrap">Last update</th>
</tr>
</thead>
<tbody>
{% for ticket in ticketList %}
<tr>
<td>{{ ticket['ticket_id'] }}</td>
<td><a href="tickets/{{ ticket['ticket_id'] }}">{{ ticket['subject'] }}
</a></td>
<td> {{ ticket['status'] }}</td>
<td><span class="nowrap">{{ ticket['lastupdate_time'] }}</span></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div></div></div></div>
</div></div></div></div></div></div>
</div>
<br><br><br><br><br>
{% include 'footer.twig' %}