mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 14:49:31 +00:00
Further formatting and bug fixes
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
font-family: Verdana;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/static/css/tables.css" type="text/css" media="screen">
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
@@ -13,8 +13,11 @@
|
||||
|
||||
<h2>Service Accounts</h2>
|
||||
{% if srvaccounts %}
|
||||
<table border=1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Service</th><th>Username</th><th>Password</th><th>Active</th><th>Actions</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for acc in srvaccounts %}
|
||||
<tr><td>{{ acc.service }}</td>
|
||||
<td>{{ acc.username }}</td>
|
||||
@@ -23,19 +26,26 @@
|
||||
<td><a href="/profile/del/service/{{ acc.id }}/">Delete</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
<tfoot><tr><td colspan="5"> </td></tr></tfoot>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
{% if profile.corp_user %}
|
||||
<p>
|
||||
<a href="/profile/add/service">Add Service</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<br/>
|
||||
|
||||
<h2>Eve API Keys</h2>
|
||||
{% if eveaccounts %}
|
||||
<table border=1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>User ID</th><th>API Key</th><th>Description</th><th>Active</th><th>Actions</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for acc in eveaccounts %}
|
||||
<tr><td>{{ acc.api_user_id }}</td>
|
||||
<td>{{ acc.api_key }}</td>
|
||||
@@ -43,10 +53,12 @@
|
||||
<td>{{ acc.api_status }}</td>
|
||||
<td><a href="/profile/del/eveapi/{{ acc.api_user_id }}/">Delete</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
{% endfor %}
|
||||
<tfoot><tr><td colspan="5"> </td></tr></tfoot>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
<a href="/profile/add/eveapi">Add a Eve API key</a>
|
||||
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
7
templates/sso/index.html
Normal file
7
templates/sso/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Dredd.it SSO{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<a href="/login">Login</a>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user