diff --git a/css/data-explorer.css b/css/data-explorer.css index e5d37af9..7ed4e66a 100644 --- a/css/data-explorer.css +++ b/css/data-explorer.css @@ -150,7 +150,7 @@ * Data Table Menus *********************************************************/ -a.column-header-menu { +a.column-header-menu, a.root-header-menu { float: right; display: block; margin: 0 4px 0 0; @@ -160,7 +160,7 @@ a.column-header-menu { background-repeat: no-repeat; } -a.row-header-menu:hover { +a.row-header-menu:hover, a.root-header-menu:hover { background-position: -17px 0px; text-decoration: none; } @@ -175,6 +175,10 @@ a.row-header-menu { background-repeat: no-repeat; } +.read-only a.row-header-menu { + display: none; +} + a.column-header-menu:hover { background-position: -17px 0px; text-decoration: none; @@ -511,11 +515,12 @@ td.expression-preview-value { * Read-only mode *********************************************************/ -.read-only .data-table tr td:first-child, +/*.read-only .data-table tr td:first-child, .read-only .data-table tr th:first-child { display: none; } +*/ .read-only .write-op, .read-only a.data-table-cell-edit diff --git a/src/util.js b/src/util.js index 9d6c898f..ca5cee76 100644 --- a/src/util.js +++ b/src/util.js @@ -9,6 +9,10 @@ var util = function() {
  • Hide this column
  • \ ' , rowActions: '
  • Delete this row
  • ' + , rootActions: ' \ + {{#columns}} \ +
  • Add column: {{.}}
  • \ + {{/columns}}' , cellEditor: ' \