From aeb2791f4d3a5e23090e56c330436205a61629d7 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 22 Sep 2017 11:48:38 -0700 Subject: Remove 'tools' Directory All tools (and history) have been moved to the pharos-tools repository: https://git.opnfv.org/pharos-tools/ Change-Id: I84fa9b6ebd9b27f42d41f2722eb1221ec39a8c94 Signed-off-by: Trevor Bramwell --- .../src/templates/account/user_list.html | 55 ------ .../templates/account/userprofile_update_form.html | 38 ---- tools/pharos-dashboard/src/templates/base.html | 111 ----------- .../src/templates/booking/booking_calendar.html | 103 ----------- .../src/templates/booking/booking_detail.html | 26 --- .../src/templates/booking/booking_list.html | 48 ----- .../src/templates/booking/booking_table.html | 37 ---- .../src/templates/dashboard/ci_pods.html | 61 ------ .../src/templates/dashboard/dev_pods.html | 70 ------- .../src/templates/dashboard/jenkins_slaves.html | 46 ----- .../src/templates/dashboard/resource.html | 58 ------ .../src/templates/dashboard/resource_all.html | 73 -------- .../src/templates/dashboard/resource_detail.html | 205 --------------------- .../src/templates/dashboard/server_table.html | 30 --- .../src/templates/dashboard/table.html | 43 ----- tools/pharos-dashboard/src/templates/layout.html | 73 -------- .../src/templates/rest_framework/api.html | 9 - 17 files changed, 1086 deletions(-) delete mode 100644 tools/pharos-dashboard/src/templates/account/user_list.html delete mode 100644 tools/pharos-dashboard/src/templates/account/userprofile_update_form.html delete mode 100644 tools/pharos-dashboard/src/templates/base.html delete mode 100644 tools/pharos-dashboard/src/templates/booking/booking_calendar.html delete mode 100644 tools/pharos-dashboard/src/templates/booking/booking_detail.html delete mode 100644 tools/pharos-dashboard/src/templates/booking/booking_list.html delete mode 100644 tools/pharos-dashboard/src/templates/booking/booking_table.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/ci_pods.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/dev_pods.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/jenkins_slaves.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/resource.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/resource_all.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/resource_detail.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/server_table.html delete mode 100644 tools/pharos-dashboard/src/templates/dashboard/table.html delete mode 100644 tools/pharos-dashboard/src/templates/layout.html delete mode 100644 tools/pharos-dashboard/src/templates/rest_framework/api.html (limited to 'tools/pharos-dashboard/src/templates') diff --git a/tools/pharos-dashboard/src/templates/account/user_list.html b/tools/pharos-dashboard/src/templates/account/user_list.html deleted file mode 100644 index 68178ebe..00000000 --- a/tools/pharos-dashboard/src/templates/account/user_list.html +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "dashboard/table.html" %} -{% load staticfiles %} - -{% block table %} - - - Username - Full Name - Email - Company - SSH Key - GPG Key - - - - {% for user in users %} - - - {{ user.username }} - - - {{ user.userprofile.full_name }} - - - {{ user.email }} - - - {{ user.userprofile.company }} - - - {% if user.userprofile.ssh_public_key %} - SSH - {% endif %} - - - {% if user.userprofile.pgp_public_key %} - GPG - {% endif %} - - - {% endfor %} - -{% endblock table %} - - -{% block tablejs %} - -{% endblock tablejs %} diff --git a/tools/pharos-dashboard/src/templates/account/userprofile_update_form.html b/tools/pharos-dashboard/src/templates/account/userprofile_update_form.html deleted file mode 100644 index f4bb7b55..00000000 --- a/tools/pharos-dashboard/src/templates/account/userprofile_update_form.html +++ /dev/null @@ -1,38 +0,0 @@ -{% extends "layout.html" %} -{% load bootstrap3 %} - -{% block basecontent %} -
-
-
- {% bootstrap_messages %} - -
-
-
-{% endblock basecontent %} diff --git a/tools/pharos-dashboard/src/templates/base.html b/tools/pharos-dashboard/src/templates/base.html deleted file mode 100644 index 4d8530ad..00000000 --- a/tools/pharos-dashboard/src/templates/base.html +++ /dev/null @@ -1,111 +0,0 @@ -{% extends "layout.html" %} -{% load bootstrap3 %} - -{% block basecontent %} -
- - - - -
-
-
-

