Commit Graph

21 Commits

Author SHA1 Message Date
Corey Hammerton
3833bbf0a1 puppetboard/app.py: Adding Radiator view (#232)
* puppetboard/app.py: Adding Radiator view

Part 2 of https://github.com/voxpupuli/puppetboard/issues/70

This is a refactoring of the changes in https://github.com/voxpupuli/puppetboard/pull/100.
Adds a simple Heads-Up Display of the last run statuses of managed nodes,
either environment filtered or not.

* puppetboard/app.py: Fixing environment filters and metric strings.

* The names of the population metrics have changes in PuppetDB 4.0, the initial
  commit used the metric names from PuppetDB 2.x.
* The main nodes query did not include a query string to filter on environments.
2016-05-16 19:59:40 -04:00
Michael
b5ba2515e2 Semantic UI update to 2.1.8 (#211)
* Update to Semantic UI 2.1.6

Basically I tried to rebuild the old layout as closely as possible.
It is a bit more mobile friendly but still misses Semantic UIs collapsable menu:
  https://github.com/Semantic-Org/Semantic-UI/issues/157

+ ditch old tablesorter for recommended one
+ use em instead of percentage for status labels in macros

Overview:

+ sort overview by report date per default
+ slightly different colors

Facts:

+ template based approach to even out the columns in facts view
+ don't show empty containers
+ needed an additional variable in context

* get rid of unnecessary semantic src files

* more cleanup

* clean jquery-tablesort directory as well

* drop unused theme files

* remove symlinks in static/{js,css}

* semantic_update

+ bump to semantic 2.1.8
+ minor adjustments
  - default-sort class in tables
  - table type in inventory
  - fixed and wrapped table for reports

* updated screenshots
2016-04-23 20:30:20 -04:00
Raphaël Pinson
8e4af7c034 Use more standard colors for Puppet run states 2016-01-21 18:20:50 +01:00
Corey Hammerton
af05f67428 puppetboard: Adding PuppetDB 3.x support
Some excerpts from CHANGELOG.rst include:
- Increasing the pypuppetdb requirements from 0.1.x to 0.2.x
- The Reports page now lists reports from the reports endpoint instead of
  a link to a PuppetDB issue with a feature request
- Adding a Catalogs page to view either individual node catalogs or compare
  them against other nodes
- New environment awareness adds a new query parameter to all applicable
  endpoints to filter results based on the current environment. If the
  default environment 'production' is not available, or any other unavailable
  environment, the user is redirected to the first known environment.
- Adding pagination functionality for reports (for now) based on the value of
  the REPORTS_COUNT configuration option (used for the limit and the offset
  calculation). Implementation also makes it possible for other UI enhancements.
- Removing the limit_reports function from puppetboard/utils.py since paging
  parameters are now accepted by the pypuppetdb endpoint functions.
- Bumping the version to 0.1.0
2015-10-26 21:44:33 -04:00
Rick Fletcher
0c5914ff44 Turn down brightness and saturation a bit in the predefined "yellow" 2015-10-13 12:06:08 -04:00
Rick Fletcher
f2da1b295a Define a "yellow" 2015-10-12 20:19:00 -04:00
Fotis Gimian
59b7717e8f Added a skipped count for nodes in the overview and nodes pages 2015-05-10 19:32:22 +10:00
Julien Kassar
cf30d32869 Add scroll to top button 2015-02-26 10:42:14 -05:00
Gert van Dijk
587569fe49 Offline: Include TableSorter 2.17.2 minified JS and formatter CSS. 2014-06-26 20:21:01 +02:00
Gert van Dijk
8f0bfb6482 Offline: Include Semantic UI 'packaged' version 0.16.1. 2014-06-26 20:04:21 +02:00
Daniele Sluijters
43e449704e style: Make link color lighter for contrast. 2014-03-13 14:08:09 +01:00
Daniele Sluijters
022abd9a4a style: Fix darkblue for the facts list. 2014-03-13 14:05:11 +01:00
Daniele Sluijters
2329f7735f Goodbye Puppet-purple, hello Puppetboard darkblue. 2014-03-13 13:57:04 +01:00
Daniele Sluijters
bcb45c24a4 Switch the interface to Semantic-UI. 2014-03-13 12:02:34 +01:00
Julius Härtl
73e26e8c1c error fix, format string and css button width fix 2013-11-20 13:34:13 +01:00
Lars Sjöström
fb763e637f Feature: Toggle event message in event reports
Toggle event message in reports

cursor pointer and indent of message

rebase from master
2013-11-05 18:51:45 +01:00
Julius Härtl
f187638b6e Enhance node status feature in overview and nodes
This commit uses the new parameter with_status from nedap/pypuppetdb#18

Node status is now shown as text with the additional information of
failed/succeded events, unreported time

The statistics on Overview now show the *number of nodes*
that have status failed/changed/unreported
2013-11-05 10:07:53 +01:00
Julius Härtl
5ca758dd39 show list of nodes without report for x hours in overview
- the amount of hours is defined as `UNRESPONSIVE_HOURS` in default_settings.py
- small status layout improvement in nodes list
- latest report button in nodes list
- nedap/pypuppetdb repo as requirement ( new api was merged nedap/pypuppetdb#17 )
2013-10-28 11:36:37 +01:00
Julius Härtl
7c027dd97d Add basic support for node status by using the most recent report
The following frontend features are implemented
- Number of failures, successes, noops/skips in overview
- Show latest reports with 1 or more events in overview
- Direct links to latest Report
- Number and types of events in nodes list
2013-10-25 15:43:14 +02:00
Daniele Sluijters
efae19dc6d css: Color table row/cells with class 'error'. 2013-10-18 15:47:59 +02:00
Daniele Sluijters
f41dd99f60 puppetboard: Commit the current code.
This is all the code after a week and a bit hacking on this project.
It's in a rather experimental state but should work with a little
effort.
2013-08-07 09:05:31 +02:00