update jquery
This commit is contained in:
parent
047a022f7e
commit
a003fbcf19
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
.idea/
|
.idea/
|
||||||
static/
|
/static/
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
.so
|
.so
|
||||||
|
3
billard/static/billard/js/carom.js
Normal file
3
billard/static/billard/js/carom.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
$('#location-select').change(function(){
|
||||||
|
$('form#location-form').submit();
|
||||||
|
});
|
11008
billard/static/billard/js/jquery-1.12.4.js
vendored
Normal file
11008
billard/static/billard/js/jquery-1.12.4.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5
billard/static/billard/js/jquery-1.12.4.min.js
vendored
Normal file
5
billard/static/billard/js/jquery-1.12.4.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -3,9 +3,10 @@
|
|||||||
{% block title %}Location Data{% endblock %}
|
{% block title %}Location Data{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% 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">
|
<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 %}
|
{% for loc in locations %}
|
||||||
<option value="{{ loc.id }}"{% if loc.id == location_id %} selected{% endif %}>{{ loc.code }} - {{ loc.name }}</option>
|
<option value="{{ loc.id }}"{% if loc.id == location_id %} selected{% endif %}>{{ loc.code }} - {{ loc.name }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -34,7 +35,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if cli.desk2_enable %}
|
{% if cli.desk2_enable %}
|
||||||
<div class="col-md-6">
|
<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>
|
<h4 style="text-align: center">(2) {{ cli.desk2_name }}</h4>
|
||||||
{% if cli.accounting_2 %}
|
{% if cli.accounting_2 %}
|
||||||
<table class="table">
|
<table class="table">
|
||||||
@ -52,7 +53,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user