{{ title }}

-
- -
- - {% bootstrap_messages %} - - {% block content %} - - {% endblock content %} -
- -
- -{% endblock basecontent %} diff --git a/tools/pharos-dashboard/src/templates/booking/booking_calendar.html b/tools/pharos-dashboard/src/templates/booking/booking_calendar.html deleted file mode 100644 index 4644e855..00000000 --- a/tools/pharos-dashboard/src/templates/booking/booking_calendar.html +++ /dev/null @@ -1,103 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% load bootstrap3 %} - -{% block extrahead %} - - -{% endblock extrahead %} - -{% block content %} -
-
-
-
- Calendar -
-
-
-
-
- -
- -
-
- -
-
-
- Booking -
-
- {% if user.is_authenticated %} -
- {% bootstrap_form_errors form type='non_fields' %} -
- {% csrf_token %} - -
- {% bootstrap_field form.start addon_after='' %} -
-
- {% bootstrap_field form.end addon_after='' %} -
- {% bootstrap_field form.purpose %} - {% bootstrap_field form.installer %} - {% bootstrap_field form.scenario %} - {% buttons %} - - {% endbuttons %} -
-
- {% else %} -

Please - - login with Jira - to book this Pod

- {% endif %} -
-
-
- - -{% endblock content %} - -{% block extrajs %} - - - - - - - - -{% endblock extrajs %} \ No newline at end of file diff --git a/tools/pharos-dashboard/src/templates/booking/booking_detail.html b/tools/pharos-dashboard/src/templates/booking/booking_detail.html deleted file mode 100644 index 4b016b29..00000000 --- a/tools/pharos-dashboard/src/templates/booking/booking_detail.html +++ /dev/null @@ -1,26 +0,0 @@ -{% load jira_filters %} - -

- Resource: - - {{ booking.resource.name }} - -

-

- User: {{ booking.user.username }} -

-

- Start: {{ booking.start }} -

-

- End: {{ booking.end }} -

-

- Purpose: {{ booking.purpose }} -

-

- Installer: {{ booking.installer }} -

-

- Scenario: {{ booking.scenario }} -

