-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c35aec0
commit ada3b25
Showing
4 changed files
with
71 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/resources/WEB-INF/lib/cypher/commands/cypher-table.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
<div> | ||
<table class="cypher-result"> | ||
<thead> | ||
<tr> | ||
<th foreach="cell in ${rows[0]}"> | ||
${cell} | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr foreach="row in ${rows}"> | ||
<td foreach="col in ${row}">${JSON.stringify(row[col])}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> |
28 changes: 28 additions & 0 deletions
28
src/main/resources/WEB-INF/lib/cypher/commands/cypher_result.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
table.cypher-result | ||
{ | ||
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; | ||
font-size: 12px; | ||
margin: 45px; | ||
width: 480px; | ||
text-align: left; | ||
border-collapse: collapse; | ||
border: 1px solid #69c; | ||
} | ||
table.cypher-result th | ||
{ | ||
padding: 12px 17px 12px 17px; | ||
font-weight: normal; | ||
font-size: 14px; | ||
color: #039; | ||
border-bottom: 1px dashed #69c; | ||
} | ||
table.cypher-result td | ||
{ | ||
padding: 7px 17px 7px 17px; | ||
color: #669; | ||
} | ||
table.cypher-result tbody tr:hover | ||
{ | ||
color: #339; | ||
background: #aadbe9; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters