From ad12df0f9335724e6261c8b0e641baff4f60cd2d Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 23 May 2016 15:51:34 -0400 Subject: [PATCH] Fix logs UI around date time handling Makes the UI nicer looking and removes the 2 week limit; instead we have a 1 month limit, which is the max days we keep the logs in the database before being rotated. Fixes #1480 --- static/css/directives/ui/logs-view.css | 10 ++++++++++ static/directives/logs-view.html | 11 +++++++++-- static/js/directives/ui/logs-view.js | 17 ++++++----------- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/static/css/directives/ui/logs-view.css b/static/css/directives/ui/logs-view.css index 2b352d373..cabda9eff 100644 --- a/static/css/directives/ui/logs-view.css +++ b/static/css/directives/ui/logs-view.css @@ -48,12 +48,22 @@ width: 122px; } +.logs-view-element .datepicker { + padding: 12px; +} + +.logs-view-element .datepicker button { + border: 0px; +} + .logs-view-element .manager-header input { font-size: 14px; text-align: center; border: 1px solid #eee; padding: 4px; border-radius: 4px; + margin-left: 4px; + margin-right: 4px; } .logs-view-element .manager-header .right { diff --git a/static/directives/logs-view.html b/static/directives/logs-view.html index 342221db3..c5d30b6aa 100644 --- a/static/directives/logs-view.html +++ b/static/directives/logs-view.html @@ -3,12 +3,19 @@