diff --git a/puppetboard/static/css/puppetboard.css b/puppetboard/static/css/puppetboard.css index a00cbd0..01b8e63 100644 --- a/puppetboard/static/css/puppetboard.css +++ b/puppetboard/static/css/puppetboard.css @@ -1,57 +1,65 @@ body { margin: 0; font-family: "Open Sans", sans-serif; } a { - color: #564F8A; + color: #2C3E50; text-decoration: none; } h1.ui.header.no-margin-bottom { margin-bottom: 0; } .tablesorter-header-inner { float: left; } th.tablesorter-headerAsc::after { content: '\25b4' !important; float: right; } th.tablesorter-headerDesc::after { content: '\25be' !important; float: right; } .ui.grid.padding-bottom { padding-bottom: 40px !important; } .status { width: 47%; text-align: center; display: block; } .count { width: 21%; text-align: center; display: block; } .no-margin-top { margin-top: -35px !important; } .absolute { position: fixed; bottom: 0; width: 100%; background: #E8E8E8; } .absolute div { padding: 1em; } + +.ui.menu.darkblue { + background-color:#2C3E50; +} + +.ui.darkblue.header, i.darkblue { + color:#2C3E50; +} diff --git a/puppetboard/templates/index.html b/puppetboard/templates/index.html index 9d1aa20..2aac1fd 100644 --- a/puppetboard/templates/index.html +++ b/puppetboard/templates/index.html @@ -1,106 +1,106 @@ {% extends 'layout.html' %} {% block content %}
-

{{metrics['num_nodes']}}

+

{{metrics['num_nodes']}}

Population
-

{{metrics['num_resources']}}

+

{{metrics['num_resources']}}

Resources managed
-

{{metrics['avg_resources_node']}}

+

{{metrics['avg_resources_node']}}

Avg. resources/node
{% if nodes %}

Nodes status detail ({{nodes|length}})

{% for node in nodes %} {% if node.status != 'unchanged' %} {% endif %} {% endfor %}
Status Hostname
{{node.status}} {% if node.status=='unreported'%} {{ node.unreported_time }} {% else %} {% if node.events['failures'] %}{{node.events['failures']}}{% else %}0{% endif%} {% if node.events['successes'] %}{{node.events['successes']}}{% else %}0{% endif%} {% endif %} {{ node.name }} - +
{% else %}

Nodes status detail

Nothing seems to be changing.
{% endif %}
{% endblock content %} diff --git a/puppetboard/templates/layout.html b/puppetboard/templates/layout.html index 8c4d28c..b7697d4 100644 --- a/puppetboard/templates/layout.html +++ b/puppetboard/templates/layout.html @@ -1,53 +1,53 @@ Puppetboard -