\ No newline at end of file diff --git a/tools/pharos-dashboard/src/templates/booking/booking_list.html b/tools/pharos-dashboard/src/templates/booking/booking_list.html deleted file mode 100644 index ccdc46d7..00000000 --- a/tools/pharos-dashboard/src/templates/booking/booking_list.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% block extrahead %} - - - - - -{% endblock extrahead %} - -{% block content %} -
-
-
- - {% include "booking/booking_table.html" %} -
-
- - - -
- -
-{% endblock content %} - -{% block extrajs %} - - - - - - - - -{% endblock extrajs %} diff --git a/tools/pharos-dashboard/src/templates/booking/booking_table.html b/tools/pharos-dashboard/src/templates/booking/booking_table.html deleted file mode 100644 index 655b0131..00000000 --- a/tools/pharos-dashboard/src/templates/booking/booking_table.html +++ /dev/null @@ -1,37 +0,0 @@ -{% load jira_filters %} - - - - - User - Purpose - Start - End - Installer - Scenario - - - -{% for booking in bookings %} - - - {{ booking.user.username }} - - - {{ booking.purpose }} - - - {{ booking.start }} - - - {{ booking.end }} - - - {{ booking.installer }} - - - {{ booking.scenario }} - - -{% endfor %} - \ No newline at end of file diff --git a/tools/pharos-dashboard/src/templates/dashboard/ci_pods.html b/tools/pharos-dashboard/src/templates/dashboard/ci_pods.html deleted file mode 100644 index a20be957..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/ci_pods.html +++ /dev/null @@ -1,61 +0,0 @@ -{% extends "dashboard/table.html" %} -{% load staticfiles %} -{% load jenkins_filters %} - -{% block table %} - - - Name - Slave Name - Status - Installer - Scenario - Branch - Job - - - - {% for pod in ci_pods %} - - - {{ pod.name }} - - - {{ pod.slave.name }} - - - {{ pod.slave.status }} - - - {{ pod.slave.last_job_installer }} - - - {{ pod.slave.last_job_scenario }} - - - {{ pod.slave.last_job_branch }} - - {{ pod.slave.last_job_name }} - - - {% endfor %} - -{% endblock table %} - - -{% block tablejs %} - -{% endblock tablejs %} diff --git a/tools/pharos-dashboard/src/templates/dashboard/dev_pods.html b/tools/pharos-dashboard/src/templates/dashboard/dev_pods.html deleted file mode 100644 index a6f3b2ee..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/dev_pods.html +++ /dev/null @@ -1,70 +0,0 @@ -{% extends "dashboard/table.html" %} -{% load staticfiles %} -{% load jenkins_filters %} - -{% block table %} - - - Name - Slave Name - Booked by - Booked until - Purpose - Utilization - Status - - - - - - {% for pod, booking, utilization in dev_pods %} - - - {{ pod.name }} - - - {{ pod.slave.name }} - - - {{ booking.user.username }} - - - {{ booking.end }} - - - {{ booking.purpose }} - - - {{ utilization }} - - - {{ pod.slave.status }} - - - - Book - - - - - Info - - - - {% endfor %} - -{% endblock table %} - -{% block tablejs %} - -{% endblock tablejs %} diff --git a/tools/pharos-dashboard/src/templates/dashboard/jenkins_slaves.html b/tools/pharos-dashboard/src/templates/dashboard/jenkins_slaves.html deleted file mode 100644 index fa361b13..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/jenkins_slaves.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "dashboard/table.html" %} -{% load staticfiles %} - -{% load jenkins_filters %} - -{% block table %} - - - Slave name - Status - Job - - - - {% for slave in slaves %} - - {{ slave.name }} - - - {{ slave.status }} - - - {{ slave.last_job_name }} - - - {% endfor %} - -{% endblock table %} - - -{% block tablejs %} - -{% endblock tablejs %} diff --git a/tools/pharos-dashboard/src/templates/dashboard/resource.html b/tools/pharos-dashboard/src/templates/dashboard/resource.html deleted file mode 100644 index c9e57354..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/resource.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% block extrahead %} - - - - - - - - -{% endblock extrahead %} - - -{% block content %} - {% include "dashboard/resource_detail.html" %} -{% endblock content %} - - -{% block extrajs %} - - - - - - - - - - - - - - - - - - - -{% endblock extrajs %} \ No newline at end of file diff --git a/tools/pharos-dashboard/src/templates/dashboard/resource_all.html b/tools/pharos-dashboard/src/templates/dashboard/resource_all.html deleted file mode 100644 index a770d4e8..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/resource_all.html +++ /dev/null @@ -1,73 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% block extrahead %} - - - - - - - - -{% endblock extrahead %} - - -{% block content %} - {% for resource, utilization, bookings in pods %} -
-
-
-
- {{ resource.name }} -
-
- {% include "dashboard/resource_detail.html" %} -
-
-
-
- {% endfor %} -{% endblock content %} - - -{% block extrajs %} - - - - - - - - - - - - - - - - < - - -{% endblock extrajs %} \ No newline at end of file diff --git a/tools/pharos-dashboard/src/templates/dashboard/resource_detail.html b/tools/pharos-dashboard/src/templates/dashboard/resource_detail.html deleted file mode 100644 index 740dd259..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/resource_detail.html +++ /dev/null @@ -1,205 +0,0 @@ -{% load jenkins_filters %} - -
-
-
-
- Jenkins Utilization -
-
- -
-
-
-
-
-
-
-
-
-
- -
-
-
- Status -
-
-
- {% for status in resource.resourcestatus_set.all %} - - {{ status.title }} - - {{ status.timestamp }} - - - {% endfor %} -
-
-
-
-
-
-
- Servers -
-
-
- - {% include "dashboard/server_table.html" %} -
-
-
-
-
-
-
-
-
-
- Booking Utilization -
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
- Bookings -
-
-
- - {% include "booking/booking_table.html" %} -
-
-
-
-
-
-
-
-
-
- Contact -
-
-

