Skip to content

Commit

Permalink
Minor UI tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jahaja committed Mar 10, 2014
1 parent 26f89e0 commit 78d19f1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 30 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Features includes:
Tail and search logs
* **All data is updated automatically, no need to refresh**

The GUI is pretty much a modified bootstrap example as I'm no designer at all.
If you got a feel for design and like to improve the UI parts of psdash, please create a pull request with your changes.
It would be much appreciated as there's much room for improvements.

## Getting started

Installation using pip:<br>
Expand Down
36 changes: 7 additions & 29 deletions psdash/static/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ body {
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
}

.nav-sidebar > li > a {
padding-left: 20px;
padding-right: 20px;
border-bottom: 1px solid #ddd;
}

.nav-sidebar > .active > a {
color: #fff;
background-color: #428bca;
Expand All @@ -63,39 +65,11 @@ body {
.main {
padding: 20px;
}
@media (min-width: 768px) {
.main {
padding-left: 40px;
padding-right: 40px;
}
}

.main .page-header {
margin-top: 0;
}


/*
* Placeholder dashboard ideas
*/

.placeholders {
margin-bottom: 30px;
text-align: center;
}
.placeholders h4 {
margin-bottom: 0;
}
.placeholder {
margin-bottom: 20px;
}
.placeholder img {
border-radius: 50%;
}

#process {
margin-top: 20px;
}

#process .inline-table {
margin-bottom: 0;
width: 500px;
Expand Down Expand Up @@ -184,4 +158,8 @@ span.glyphicon {
padding-top: 10px;
font-size: 13px;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

#content > ul.process {
margin-bottom: 10px;
}
2 changes: 1 addition & 1 deletion psdash/templates/process.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="page-header">
<h2>{{ process.pid }} <small>{{ process.name }}</small></h2>
</div>
<ul class="nav nav-pills">
<ul class="process nav nav-pills">
<li {% if section == "overview" %}class="active"{% endif %}>
<a href="/process/{{ process.pid }}">Overview</a>
</li>
Expand Down

0 comments on commit 78d19f1

Please sign in to comment.