diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-08-12 13:38:38 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-08-12 13:38:38 +0200 |
commit | 132a5ff97efcf7645d60900633e95b6ce9dde1c4 (patch) | |
tree | 3272c5c1e7e5c75d127f4ba49e1954330e37c461 /module/web | |
parent | added little icons + backbone.js (diff) | |
download | pyload-132a5ff97efcf7645d60900633e95b6ce9dde1c4.tar.xz |
added center to header + various resizing
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/static/css/default/style.css | 13 | ||||
-rw-r--r-- | module/web/templates/default/base.html | 6 |
2 files changed, 17 insertions, 2 deletions
diff --git a/module/web/static/css/default/style.css b/module/web/static/css/default/style.css index 1ff1d4c72..232733b95 100644 --- a/module/web/static/css/default/style.css +++ b/module/web/static/css/default/style.css @@ -96,6 +96,7 @@ header:before { }
header div.center {
+ position: relative;
padding-left: 20px;
padding-right: 20px;
}
@@ -129,10 +130,20 @@ header img.logo { padding-right: 5px;
}
+#notification_div {
+ position: absolute;
+ left: 50%;
+ width: 30%;
+ margin-left: -15%;
+ height: 45px;
+ border: 1px solid #ffffff;
+ margin-top: 12px;
+}
+
#speedgraph {
float: right;
height: 45px;
- width: 300px;
+ width: 15%;
margin-top: 12px;
font-family: sans-serif
}
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 97c878501..772d46a00 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -27,6 +27,11 @@ <img class="logo" alt="" src="static/img/default/logo.png" width="120px" height="120px">
<span class="title">pyLoad</span>
+ <div id="notification_div">
+ <h1>Important Stuff will be here!</h1>
+ </div>
+
+ <div id="speedgraph"></div>
<div class="header_block">
<div class="icon_info">
<img src="static/img/default/icon_speed_small_white.png" height="20px"/><span>500 kb/s</span>
@@ -35,7 +40,6 @@ <img src="static/img/default/icon_clock_small_white.png" height="20px"/><span>5 / 125</span>
</div>
</div>
- <div id="speedgraph"></div>
</div>
</header>
<div id="push"></div>
|