- Lab Owner: - {{ resource.owner.username }} -

-

- Email: - {{ resource.owner.email }} -

-

- - Booking - - - OPNFV Wiki - -

-
-
-
-
-
-
- Jenkins Status -
-
-

- Slave Name: - {{ resource.slave.name }} -

-

- Status: - {{ resource.slave.status }} -

-

- Last Job: - - {{ resource.slave.last_job_name }} - -

-
-
-
-
-
-
- VPN Users -
-
-
- - - - - - - - - - {% for user in resource.vpn_users.all %} - - - - - - {% endfor %} -
UserEmailCompany
- {{ user.username }} - - {{ user.email }} - - {{ user.userprofile.company }} -
- -
-
-
-
-
diff --git a/tools/pharos-dashboard/src/templates/dashboard/server_table.html b/tools/pharos-dashboard/src/templates/dashboard/server_table.html deleted file mode 100644 index f01bd603..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/server_table.html +++ /dev/null @@ -1,30 +0,0 @@ - - - Server - Model - CPU - RAM - Storage - - - -{% for server in resource.server_set.all %} - - - {{ server.name }} - - - {{ server.model }} - - - {{ server.cpu }} - - - {{ server.ram }} - - - {{ server.storage }} - - -{% endfor %} - \ No newline at end of file diff --git a/tools/pharos-dashboard/src/templates/dashboard/table.html b/tools/pharos-dashboard/src/templates/dashboard/table.html deleted file mode 100644 index d59f0e34..00000000 --- a/tools/pharos-dashboard/src/templates/dashboard/table.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% block extrahead %} - - - - - -{% endblock extrahead %} - -{% block content %} -
-
-
- - - {% block table %} - {% endblock table %} - -
-
- - - -
- -
-{% endblock content %} - -{% block extrajs %} - - - - - - - - {% block tablejs %} - {% endblock tablejs %} -{% endblock extrajs %} diff --git a/tools/pharos-dashboard/src/templates/layout.html b/tools/pharos-dashboard/src/templates/layout.html deleted file mode 100644 index 9578e155..00000000 --- a/tools/pharos-dashboard/src/templates/layout.html +++ /dev/null @@ -1,73 +0,0 @@ -{% load staticfiles %} - - - - - - - - - - - - OPNFV Pharos {{ title }} - - - - - - - - - - - - - - - - - - {% block extrahead %} - {% endblock extrahead %} - - - - - - - -{% block extrastyle %} -{% endblock extrastyle %} - - -{% block basecontent %} -{% endblock basecontent %} - - - -{##} -{##} -{##} - -{##} - - - - - - - - - -{% block extrajs %} -{% endblock extrajs %} - - diff --git a/tools/pharos-dashboard/src/templates/rest_framework/api.html b/tools/pharos-dashboard/src/templates/rest_framework/api.html deleted file mode 100644 index 9c6c4f7d..00000000 --- a/tools/pharos-dashboard/src/templates/rest_framework/api.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "rest_framework/base.html" %} - -{% block title %}Pharos Dashboard API{% endblock %} - -{% block branding %} - - Pharos Dashboard API - -{% endblock %} \ No newline at end of file -- cgit 1.2.3-korg