Skip to content
Permalink
Browse files

Add comments to DBC browser headers

  • Loading branch information...
Marlamin committed Dec 1, 2019
1 parent 4f6cec8 commit ab298089f03d1bc79d76310528dbee659ca9d8b8
Showing with 11 additions and 1 deletion.
  1. +6 −0 dbc/css/dbc.css
  2. +5 −1 dbc/index.php
@@ -44,6 +44,12 @@
margin: auto;
}


.colHasComment{
border-bottom: 2px dashed var(--border-color) !important;
cursor: help;
}

.added, .diff-added {
background: var(--diff-added-color) !important;
text-decoration: none;
@@ -227,7 +227,11 @@ function toggleFilters(){
}
var allCols = [];
$.each(json['headers'], function(i, val){
tableHeaders += "<th>" + val + "</th>";
if(val in json['comments']){
tableHeaders += "<th title='" + json['comments'][val] +"' class='colHasComment'>" + val + "</th>";
}else{
tableHeaders += "<th>" + val + "</th>";
}
if(val == "ID"){
idHeader = i;
}

0 comments on commit ab29808

Please sign in to comment.
You can’t perform that action at this time.