##// END OF EJS Templates
Task #714: Modulo Web ABS...
Task #714: Modulo Web ABS git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@204 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r167:79313b2469ac
r181:ea9394e8ace0
Show More
abs_conf_edit.html
46 lines | 1.3 KiB | text/html | HtmlDjangoLexer
/ apps / abs / templates / abs_conf_edit.html
Fiorella Quino
Task #716: ABS Views...
r167 {% extends "dev_conf_edit.html" %}
{% load bootstrap3 %}
{% load static %}
{% block extra-head %}
<style type="text/css">
/* show the move cursor as the user moves the mouse over the panel header.*/
.panel-default { cursor: move; }
</style>
<script src="{% static 'js/jquery-ui.min.js' %}"></script>
{% endblock %}
{% block content %}
<form class="form" method="post">
{% csrf_token %}
{% bootstrap_form form layout='horizontal' size='medium' %}
<div style="clear: both;"></div>
<h2>ABS Beams</h2><hr>
<div class="panel-group" id="div_beams" role="tablist" aria-multiselectable="true">
{% include "abs_beams_list.html" %}
</div>
<div style="clear: both;"></div>
<br>
<div class="pull-right">
<button type="button" class="btn btn-primary" onclick="{% if previous %}window.location.replace('{{ previous }}');{% else %}history.go(-1);{% endif %}">Cancel</button>
<button type="button" class="btn btn-primary" id="bt_add_beam">Add Beam</button>
<button type="submit" class="btn btn-primary">{{button}}</button>
</div>
</form>
{% endblock %}
{% block extra-js%}
<script type="text/javascript">
$("#bt_toggle").click(function() {
$(".panel-collapse").collapse('toggle')
});
$("#bt_add_beam").click(function() {
document.location = "{% url 'url_add_abs_beam' id_conf %}";
});
</script>
{% endblock %}