Added project
This commit is contained in:
parent
fe9aa14dfd
commit
2d73cc8845
186 changed files with 21174 additions and 0 deletions
149
lib-build/debug-server/www_static/css/boot.css
Normal file
149
lib-build/debug-server/www_static/css/boot.css
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
|
||||
body {
|
||||
margin-top: 100px;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
body {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.huge {
|
||||
font-size: 50px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
#wrapper {
|
||||
padding-left: 225px;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Top Navigation */
|
||||
|
||||
.top-nav {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.top-nav>li {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.top-nav>li>a {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
line-height: 20px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.top-nav>li>a:hover,
|
||||
.top-nav>li>a:focus,
|
||||
.top-nav>.open>a,
|
||||
.top-nav>.open>a:hover,
|
||||
.top-nav>.open>a:focus {
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.top-nav>.open>.dropdown-menu {
|
||||
float: left;
|
||||
position: absolute;
|
||||
margin-top: 0;
|
||||
border: 1px solid rgba(0,0,0,.15);
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
background-color: #fff;
|
||||
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
|
||||
box-shadow: 0 6px 12px rgba(0,0,0,.175);
|
||||
}
|
||||
|
||||
.top-nav>.open>.dropdown-menu>li>a {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
ul.message-dropdown {
|
||||
padding: 0;
|
||||
max-height: 250px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
li.message-preview {
|
||||
width: 275px;
|
||||
border-bottom: 1px solid rgba(0,0,0,.15);
|
||||
}
|
||||
|
||||
li.message-preview>a {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
li.message-footer {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
ul.alert-dropdown {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
/* Side Navigation */
|
||||
|
||||
@media(min-width:768px) {
|
||||
.side-nav {
|
||||
position: fixed;
|
||||
top: 51px;
|
||||
left: 225px;
|
||||
width: 225px;
|
||||
margin-left: -225px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
overflow-y: auto;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.side-nav>li>a {
|
||||
width: 225px;
|
||||
}
|
||||
|
||||
.side-nav li a:hover,
|
||||
.side-nav li a:focus {
|
||||
outline: none;
|
||||
background-color: #000 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.side-nav>li>ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.side-nav>li>ul>li>a {
|
||||
display: block;
|
||||
padding: 10px 15px 10px 38px;
|
||||
text-decoration: none;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.side-nav>li>ul>li>a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.huge {
|
||||
font-size: 40px;
|
||||
}
|
||||
11
lib-build/debug-server/www_static/css/flot.css
Normal file
11
lib-build/debug-server/www_static/css/flot.css
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
.flot-chart {
|
||||
display: block;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.flot-chart-content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
56
lib-build/debug-server/www_static/css/panel.css
Normal file
56
lib-build/debug-server/www_static/css/panel.css
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
|
||||
.panel-green {
|
||||
border-color: #5cb85c;
|
||||
}
|
||||
|
||||
.panel-green .panel-heading {
|
||||
border-color: #5cb85c;
|
||||
color: #fff;
|
||||
background-color: #5cb85c;
|
||||
}
|
||||
|
||||
.panel-green a {
|
||||
color: #5cb85c;
|
||||
}
|
||||
|
||||
.panel-green a:hover {
|
||||
color: #3d8b3d;
|
||||
}
|
||||
|
||||
.panel-red {
|
||||
border-color: #d9534f;
|
||||
}
|
||||
|
||||
.panel-red .panel-heading {
|
||||
border-color: #d9534f;
|
||||
color: #fff;
|
||||
background-color: #d9534f;
|
||||
}
|
||||
|
||||
.panel-red a {
|
||||
color: #d9534f;
|
||||
}
|
||||
|
||||
.panel-red a:hover {
|
||||
color: #b52b27;
|
||||
}
|
||||
|
||||
.panel-yellow {
|
||||
border-color: #f0ad4e;
|
||||
}
|
||||
|
||||
.panel-yellow .panel-heading {
|
||||
border-color: #f0ad4e;
|
||||
color: #fff;
|
||||
background-color: #f0ad4e;
|
||||
}
|
||||
|
||||
.panel-yellow a {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
|
||||
.panel-yellow a:hover {
|
||||
color: #df8a13;
|
||||
}
|
||||
|
||||
|
||||
54
lib-build/debug-server/www_static/css/style.css
Normal file
54
lib-build/debug-server/www_static/css/style.css
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
|
||||
#wrapper {
|
||||
padding-right: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.side-nav {
|
||||
right: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.navbar-footer {
|
||||
margin-left: 45%;
|
||||
}
|
||||
|
||||
.navbar-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
background-color: #2CABE1;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-brand {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-brand:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-brand:hover {
|
||||
background-color: #FF9A28;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.navbar-inverse {
|
||||
background-color: #2CABE1;
|
||||
}
|
||||
|
||||
#menuLogo {
|
||||
position: absolute;
|
||||
top: 47px;
|
||||
right: 0px;
|
||||
background: url("../img/xensit-sm.png") 50% 0px no-repeat transparent !important;
|
||||
height: 77px;
|
||||
width: 212px;
|
||||
}
|
||||
|
||||
|
||||
BIN
lib-build/debug-server/www_static/img/xensit-sm.png
Normal file
BIN
lib-build/debug-server/www_static/img/xensit-sm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
pageRouteInit.push(function ($routeProvider, $locationProvider) {
|
||||
$routeProvider.when('/ui/server/about', {
|
||||
templateUrl: '/ui/thtml/server/about',
|
||||
controller: XPageServerAbout
|
||||
});
|
||||
});
|
||||
|
||||
function XPageServerAbout($scope, $http) {
|
||||
//$http.get('/api/posts').success(function(data, status, headers, config) {
|
||||
// $scope.posts = data.posts;
|
||||
//});
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
pageRouteInit.push(function ($routeProvider, $locationProvider) {
|
||||
$routeProvider.when('server/dash', {
|
||||
templateUrl: '/ui/thtml/server/dash',
|
||||
controller: XPageServerDash
|
||||
});
|
||||
});
|
||||
|
||||
function XPageServerDash($scope, $http) {
|
||||
//$http.get('/api/posts').success(function(data, status, headers, config) {
|
||||
// $scope.posts = data.posts;
|
||||
//});
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
pageRouteInit.push(function ($routeProvider, $locationProvider) {
|
||||
$routeProvider.when('/ui', {
|
||||
templateUrl: '/ui/thtml/server/index',
|
||||
controller: XPageServerIndex
|
||||
});
|
||||
});
|
||||
|
||||
function XPageServerIndex($scope, $http) {
|
||||
//$http.get('/api/posts').success(function(data, status, headers, config) {
|
||||
// $scope.posts = data.posts;
|
||||
//});
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
pageRouteInit.push(function ($routeProvider, $locationProvider) {
|
||||
$routeProvider.when('/ui/server/routes', {
|
||||
redirectTo: '/ui/server/routes/tech',
|
||||
});
|
||||
$routeProvider.when('/ui/server/routes/tech', {
|
||||
templateUrl: '/ui/thtml/server/routes?group1=all,rss,json&group2=csv,xml,ui,angular',
|
||||
controller: XPageServerTechRoutes,
|
||||
});
|
||||
$routeProvider.when('/ui/server/routes/model', {
|
||||
templateUrl: '/ui/thtml/server/routes?group1=xnode,xnode_base,xnode-base-command&group2=xnode-data,xnode-data-value,xsystem-state,all',
|
||||
controller: XPageServerModelRoutes,
|
||||
});
|
||||
});
|
||||
|
||||
function XPageServerTechRoutes($scope, $http) {
|
||||
$http.get('/api/json/server/routes?groups=json,xml,rss,csv,ui,angular').success(function(data, status, headers, config) {
|
||||
$scope.serverRoutes = data.data;
|
||||
});
|
||||
}
|
||||
|
||||
function XPageServerModelRoutes($scope, $http) {
|
||||
$http.get('/api/json/server/routes?groups=xnode,xnode-base,xnode-base-command,xnode-data,xnode-data-value,system-state').success(function(data, status, headers, config) {
|
||||
$scope.serverRoutes = data.data;
|
||||
});
|
||||
}
|
||||
9
lib-build/debug-server/www_static/js/xds-directives.js
Normal file
9
lib-build/debug-server/www_static/js/xds-directives.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('xdsUI.directives', []).
|
||||
directive('appVersion', ['version', function(version) {
|
||||
return function(scope, elm, attrs) {
|
||||
elm.text(version);
|
||||
};
|
||||
}]);
|
||||
|
||||
9
lib-build/debug-server/www_static/js/xds-filters.js
Normal file
9
lib-build/debug-server/www_static/js/xds-filters.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('xdsUI.filters', []).
|
||||
filter('interpolate', ['version', function(version) {
|
||||
return function(text) {
|
||||
return String(text).replace(/\%VERSION\%/mg, version);
|
||||
}
|
||||
}]);
|
||||
|
||||
5
lib-build/debug-server/www_static/js/xds-services.js
Normal file
5
lib-build/debug-server/www_static/js/xds-services.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('xdsUI.services', []).
|
||||
value('version', '0.1');
|
||||
|
||||
27
lib-build/debug-server/www_static/js/xds.js
Normal file
27
lib-build/debug-server/www_static/js/xds.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
'use strict';
|
||||
|
||||
var crudRouteInit = [];
|
||||
var pageRouteInit = [];
|
||||
|
||||
angular.module('xdsUI', ['ngRoute','xdsUI.filters', 'xdsUI.services', 'xdsUI.directives']).
|
||||
config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
|
||||
|
||||
// init page controllers
|
||||
for (var i = 0; i < pageRouteInit.length; i++) {
|
||||
pageRouteInit[i]($routeProvider, $locationProvider);
|
||||
}
|
||||
// init crud controllers
|
||||
for (var i = 0; i < crudRouteInit.length; i++) {
|
||||
crudRouteInit[i]($routeProvider, $locationProvider);
|
||||
}
|
||||
|
||||
//$routeProvider.otherwise("/404", {
|
||||
// templateUrl: "partials/404.html",
|
||||
// controller: "PageCtrl"
|
||||
//});
|
||||
|
||||
$routeProvider.otherwise({ redirectTo: '/ui' });
|
||||
// todo: add ie9 warning, base kills svg url property
|
||||
$locationProvider.html5Mode({enabled: true, requireBase: false});
|
||||
}]);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue