Factor out client side settings functions into their own JS file,

and add additional variations for getting ints, floats and bools.
This commit is contained in:
Dave Page
2015-02-11 15:50:36 +00:00
parent adeb2f9e84
commit afb029e284
4 changed files with 54 additions and 24 deletions

View File

@@ -42,7 +42,9 @@
<script src="{{ url_for('static', filename='js/vendor/jquery-ui/jquery-ui.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/vendor/jquery-layout/jquery.layout.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/vendor/jquery-layout/plugins/jquery.layout.state.js') }}"></script>
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
<script>
{% include "js/settings.js" %}
</script>
<script>
alertify.defaults.transition = "zoom";