From 71e523cab15cefd39b3c88973614808d35a21bd8 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Wed, 29 Nov 2017 11:30:08 +0100 Subject: [PATCH] unused files removed --- smash/web/templates/subjects/delete.html | 93 ----------------------- smash/web/templates/subjects/details.html | 89 ---------------------- 2 files changed, 182 deletions(-) delete mode 100644 smash/web/templates/subjects/delete.html delete mode 100644 smash/web/templates/subjects/details.html diff --git a/smash/web/templates/subjects/delete.html b/smash/web/templates/subjects/delete.html deleted file mode 100644 index 372dce81..00000000 --- a/smash/web/templates/subjects/delete.html +++ /dev/null @@ -1,93 +0,0 @@ -{% extends "_base.html" %} -{% load static %} -{% load filters %} - -{% block styles %} - {{ block.super }} - <!-- DataTables --> - <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> -{% endblock styles %} - -{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} -{% block page_header %}Are you sure you want to remove information concerning this subject?{% endblock page_header %} -{% block page_description %}{% endblock page_description %} - -{% block title %}{{ block.super }} - Delete subject information{% endblock %} - -{% block breadcrumb %} - {% include "subjects/breadcrumb.html" %} -{% endblock breadcrumb %} - -{% block maincontent %} - - - {% block content %} - <div class="box box-info"> - <div class="box-header with-border"> - <a href="{% url 'web.views.subjects' %}" class="btn btn-block btn-default" onclick="history.back()">Go - back (without changes)</a> - </div> - - {% comment %} <div class="box-header with-border"> - <h3 class="box-title">Details of subject</h3> - </div>{% endcomment %} - - <form method="post" action="" class="form-horizontal"> - {% csrf_token %} - - <div class="box-body"> - {% for field in form %} - <div class="col-md-6 form-group"> - <label class="col-sm-4 control-label"> - {{ field.label }} - </label> - - <div class="col-sm-8"> - {{ field|disable|add_class:'form-control' }} - </div> - - {% if field.help_text %} - <span class="help-block"> - {{ field.help_text }} - </span> - {% endif %} - </div> - {% endfor %} - </div><!-- /.box-body --> - - <div class="box-footer"> - <div class="col-sm-6"> - <button type="submit" class="btn btn-block btn-danger">Delete</button> - </div> - <div class="col-sm-6"> - <a href="{% url 'web.views.subjects' %}" class="btn btn-block btn-default" - onclick="history.back()">Cancel</a> - </div> - </div><!-- /.box-footer --> - </form> - </div> - {% endblock %} - - - - -{% endblock maincontent %} - -{% block scripts %} - {{ block.super }} - - <script src="{% static 'AdminLTE/plugins/datatables/jquery.dataTables.min.js' %}"></script> - <script src="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.min.js' %}"></script> - <script> - $(function () { - $('#table').DataTable({ - "paging": true, - "lengthChange": false, - "searching": true, - "ordering": true, - "info": true, - "autoWidth": false - }); - }); - </script> -{% endblock scripts %} diff --git a/smash/web/templates/subjects/details.html b/smash/web/templates/subjects/details.html deleted file mode 100644 index d3cd52aa..00000000 --- a/smash/web/templates/subjects/details.html +++ /dev/null @@ -1,89 +0,0 @@ -{% extends "_base.html" %} -{% load static %} -{% load filters %} - -{% block styles %} - {{ block.super }} - <!-- DataTables --> - <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> -{% endblock styles %} - -{% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} -{% block page_header %}Details of the subject{% endblock page_header %} -{% block page_description %}{% endblock page_description %} - -{% block title %}{{ block.super }} - Details of subject {% endblock %} - -{% block breadcrumb %} - {% include "subjects/breadcrumb.html" %} -{% endblock breadcrumb %} - -{% block maincontent %} - - {% block content %} - <div class="box box-info"> - <div class="box-header with-border"> - <a href="javascript:history.back(1)" class="btn btn-block btn-default">Back</a> - </div> - - {% comment %} <div class="box-header with-border"> - <h3 class="box-title">Details of subject</h3> - </div>{% endcomment %} - - <form class="form-horizontal"> - <div class="box-body"> - {% for field in form %} - <div class="col-md-6 form-group {% if field.errors %}has-error{% endif %}"> - <label for="{# TODO #}" class="col-sm-4 control-label"> - {{ field.label }} - </label> - - <div class="col-sm-8"> - {{ field|disable|add_class:'form-control' }} - </div> - - {% if field.errors %} - <span class="help-block"> - {{ field.errors }} - </span> - {% endif %} - </div> - {% endfor %} - </div><!-- /.box-body --> - - <a href="{% url 'web.views.subject_visit_details' sid %}" type="button" - class="btn btn-block btn-default">Subject's visits</a> - - - <div class="box-footer"> - <a href="javascript:history.back(1)" class="btn btn-block btn-default">Back</a> - </div><!-- /.box-footer --> - </form> - </div> - - </form> - {% endblock %} - - - - -{% endblock maincontent %} - -{% block scripts %} - {{ block.super }} - - <script src="{% static 'AdminLTE/plugins/datatables/jquery.dataTables.min.js' %}"></script> - <script src="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.min.js' %}"></script> - <script> - $(function () { - $('#table').DataTable({ - "paging": true, - "lengthChange": false, - "searching": true, - "ordering": true, - "info": true, - "autoWidth": false - }); - }); - </script> -{% endblock scripts %} -- GitLab