Commit Graph

30 Commits

Author SHA1 Message Date
Thor77 a9c942d442
Disable shadows on hints 2020-03-27 22:39:50 +01:00
Thor77 127370adbd
Update bootstrap and hint.css 2020-03-27 22:39:37 +01:00
Thor77 604dc0a439
Switch to bootstrapcdn for boostrap css 2019-03-10 13:14:17 +01:00
Thor77 1f177ff49b Bump css dependencies 2019-03-10 13:06:28 +01:00
Thor77 544da4062f Use bootstrap-4.0.0 2019-03-10 13:06:28 +01:00
Matthew 35c5c91fb0 Simplify navbar markup, update it for bootstrap4 beta1. (#23)
* Simplify navbar markup, update it for bootstrap4 beta1.

* Fix CSS classname for background color of navbar
2019-03-10 13:06:28 +01:00
Thor77 21f9f6581b Switch badge-type to secondary
because -default is now invisible
2019-03-10 13:06:28 +01:00
Thor77 371af752eb Add flexbox-classes to listgroup-item
to align badges correctly
2019-03-10 13:06:28 +01:00
Thor77 b81b1bca10 Switch css-include to bootstrap4-beta 2019-03-10 13:06:28 +01:00
Matthew c34f2d4d8b Improve navbar on mobile devices (#16)
* add button to show/hide menu items
* ensure navigation fills the width of the viewport by moving it out of the main container element
2019-03-10 13:06:28 +01:00
Thor77 4069ab659a Add margin for list-groups 2019-03-10 13:06:28 +01:00
Thor77 0dc12e73a1 Replace deprecated page-header heading-class
with `display-4`
2019-03-10 13:06:28 +01:00
Thor77 b474e4124d Remove now unneccessary padding from body 2019-03-10 13:06:28 +01:00
Thor77 2344915d6e Use new navbar-syntax
removed padding from debug-badge as it's not required anymore
2019-03-10 13:06:28 +01:00
Thor77 3ce4962e12 Use new badge-syntax
explicit definition of badge-style and -position
2019-03-10 13:06:28 +01:00
Thor77 dc572ad8fa Switch css-include to bootstrap4 2019-03-10 13:06:28 +01:00
Thor77 edff1e956d Optionally Pendulum.diff_for_humans instead of frmttime
for relative last seen time (default)

* introduce --lastseenabsolute
* introduce tsstats.template.render_servers(lastseen_relative=True)
2017-07-07 14:23:10 +02:00
Thor77 cd01eb433a Use hyperlinks instead of onclick-events
to link to positions.
Disabled color-change and text-decoration to keep a clean and consisten
look.
2017-02-27 22:16:16 +01:00
Matthew Gamble 531f5c57d2
Improve presentation at mobile
- Add custom hint--medium--xs style, to make the tooltips wrap neatly
- Add meta viewport tag
2017-02-16 18:17:29 +11:00
Matthew Gamble 3824eeac10
Fix closing header tag 2017-02-15 08:36:01 +11:00
Thor77 ae35a73a64 Merge pull request #7 from djmattyg007/template_security
* Add rel=noopener to the github link to prevent window.opener attacks.
* Add no-referrer referrer policy to prevent leakage of sensitive info such as private domain names.
2017-02-14 16:07:37 +01:00
Matthew Gamble 96156ca622
Add no-referrer referrer policy to prevent leakage of sensitive info
This prevents Referer headers from being sent when requesting any
external assets, and when clicking on any offsite links. This includes
the github link in the footer. This helps to prevent the leakage of
sensitive details, such as private domain names.
2017-02-14 18:17:35 +11:00
Matthew Gamble e94e117242
Add rel=noopener to prevent window.opener attacks
This is highly unlikely, but it never hurts to be cautious.
2017-02-14 18:14:59 +11:00
Matthew Gamble 13ad296459
Add doctype to main template 2017-02-14 18:11:35 +11:00
Thor77 22f6402bce Add nick-history functionality
hover a nickname to show previous nicks
2017-02-11 22:14:34 +01:00
Thor77 6366d3ebb1 Show last-seen hint only in Onlinetime-section
currently by filtering by headline (probably not a good long-term-solution)
2017-02-10 23:34:23 +01:00
Thor77 f97f309b85 Move last-seen hint to value
and display it on the left side because last-seen is related to onlinetime and not
to the nick.
2017-02-10 23:33:57 +01:00
Thor77 9a686f7a2f Refactor template(s) for multiserver-display
* all virtual servers are now included in one single outputfile
* navbar for navigation between virtual servers
2016-11-22 22:59:57 +01:00
Thor77 273a01bec6 Rename default template to stats.jinja2
from template.html
2016-11-18 21:52:30 +01:00
Thor77 4bed26dac8 Move default template into new templates-subdir 2016-11-18 21:44:53 +01:00