mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
tweak login page
This commit is contained in:
parent
79bf71b03b
commit
0c68b116ab
2 changed files with 4 additions and 16 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<img src="https://avatars1.githubusercontent.com/u/817538" />
|
<img ng-src="{{ user.gravatar_id | gravatar }}" />
|
||||||
</li>
|
</li>
|
||||||
<li ng-init="show=false">
|
<li ng-init="show=false">
|
||||||
<a href="#" ng-click="show=true">
|
<a href="#" ng-click="show=true">
|
||||||
|
@ -15,8 +15,6 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/profile">Profile</a></li>
|
<li><a href="/profile">Profile</a></li>
|
||||||
<li><a href="/users">Users</a></li>
|
<li><a href="/users">Users</a></li>
|
||||||
<li><a href="/profile">Workers</a></li>
|
|
||||||
<li><a href="/help">Help</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -47,7 +45,6 @@ header li {
|
||||||
top: 60px;
|
top: 60px;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
z-index:999;
|
z-index:999;
|
||||||
padding: 10px 0px;
|
padding: 10px 0px;
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
|
||||||
background: #EEEEEE;
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
font-family: "Roboto";
|
|
||||||
font-size: 15px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.box {
|
a.box {
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
|
@ -26,7 +17,7 @@
|
||||||
box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.05);
|
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: url(/static/images/logo.svg) no-repeat center center;
|
||||||
background-size: 72px;
|
background-size: 72px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
|
@ -61,7 +52,7 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<a href="/authorize" target="_self" class="box">
|
<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="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="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>
|
<div ng-switch-when="user_not_found">There was an error authorizing your account.</div>
|
||||||
|
|
Loading…
Reference in a new issue