Commits

Maciej Fijalkowski committed fd367a7

minor things - show selected loop

Comments (0)

Files changed (2)

_jitviewer/static/script.js

 
 function show_loop(no, path)
 {
+    $("#loop-" + glob_bridge_state.no).removeClass("selected");
     glob_bridge_state.no = no;
     if (path) {
         glob_bridge_state.path = path;
     } else {
         delete glob_bridge_state.path;
     }
+    $("#loop-" + no).addClass("selected");
     $.getJSON('/loop', glob_bridge_state, function(arg) {
         $('#main').html(arg.html).ready(function() {
             $.scrollTo($('#line-' + arg.scrollto), 200, {axis:'y'});

_jitviewer/static/style.css

     color: #00A;
 }
 
+.selected {
+    background-color: #aa6;
+    -moz-border-radius: 3px;
+		-webkit-border-radius: 3px;
+		border-radius: 3px;
+		-moz-box-shadow: 0px 0px 7px #cacaca;
+		-webkit-box-shadow: 0px 0px 7px #cacaca;
+		box-shadow: 0px 0px 7px #cacaca;
+}
+
 /* End of Formatting 
 -----------------------------------------*/