tweak login page

This commit is contained in:
Brad Rydzewski 2015-08-02 23:19:59 -07:00
parent 79bf71b03b
commit 0c68b116ab
2 changed files with 4 additions and 16 deletions

View file

@ -3,7 +3,7 @@
<ul>
<li>
<img src="https://avatars1.githubusercontent.com/u/817538" />
<img ng-src="{{ user.gravatar_id | gravatar }}" />
</li>
<li ng-init="show=false">
<a href="#" ng-click="show=true">
@ -15,8 +15,6 @@
<ul>
<li><a href="/profile">Profile</a></li>
<li><a href="/users">Users</a></li>
<li><a href="/profile">Workers</a></li>
<li><a href="/help">Help</a></li>
</ul>
</div>
</li>
@ -47,7 +45,6 @@ header li {
top: 60px;
right: 15px;
width: 200px;
height: 200px;
background: #FFF;
z-index:999;
padding: 10px 0px;

View file

@ -1,14 +1,5 @@
<style>
html, body {
background: #EEEEEE;
padding: 0px;
margin: 0px;
font-family: "Roboto";
font-size: 15px;
text-transform: uppercase;
width: 100%;
height: 100%;
}
a.box {
background: #FFF;
@ -26,7 +17,7 @@
box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.05);
}
div.logo {
div.login-logo {
background: url(/static/images/logo.svg) no-repeat center center;
background-size: 72px;
height: 150px;
@ -61,7 +52,7 @@
</style>
<a href="/authorize" target="_self" class="box">
<div class="logo"></div>
<div class="login-logo"></div>
<div ng-switch="error" class="alert alert-error" ng-if="error">
<div ng-switch-when="internal_error">Oops. There was an unexpected error. Please try again.</div>
<div ng-switch-when="user_not_found">There was an error authorizing your account.</div>