diff --git a/web/skins/classic/css/base/skin.css b/web/skins/classic/css/base/skin.css index 6fc3bfa1b..55a109191 100644 --- a/web/skins/classic/css/base/skin.css +++ b/web/skins/classic/css/base/skin.css @@ -576,6 +576,13 @@ input[type=submit], text-align: center; } +.btn-normal, +.btn-normal:link { + color: #fff; + background-color: #3498db; + border: 1px solid #3498db; +} + button:hover, input[type=button]:hover, input[type=submit]:hover, diff --git a/web/skins/classic/views/events.php b/web/skins/classic/views/events.php index b2b4c997e..2d2b2b0cf 100644 --- a/web/skins/classic/views/events.php +++ b/web/skins/classic/views/events.php @@ -97,22 +97,22 @@ xhtmlHeaders(__FILE__, translate('Events') );
- - + +
- - - - - - - + + + + + + + + + +
+
+ @@ -297,11 +295,5 @@ while ( $event_row = dbFetchNext($results) ) {
- diff --git a/web/skins/classic/views/js/events.js b/web/skins/classic/views/js/events.js index 7e7eb992f..52d23959e 100644 --- a/web/skins/classic/views/js/events.js +++ b/web/skins/classic/views/js/events.js @@ -59,15 +59,20 @@ function initPage() { this.addEventListener('mouseover', thumbnail_onmouseover, false); this.addEventListener('mouseout', thumbnail_onmouseout, false); }); - // Manage the Refresh link - document.getElementById("refreshLink").addEventListener("click", function onRefreshClick(evt) { + // Manage the BACK button + document.getElementById("backBtn").addEventListener("click", function onBackClick(evt) { + evt.preventDefault(); + window.history.back(); + }); + // Manage the REFRESH Button + document.getElementById("refreshBtn").addEventListener("click", function onRefreshClick(evt) { evt.preventDefault(); window.location.reload(true); }); - // Manage the BACK link - document.getElementById("backLink").addEventListener("click", function onBackClick(evt) { + // Manage the TIMELINE Button + document.getElementById("tlineBtn").addEventListener("click", function onTlineClick(evt) { evt.preventDefault(); - window.history.back(); + window.location.assign('?view=timeline'+filterQuery); }); // Manage the VIEW button document.getElementById("viewBtn").addEventListener("click", function onViewClick(evt) { diff --git a/web/skins/classic/views/js/events.js.php b/web/skins/classic/views/js/events.js.php index 8a49c00c3..8b2a9a09b 100644 --- a/web/skins/classic/views/js/events.js.php +++ b/web/skins/classic/views/js/events.js.php @@ -1,9 +1,6 @@ //var openFilterWindow = ; var openFilterWindow = false; -var archivedEvents = ; -var unarchivedEvents = ; - var filterQuery = ''; var sortQuery = '';