diff options
author | maxbr <maxbr@mi.fu-berlin.de> | 2016-08-19 17:15:28 +0200 |
---|---|---|
committer | maxbr <maxbr@mi.fu-berlin.de> | 2016-08-19 17:15:28 +0200 |
commit | 114a6fb65e14f15487bc8db33cedae011fc42cac (patch) | |
tree | b0e2db7a0876ade38e7780468b367a30b48b6036 /pharos-dashboard/templates/base.html | |
parent | 217e6dd3c193b5f576ade7581775993c8ed82294 (diff) |
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 <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/templates/base.html')
-rw-r--r-- | pharos-dashboard/templates/base.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pharos-dashboard/templates/base.html b/pharos-dashboard/templates/base.html index 1479b04..64174a1 100644 --- a/pharos-dashboard/templates/base.html +++ b/pharos-dashboard/templates/base.html @@ -39,11 +39,8 @@ {% else %} <li><a href="{% url 'account:login' %}"><i class="fa fa-sign-in fa-fw"></i> - Login</a> + Login with Jira</a> <li> - <a href="{% url 'account:registration' %}"><i - class="fa fa-edit fa-fw"></i> - Register</a> {% endif %} </ul> <!-- /.dropdown-user --> @@ -57,18 +54,23 @@ <ul class="nav" id="side-menu"> <li> <a href="{% url 'dashboard:ci_pods' %}"><i - class="fa fa-table fa-fw"></i>CI-Pods</a> + class="fa fa-fw"></i>CI-Pods</a> </li> <li> <a href="{% url 'dashboard:dev_pods' %}"><i - class="fa fa-table fa-fw"></i>Development + class="fa fa-fw"></i>Development Pods</a> </li> <li> <a href="{% url 'dashboard:jenkins_slaves' %}"><i - class="fa fa-table fa-fw"></i>Jenkins + class="fa fa-fw"></i>Jenkins Slaves</a> </li> + <li> + <a href="{% url 'dashboard:resources' %}"><i + class="fa fa-fw"></i>Resources + </a> + </li> </ul> </div> <!-- /.sidebar-collapse --> |