diff --git a/build/generic/view/history/details/main.php b/build/generic/view/history/details/main.php
index 4d1c630..62a14a1 100644
--- a/build/generic/view/history/details/main.php
+++ b/build/generic/view/history/details/main.php
@@ -163,7 +163,7 @@
$y_img = $y - 5.5;
/* (4) Draw entry circles */
- $RAW .= "";
+ $RAW .= "";
$RAW .= "";
/* (5) Draw entry icon (action) */
@@ -172,8 +172,16 @@
/* (6) Draw circle below if current user */
if( $this->entry['id_user'] == $entry['id_user'] ){
- $x_decal = $x - 21;
- $RAW .= "";
+
+ $x_decal = $x - 25;
+
+ // {6.1} If current ENTRY -> draw big circle //
+ if( $this->entry['id_history'] == $entry['id_history'] )
+ $RAW .= "";
+
+ // {6.2} Else -> draw little circle //
+ else
+ $RAW .= "";
}
/* (6) Hour */
diff --git a/public_html/css/container.scss b/public_html/css/container.scss
index 7ee0511..5a159ac 100755
--- a/public_html/css/container.scss
+++ b/public_html/css/container.scss
@@ -632,9 +632,10 @@
&.signal{ fill: #3258d8; }
&.unsignal{ fill: #2041ab; }
}
+
}
- /* (8) Timeline infobox */
+ /* (9) Timeline infobox */
div.timeline.infobox{
display: none;
position: absolute;
diff --git a/public_html/css/min/container.css b/public_html/css/min/container.css
index 68c057e..0f43e60 100644
--- a/public_html/css/min/container.css
+++ b/public_html/css/min/container.css
@@ -590,7 +590,7 @@
width: calc( 100vw - 4em - 7.5em - 11em);
flex: 1em;
overflow: hidden;
- /* (8) Timeline infobox */ }
+ /* (9) Timeline infobox */ }
#WRAPPER > #CONTAINER article.timeline.container svg.timeline {
/* (1) svg circles -> set right transform-origin */
/* (7) Avoid icons inside center circles to block :hover */
diff --git a/public_html/view/js/history.js b/public_html/view/js/history.js
index bf7db01..5d661ce 100644
--- a/public_html/view/js/history.js
+++ b/public_html/view/js/history.js
@@ -163,6 +163,16 @@ if( section.archive.element != null ){
*/
if( section.details.element != null ){
+ /* (0) On gère le zoom sur un log via URL */
+ if( pageManager.vars.length > 1 && !isNaN(pageManager.vars[1]) ){
+ // element
+ var element = document.getElementById('e'+pageManager.vars[1]);
+
+ // if element exist -> scroll to event
+ if( element != null )
+ DOM.CONTAINER.scrollTo( 0, element.getData('y') );
+ }
+
/* (1) Get useful DOM Elements
---------------------------------------------------------*/
/* (1) Get parent */