From 35c34c690ae9616d791c39fa218fe1621fa8d8d2 Mon Sep 17 00:00:00 2001 From: maxbr Date: Fri, 29 Jul 2016 12:43:43 +0200 Subject: import pharos dashboard code JIRA: RELENG-12 The last commit was missing some JS/CSS dependencies of the site. This happened because they are in folders that are named 'build' or 'dist'. This commit adds a bower.json file, that specifies dependencies. Dependencies can now be installed by running 'bower install' in the dashboard/static folder. Change-Id: I054f319c66771f767e97711cb678d79d3bd6bee4 Signed-off-by: maxbr --- .../templates/dashboard/booking_calendar.html | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 tools/pharos-dashboard/templates/dashboard/booking_calendar.html (limited to 'tools/pharos-dashboard/templates/dashboard/booking_calendar.html') diff --git a/tools/pharos-dashboard/templates/dashboard/booking_calendar.html b/tools/pharos-dashboard/templates/dashboard/booking_calendar.html new file mode 100644 index 00000000..0f6bece0 --- /dev/null +++ b/tools/pharos-dashboard/templates/dashboard/booking_calendar.html @@ -0,0 +1,79 @@ +{% extends "dashboard/base.html" %} +{% load staticfiles %} +{% load bootstrap3 %} + +{% block extrahead %} + + +{% endblock extrahead %} + +{% block content %} +
+
+
+
+
+ Calendar +
+
+
+
+
+ +
+ +
+
+ +
+
+
+ Booking +
+
+ {% bootstrap_form_errors form type='non_fields' %} + +
+ {% csrf_token %} +
+ {% bootstrap_field form.start_date_time addon_after='' %} +
+
+ {% bootstrap_field form.end_date_time addon_after='' %} +
+ {% bootstrap_field form.purpose %} + {{ form.booking_id }} + {% buttons %} + + + {% endbuttons %} +
+ +
+
+
+
+{% endblock content %} + +{% block extrajs %} + + + + + + + + + +{% endblock extrajs %} \ No newline at end of file -- cgit