-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improving the admin ui * Adding unified ui, mysql dependency in pom
- Loading branch information
1 parent
cbdfc1c
commit 2135fb6
Showing
15 changed files
with
217 additions
and
103 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
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
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
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
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
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 @@ | ||
.tablink:hover { | ||
background-color: #777; | ||
} | ||
|
||
.tablink { | ||
background-color: #555; | ||
color: white; | ||
float: left; | ||
border: none; | ||
outline: none; | ||
cursor: pointer; | ||
padding: 14px 16px; | ||
font-size: 17px; | ||
width: 25%; | ||
} | ||
|
||
|
||
.tabcontent { | ||
padding: 70px 20px; | ||
height: 100%; | ||
} | ||
|
||
|
||
body, html { | ||
height: 100%; | ||
margin: 0; | ||
font-family: Arial; | ||
} |
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
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 |
---|---|---|
@@ -1,23 +1,25 @@ | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<link rel="stylesheet" type="text/css" href="assets/css/common.css"/> | ||
<link rel="stylesheet" type="text/css" href="assets/css/jquery.dataTables.min.css"/> | ||
<script src="assets/js/jquery-3.3.1.js"></script> | ||
|
||
<!-- JSON Editor comes here--> | ||
<link rel="stylesheet" href="web/js/jsonedit/jsoneditor.min.css"/> | ||
<script src="web/js/jsonedit/jsoneditor.min.js" defer></script> | ||
<script src="web/js/entity-editor.js" defer></script> | ||
<link rel="stylesheet" href="assets/js/jsonedit/jsoneditor.min.css"/> | ||
<script src="assets/js/jsonedit/jsoneditor.min.js" defer></script> | ||
<script src="assets/js/entity-editor.js" defer></script> | ||
|
||
<script type="text/javascript"> | ||
$(document).ready(function () { | ||
renderConfigSelector() | ||
renderConfigSelector(); | ||
document.getElementById("entity_editor_tab").style.backgroundColor = "grey"; | ||
}) | ||
</script> | ||
|
||
</head> | ||
<body> | ||
|
||
<#include "header.ftl"> | ||
<h2>!!Admin only!!</h2> | ||
<div id="entity-editor-place-holder"></div> | ||
|
||
</body> | ||
</html> | ||
<#include "footer.ftl"> |
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,3 @@ | ||
</div> | ||
</body> | ||
</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
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,12 @@ | ||
<h2>Presto Gateway</h2> | ||
<a href="/"> | ||
<button class="tablink" id="query_history_tab">QueryHistory</button> | ||
</a> | ||
<a href="/viewgateway"> | ||
<button class="tablink" id="active_backends_tab">Active Backends</button> | ||
</a> | ||
<a href="/entity"> | ||
<button class="tablink" id="entity_editor_tab">Entity Editor</button> | ||
</a> | ||
|
||
<div class="tabcontent"> |
Oops, something went wrong.