mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 14:49:31 +00:00
Further theme updating changes.
This commit is contained in:
@@ -2,25 +2,29 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>TEST Auth</title>
|
||||
<title>Auth</title>
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}bootstrap/bootstrap.css" type="text/css" media="screen">
|
||||
<style type="text/css">
|
||||
html {
|
||||
background-color: #9FB190;
|
||||
background-color: #D8DDE8;
|
||||
//background-color: #9FB190;
|
||||
}
|
||||
body {
|
||||
background-color: #9FB190;
|
||||
//background-color: #9FB190;
|
||||
background-color: #D8DDE8;
|
||||
padding-top: 40px;
|
||||
}
|
||||
div.topbar div.fill {
|
||||
background-color: #5F6757;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#5F6757));
|
||||
background-image: -moz-linear-gradient(top, #333333, #5F6757);
|
||||
background-image: -ms-linear-gradient(top, #333333, #5F6757);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #5F6757));
|
||||
background-image: -webkit-linear-gradient(top, #333333, #5F6757);
|
||||
background-image: -o-linear-gradient(top, #333333, #5F6757);
|
||||
background-image: linear-gradient(top, #333333, #5F6757);
|
||||
//background-color: #5F6757;
|
||||
background-color: #204066;
|
||||
background-image: url(https://forum.pleaseignore.com/public/style_images/master/branding_bg.png);
|
||||
//background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#5F6757));
|
||||
//background-image: -moz-linear-gradient(top, #333333, #5F6757);
|
||||
//background-image: -ms-linear-gradient(top, #333333, #5F6757);
|
||||
//background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #5F6757));
|
||||
//background-image: -webkit-linear-gradient(top, #333333, #5F6757);
|
||||
//background-image: -o-linear-gradient(top, #333333, #5F6757);
|
||||
//background-image: linear-gradient(top, #333333, #5F6757);
|
||||
}
|
||||
div.content {
|
||||
background-color: white;
|
||||
@@ -43,19 +47,14 @@
|
||||
<div class="topbar">
|
||||
<div class="fill">
|
||||
<div class="container">
|
||||
<a class="brand" href="/">TEST Auth</a>
|
||||
<a class="brand" href="/">Auth</a>
|
||||
<ul class="nav">
|
||||
{% if request.user.is_authenticated %}
|
||||
|
||||
<li class="dropdown" data-dropdown="dropdown"><a href="#" class="dropdown-toggle">{{ request.user.username}}</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{% url sso.views.profile %}">Your Profile</a></li>
|
||||
{% if "groups"|installed %}<li><a href="{% url groups.views.group_list %}"> Your Groups</a></li>{% endif %}
|
||||
<li><a href="{% url eve_api.views.eveapi_character %}">Your Characters</a></li>
|
||||
<li class="divider"></li>
|
||||
{% if "api"|installed %}<li><a href="{% url oauth-list-tokens %}">3rd Party App Access</a></li>{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{% url sso.views.profile %}">Your Profile</a></li>
|
||||
{% if "groups"|installed %}<li><a href="{% url groups.views.group_list %}"> Your Groups</a></li>{% endif %}
|
||||
<li><a href="{% url eve_api.views.eveapi_character %}">Your Characters</a></li>
|
||||
{% if "api"|installed %}<li><a href="{% url oauth-list-tokens %}">3rd Party App Access</a></li>{% endif %}
|
||||
{% if "hr"|installed %}
|
||||
<li><a href="{% url hr-index %}">HR</a></li>
|
||||
{% endif %}
|
||||
@@ -69,8 +68,6 @@
|
||||
<li><a href="{% url sentry %}">Sentry</a></li>
|
||||
{% endif %}
|
||||
<li><a href="{% url django.contrib.auth.views.logout %}">Logout</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url django.contrib.auth.views.login %}">Login</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -9,19 +9,22 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="page-header">
|
||||
<h1>Login</h1>
|
||||
</div>
|
||||
|
||||
<form method="post" action="{% url django.contrib.auth.views.login %}">
|
||||
<fieldset>
|
||||
<legend>Login</legend>
|
||||
<div class="clearfix">
|
||||
{{ form.username.label_tag }}
|
||||
<div class="input">
|
||||
<td>{{ form.username }}</td>
|
||||
{{ form.username }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix">
|
||||
{{ form.password.label_tag }}
|
||||
<div class="input">
|
||||
<td>{{ form.password }}</td>
|
||||
{{ form.password }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user