update jquery
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
{% block title %}Location Data{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="." method="post" id="location-form">{% csrf_token %}
|
||||
<form action="." method="post" id="location-form">
|
||||
{% csrf_token %}
|
||||
<div id="location-selector" class="alert">
|
||||
<select class="form-control" form="location-form" name="location-selector">
|
||||
<select class="form-control" form="location-form" name="location-selector" id="location-select">
|
||||
{% for loc in locations %}
|
||||
<option value="{{ loc.id }}"{% if loc.id == location_id %} selected{% endif %}>{{ loc.code }} - {{ loc.name }}</option>
|
||||
{% endfor %}
|
||||
@@ -34,7 +35,7 @@
|
||||
{% endif %}
|
||||
{% if cli.desk2_enable %}
|
||||
<div class="col-md-6">
|
||||
<div class="col-sm-12 box table-info alert {% with cli.accounting_2|last as last %}{% if last.time_to is None %}alert-info{% else %}alert-success{% endif %}{% endwith %}">
|
||||
<div class="col-md-12 table-info alert {% with cli.accounting_2|last as last %}{% if last.time_to is None %}alert-info{% else %}alert-success{% endif %}{% endwith %}">
|
||||
<h4 style="text-align: center">(2) {{ cli.desk2_name }}</h4>
|
||||
{% if cli.accounting_2 %}
|
||||
<table class="table">
|
||||
@@ -52,7 +53,9 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<div class="alert alert-danger">Keine Tische angelegt!</div>
|
||||
<div class="col-md-12">
|
||||
<div class="col-md-12 alert alert-danger">Keine Tische angelegt!</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user