mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
This commit is contained in:
commit
75890f183a
|
@ -5,7 +5,19 @@
|
||||||
</div>
|
</div>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div id="relaunchCluster">relaunchCluster</div>
|
<div class="clusterDownBtn">
|
||||||
<div id="editPlan">editPlan</div>
|
<button class="green" id="relaunchCluster">
|
||||||
<div id="deletePlan">deletePlan</div>
|
Relaunch Cluster
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="clusterDownBtn">
|
||||||
|
<button id="editPlan">
|
||||||
|
Edit Cluster Plan
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="clusterDownBtn">
|
||||||
|
<button id="deletePlan">
|
||||||
|
Delete Cluster Plan
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -4,15 +4,6 @@
|
||||||
(function() {
|
(function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
$.get("cluster/amIDispatcher", function(data) {
|
|
||||||
if (data) {
|
|
||||||
var url = window.location.origin;
|
|
||||||
url += window.location.pathname;
|
|
||||||
url = url.replace("index", "cluster");
|
|
||||||
window.location.replace(url);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
window.App = new window.Router();
|
window.App = new window.Router();
|
||||||
Backbone.history.start();
|
Backbone.history.start();
|
||||||
|
|
|
@ -322,3 +322,39 @@ button.btn-server {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.clusterDownBtn {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
text-align: center;
|
||||||
|
button {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
color: #333333;
|
||||||
|
padding: 12px 18px;
|
||||||
|
margin: 0px;
|
||||||
|
border: 1px solid rgba(0,0,0,0.1875);
|
||||||
|
border-radius: 3px;
|
||||||
|
text-decoration: none !important;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 300;
|
||||||
|
width: 250px;
|
||||||
|
text-align: center;
|
||||||
|
cursor: auto;
|
||||||
|
&:hover{
|
||||||
|
color: #4a6c30;
|
||||||
|
background-color: #e8e8e8;
|
||||||
|
-webkit-transition-delay: 0s;
|
||||||
|
-webkit-transition-duration: 0.2s;
|
||||||
|
-webkit-transition-property: all;
|
||||||
|
-webkit-transition-timing-function: ease-in;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
button.green {
|
||||||
|
@extend button;
|
||||||
|
color: $c_white;
|
||||||
|
background-color: #617e2b;
|
||||||
|
&:hover{
|
||||||
|
background-color: #8ba142;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
;
|
||||||
|
}
|
|
@ -327,7 +327,7 @@ h6.gv_icon_icon {
|
||||||
h6.gv_button_title {
|
h6.gv_button_title {
|
||||||
bottom: 1px; }
|
bottom: 1px; }
|
||||||
|
|
||||||
button.graphViewer-icon-button {
|
button.graphViewer-icon-button, .clusterDownBtn button.graphViewer-icon-button.green {
|
||||||
border: medium none;
|
border: medium none;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
@ -336,24 +336,24 @@ button.graphViewer-icon-button {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
button.graphViewer-icon-button > img {
|
button.graphViewer-icon-button > img, .clusterDownBtn button.graphViewer-icon-button.green > img {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
padding-bottom: 10px; }
|
padding-bottom: 10px; }
|
||||||
|
|
||||||
button.gv_dropdown_entry {
|
button.gv_dropdown_entry, .clusterDownBtn button.gv_dropdown_entry.green {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin: 4px 4px 4px 30px; }
|
margin: 4px 4px 4px 30px; }
|
||||||
|
|
||||||
button.gv_context_button {
|
button.gv_context_button, .clusterDownBtn button.gv_context_button.green {
|
||||||
width: 65px; }
|
width: 65px; }
|
||||||
|
|
||||||
.btn-icon {
|
.btn-icon {
|
||||||
padding: 4px 4px;
|
padding: 4px 4px;
|
||||||
background-color: #383434; }
|
background-color: #383434; }
|
||||||
|
|
||||||
button.gv-icon-small {
|
button.gv-icon-small, .clusterDownBtn button.gv-icon-small.green {
|
||||||
background-size: 16px 16px;
|
background-size: 16px 16px;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px; }
|
height: 16px; }
|
||||||
|
@ -364,7 +364,7 @@ button.gv-icon-small.delete {
|
||||||
button.gv-icon-small.add {
|
button.gv-icon-small.add {
|
||||||
background-image: url("../img/plus_icon.png"); }
|
background-image: url("../img/plus_icon.png"); }
|
||||||
|
|
||||||
button.gv-icon-btn {
|
button.gv-icon-btn, .clusterDownBtn button.gv-icon-btn.green {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
background-size: 36px 36px;
|
background-size: 36px 36px;
|
||||||
|
@ -378,7 +378,7 @@ button.gv-icon-btn.active {
|
||||||
button.btn-zoom:hover {
|
button.btn-zoom:hover {
|
||||||
background: inherit; }
|
background: inherit; }
|
||||||
|
|
||||||
button.btn-zoom {
|
button.btn-zoom, .clusterDownBtn button.btn-zoom.green {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
@ -386,23 +386,23 @@ button.btn-zoom {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: none; }
|
background: none; }
|
||||||
|
|
||||||
button.btn-zoom-top {
|
button.btn-zoom-top, .clusterDownBtn button.btn-zoom-top.green {
|
||||||
left: 13px;
|
left: 13px;
|
||||||
top: 0px; }
|
top: 0px; }
|
||||||
|
|
||||||
button.btn-zoom-left {
|
button.btn-zoom-left, .clusterDownBtn button.btn-zoom-left.green {
|
||||||
left: 0px;
|
left: 0px;
|
||||||
top: 12px; }
|
top: 12px; }
|
||||||
|
|
||||||
button.btn-zoom-bottom {
|
button.btn-zoom-bottom, .clusterDownBtn button.btn-zoom-bottom.green {
|
||||||
left: 13px;
|
left: 13px;
|
||||||
top: 24px; }
|
top: 24px; }
|
||||||
|
|
||||||
button.btn-zoom-right {
|
button.btn-zoom-right, .clusterDownBtn button.btn-zoom-right.green {
|
||||||
right: 0px;
|
right: 0px;
|
||||||
top: 12px; }
|
top: 12px; }
|
||||||
|
|
||||||
button.gv-zoom-btn {
|
button.gv-zoom-btn, .clusterDownBtn button.gv-zoom-btn.green {
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
background-size: 14px 14px;
|
background-size: 14px 14px;
|
||||||
|
@ -440,7 +440,7 @@ ul.arangoPagination a {
|
||||||
.modal-body th.actionCell > button {
|
.modal-body th.actionCell > button {
|
||||||
margin-top: -12px; }
|
margin-top: -12px; }
|
||||||
|
|
||||||
button {
|
button, .clusterDownBtn button.green {
|
||||||
font-family: 'Open Sans', sans-serif !important; }
|
font-family: 'Open Sans', sans-serif !important; }
|
||||||
|
|
||||||
.btn-old-padding {
|
.btn-old-padding {
|
||||||
|
@ -451,12 +451,42 @@ button {
|
||||||
background-color: #736b68; }
|
background-color: #736b68; }
|
||||||
|
|
||||||
/* Cluster View */
|
/* Cluster View */
|
||||||
button.btn-overview, button.btn-server {
|
button.btn-overview, .clusterDownBtn button.btn-overview.green, button.btn-server, .clusterDownBtn button.btn-server.green {
|
||||||
margin: 5px; }
|
margin: 5px; }
|
||||||
|
|
||||||
button.btn-server {
|
button.btn-server, .clusterDownBtn button.btn-server.green {
|
||||||
width: 120px; }
|
width: 120px; }
|
||||||
|
|
||||||
|
.clusterDownBtn {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
text-align: center; }
|
||||||
|
.clusterDownBtn button, .clusterDownBtn button.green {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
color: #333333;
|
||||||
|
padding: 12px 18px;
|
||||||
|
margin: 0px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1875);
|
||||||
|
border-radius: 3px;
|
||||||
|
text-decoration: none !important;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 300;
|
||||||
|
width: 250px;
|
||||||
|
text-align: center;
|
||||||
|
cursor: auto; }
|
||||||
|
.clusterDownBtn button:hover {
|
||||||
|
color: #4a6c30;
|
||||||
|
background-color: #e8e8e8;
|
||||||
|
-webkit-transition-delay: 0s;
|
||||||
|
-webkit-transition-duration: 0.2s;
|
||||||
|
-webkit-transition-property: all;
|
||||||
|
-webkit-transition-timing-function: ease-in; }
|
||||||
|
.clusterDownBtn button.green {
|
||||||
|
color: white;
|
||||||
|
background-color: #617e2b; }
|
||||||
|
.clusterDownBtn button.green:hover {
|
||||||
|
background-color: #8ba142; }
|
||||||
|
|
||||||
ul.tileList {
|
ul.tileList {
|
||||||
margin-left: -6px;
|
margin-left: -6px;
|
||||||
margin-right: -6px; }
|
margin-right: -6px; }
|
||||||
|
@ -816,7 +846,7 @@ select.filterSelect {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
word-wrap: break-word; }
|
word-wrap: break-word; }
|
||||||
|
|
||||||
.fixedDropdown button {
|
.fixedDropdown button, .fixedDropdown .clusterDownBtn button.green, .clusterDownBtn .fixedDropdown button.green {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 5px; }
|
margin-right: 5px; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue