Нет описания

admin_remove.html 1.2KB

1234567891011121314151617181920212223242526272829
  1. {% extends 'base.html' %}
  2. {% block header %}
  3. <h1>{% block title %}UPR Queue: Remove Station{% endblock %}</h1>
  4. {% endblock %}
  5. {% block content %}
  6. <form action="" method="post">
  7. <input type="radio" onclick="javascript:addInformation();" name="check" id="what_to_delete" value="s_id"> Identificación de Station<br>
  8. <input type="radio" onclick="javascript:addInformation();" name="check" id="what_to_delete" value="nombre_empleado"> Nombre del Empleado<br>
  9. <input type="radio" onclick="javascript:addInformation();" name="check" id="what_to_delete" value="oficina"> Oficina<br>
  10. <input type="radio" onclick="javascript:addInformation();" name="check" id="what_to_delete" value="last_turn"> Ultimo turno<br>
  11. {{ form.submit }}
  12. </form>
  13. <div id="showUp" style="visibility:hidden">
  14. Escribe el valor por el quiere remover: <input type='text' id='value' name='value'><br>
  15. </div>
  16. <script>
  17. function addInformation() {
  18. if (document.getElementById('what_to_delete').checked) {
  19. document.getElementById('showUp').style.visibility = 'visible';
  20. else document.getElementById('showUp').style.visibility = 'hidden';
  21. }
  22. </script>
  23. {% endblock %}