diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-17 17:15:45 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-17 17:15:45 +0200 |
commit | 8a0d6e4660481740efe47a0a3dd91c8c76c4e4dc (patch) | |
tree | cd3e1797a181dc70171d3c0e489cc26610a02e5d | |
parent | nav + search bar for dashboard (diff) | |
download | pyload-8a0d6e4660481740efe47a0a3dd91c8c76c4e4dc.tar.xz |
breadcrumbs for dashboard
-rw-r--r-- | module/web/static/css/default/style.css | 16 | ||||
-rw-r--r-- | module/web/templates/default/dashboard.html | 31 |
2 files changed, 32 insertions, 15 deletions
diff --git a/module/web/static/css/default/style.css b/module/web/static/css/default/style.css index 844955e29..ec1a22312 100644 --- a/module/web/static/css/default/style.css +++ b/module/web/static/css/default/style.css @@ -302,6 +302,22 @@ footer h2 { color: #3a79aa;
}
+#dash-nav {
+ border-bottom: 1px dashed #d3d3d3;
+ padding-bottom: 2px;
+ margin-bottom: 5px;
+}
+
+#dash-nav li > a {
+ margin-top: 5px;
+}
+
+#dash-nav .breadcrumb {
+ margin: 0;
+ padding-top: 6px;
+ padding-bottom: 0;
+}
+
#dash-nav form {
margin-top: 8px;
margin-bottom: 0;
diff --git a/module/web/templates/default/dashboard.html b/module/web/templates/default/dashboard.html index a962011cd..6bfa2eb5a 100644 --- a/module/web/templates/default/dashboard.html +++ b/module/web/templates/default/dashboard.html @@ -5,23 +5,14 @@ {% block content %}
<ul id="dash-nav" class="nav nav-pills">
- <li class="active">
- <a class="active">All</a>
- </li>
<li>
- <a>Active</a>
- </li>
- <li class="dropdown">
- <a class="dropdown-toggle"
- data-toggle="dropdown"
- href="#">
- Dropdown
- <b class="caret"></b>
- </a>
- <ul class="dropdown-menu">
- <!-- links -->
- </ul>
+ <ul class="breadcrumb">
+ <li><a href="#">Home</a> <span class="divider">/</span></li>
+ <li><a href="#">Library</a> <span class="divider">/</span></li>
+ <li class="active">Data</li>
+ </ul>
</li>
+
<li style="float: right;">
<form class="form-search">
<div class="input-append">
@@ -30,5 +21,15 @@ </div>
</form>
</li>
+ <li style="float: right;">
+ <a>Unfinished</a>
+ </li>
+ <li style="float: right;">
+ <a>Active</a>
+ </li>
+ <li class="active" style="float: right;">
+ <a>All</a>
+ </li>
+
</ul>
{% endblock %}
\ No newline at end of file |