From ebaa05ab2b53634a7a3e738618a031fd1518d796 Mon Sep 17 00:00:00 2001 From: maxbr Date: Fri, 19 Aug 2016 17:15:28 +0200 Subject: Use Jira Oauth for user authentication JIRA: RELENG-12 Users can use their jira accounts for the dashboard. This also allows the dasboard to open jira tickets for bookings. Signed-off-by: maxbr --- .../templates/dashboard/lab_owner.html | 151 +++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 tools/pharos-dashboard/templates/dashboard/lab_owner.html (limited to 'tools/pharos-dashboard/templates/dashboard') diff --git a/tools/pharos-dashboard/templates/dashboard/lab_owner.html b/tools/pharos-dashboard/templates/dashboard/lab_owner.html new file mode 100644 index 00000000..a4f428c7 --- /dev/null +++ b/tools/pharos-dashboard/templates/dashboard/lab_owner.html @@ -0,0 +1,151 @@ +{% extends "base.html" %} +{% load staticfiles %} + +{% block extrahead %} + + + + + + + + +{% endblock extrahead %} + + +{% block content %} + {% for resource, utilization, bookings in pods %} +
+
+
+
+ {{ resource.name }} +
+
+
+
+
+
+
+
+
+
+
+ {{ resource.name }} Bookings +
+
+
+ + + + + + + + + + + + {% for booking in bookings %} + + + + + + + + {% endfor %}` + +
UserPurposeStartEndStatus
+ {{ booking.user.username }} + + {{ booking.purpose }} + + {{ booking.start }} + + {{ booking.end }} + + Jira Status +
+
+
+
+
+
+ {% endfor %} + +{% endblock content %} + + +{% block extrajs %} + + + + + + + + + + + + + + + + + + + +{% endblock extrajs %} \ No newline at end of file -- cgit 1.2.3-korg