From adc338042c460940cf56d43e185fb0688dfc3156 Mon Sep 17 00:00:00 2001 From: Johan Berggren Date: Mon, 6 Jul 2015 16:29:15 +0200 Subject: [PATCH 1/2] UI polish before release --- .../static/components/explore/explore-event-list.html | 2 ++ timesketch/ui/static/css/ts.css | 7 +++++-- timesketch/ui/templates/user/login.html | 11 ++++++----- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/timesketch/ui/static/components/explore/explore-event-list.html b/timesketch/ui/static/components/explore/explore-event-list.html index f08e93b115..c0bcccd1a8 100644 --- a/timesketch/ui/static/components/explore/explore-event-list.html +++ b/timesketch/ui/static/components/explore/explore-event-list.html @@ -36,6 +36,8 @@

I will only show you the first 500 events

+


+
diff --git a/timesketch/ui/static/css/ts.css b/timesketch/ui/static/css/ts.css index 78f0798e6b..85e3da0630 100644 --- a/timesketch/ui/static/css/ts.css +++ b/timesketch/ui/static/css/ts.css @@ -26,6 +26,7 @@ header { top:0; z-index:9998; padding:11px 21px 11px 11px; + box-shadow: 0 -3px 30px rgba(0, 0, 0, 0.3) } table { @@ -41,10 +42,11 @@ table { width:200px; height:65px; padding:20px; - background: #2c3e50; + background: #428bca; position: fixed; top:0; z-index:9999; + box-shadow: 0 -3px 30px rgba(0, 0, 0, 0.3) } #logo img { @@ -62,6 +64,7 @@ table { background: #f1f1f1; top:65px; z-index:9998; + box-shadow: 0 0 15px rgba(0, 0, 0, 0.3) } #navigation .leftnav-title { @@ -114,7 +117,7 @@ table { margin-bottom: 20px; background: #fff; padding: 20px; - box-shadow: -1px 0 #e5e5e5,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) } .card-alert { diff --git a/timesketch/ui/templates/user/login.html b/timesketch/ui/templates/user/login.html index 8d1d88f6c1..20f51ce186 100644 --- a/timesketch/ui/templates/user/login.html +++ b/timesketch/ui/templates/user/login.html @@ -23,12 +23,12 @@ @@ -37,9 +37,10 @@
+
-
+
From a4abe615ac0d1fabbd9b67ea7eddf4d2693aa18f Mon Sep 17 00:00:00 2001 From: Johan Berggren Date: Tue, 7 Jul 2015 16:01:54 +0200 Subject: [PATCH 2/2] More intuitive edit button --- timesketch/ui/templates/sketch/timeline.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/timesketch/ui/templates/sketch/timeline.html b/timesketch/ui/templates/sketch/timeline.html index e52046be95..c5cb1e550a 100644 --- a/timesketch/ui/templates/sketch/timeline.html +++ b/timesketch/ui/templates/sketch/timeline.html @@ -59,14 +59,13 @@
- {% if sketch.has_permission(user=current_user, permission='write') %} -
- {% else %} -
- {% endif %}
-

{{ timeline.name }}

+

{{ timeline.name }} + {% if sketch.has_permission(user=current_user, permission='write') %} + + {% endif %} +

{{ timeline.description }}