diff --git a/index.html b/index.html index 0fd26a8..15bf7d6 100755 --- a/index.html +++ b/index.html @@ -87,6 +87,7 @@ + @@ -138,7 +139,7 @@ - + exit_to_app

Logout

@@ -186,7 +187,7 @@

track_changes - + Documentation diff --git a/js/app.js b/js/app.js index 2b467c3..eac7333 100755 --- a/js/app.js +++ b/js/app.js @@ -73,7 +73,12 @@ var version = '0.1.5'; $routeProvider. when('/', { - redirectTo: '/deployments' + redirectTo: '/welcome' + }). + when('/welcome', { + controller: 'WelcomeCtrl', + controllerAs: 'welcome', + templateUrl: 'views/welcome.html' }). when('/deployments', { controller: 'DeploymentsCtrl', @@ -291,7 +296,7 @@ var version = '0.1.5'; }). otherwise({ - redirectTo: '/login' + redirectTo: '/welcome' }); }); @@ -491,10 +496,6 @@ var version = '0.1.5'; icon: 'traffic', path: '/capabilities' }] - }, { - title: 'Settings', - icon: 'settings', - path: '/settings' }, { title: 'Alerts', icon: 'error', diff --git a/js/welcome.js b/js/welcome.js new file mode 100644 index 0000000..1476e3e --- /dev/null +++ b/js/welcome.js @@ -0,0 +1,11 @@ +/* +welcome controller +*/ +(function () { + angular.module('app') + .controller('WelcomeCtrl', function ($scope, api, $location, localStorageService, $http, $cookies, debounce, $mdMedia, $mdDialog, $mdToast) { + $scope.$emit('title', 'Welcome to RackN Digital Rebar!'); // shows up on the top toolbar + + + }); +})(); diff --git a/views/deployments.html b/views/deployments.html index 9cee3d3..4c172ba 100644 --- a/views/deployments.html +++ b/views/deployments.html @@ -32,10 +32,6 @@

- - - - @@ -51,98 +47,61 @@

- - - - - - - - - - {{_nodes[node_id].name}} - - {{ api.getNodeIcon(_nodes[node_id]) }} - - - - - - - - - - - - - {{_roles[_deployment_roles[role_id].role_id].name}} - - {{_roles[_deployment_roles[role_id].role_id].icon}} - - - - - - -
-

Services

- - - - {{_roles[_node_roles[role_id].role_id].name}} - - {{_roles[_node_roles[role_id].role_id].icon}} - - -
-
- - - - - - - - - - - - - -
Nodes - -
- - - {{ api.getNodeIcon(_nodes[node_id]) }} - - - {{!_nodes[node_id].alive ? 'off' : _nodes[node_id].status}} - - - - {{api.truncName(_nodes[node_id].name)}} - - - - {{icons[_node_roles[matrix[deployment.id][id][node_id]].status]}} - - - {{_node_roles[matrix[deployment.id][id][node_id]].status}} - - -
-
-
- -
- - + +
+ Services: + + + + {{_roles[_node_roles[role_id].role_id].name}} + + {{_roles[_node_roles[role_id].role_id].icon}} + + +
+
+ + + + + + + + + + + + + +
Nodes + +
+ + + {{ api.getNodeIcon(_nodes[node_id]) }} + + + {{!_nodes[node_id].alive ? 'off' : _nodes[node_id].status}} + + + + {{api.truncName(_nodes[node_id].name)}} + + + + {{icons[_node_roles[matrix[deployment.id][id][node_id]].status]}} + + + {{_node_roles[matrix[deployment.id][id][node_id]].status}} + + +
+
diff --git a/views/welcome.html b/views/welcome.html new file mode 100644 index 0000000..387289c --- /dev/null +++ b/views/welcome.html @@ -0,0 +1,83 @@ + +
+ + + + + face Welcome + + + Digital Rebar Project by RackN + + + + We believe that great applications start with a solid automation foundation. We've created Digital Rebar to unify management of heterogeneous physical and cloud infrastructure in an open, scalable way. + + home Home + help Documenation + chat Chat + bug_report Issues + code Source Code + sentiment_satisfied Social + account_balance License + + + + + + + + + + + +
+ + + + + video_library Digital Rebar Five Minute Tour + + Basic Navigation and Layout + + + + This short tutorial shows you the basics of the Digital Rebar using both the RackN UX and some command line tasks. + After this video, you will understand the various options available in the system and be ready to perform basic deployment and troubleshooting tasks. + + + Training + Hybrid DevOps + Kubernetes + All Content + +
+
+
+
+ + + + + child_friendly Getting Started + + + + The simplest way to start using Digital Rebar is to use the Workloads (work) wizards to deploy pre-built applications or operating systems; however, before you can take those actions you must either have discovered Nodes (dns) via the Provisioner (local_shipping) or created a Provider (filter_drama) using cloud credentials. Generally, it's easier to start by adding a Provider. + + + Adding a Provider (filter_drama) requires that you have an account and access key for one of the supported clouds. When adding a Provider, you will want to test creating a Node (dns) using that provider and checking that it got created on the target cloud. You can monitor the process using "docker logs -f compose_cloudwrap_1" from the Digital Rebar host system. + + + Workloads (work) wizard will create Nodes (dns) and put them in a Deployment (dashboard). Each deployment is shown as a matrix with rows of nodes and columns of Roles (label_outline). Roles determine the functions that have been assigned to each node. Each assignment, known as a node-role, has a state. The node-role states are updated dynamically while Digital Rebar completes the deployment. You can use top-right corner buttons to Refresh (refresh) for latest state or review the queue (track_changes) of all pending work. + + + Node and Node-Role status indicators are common throughout the Digital Rebar UX. Completed actions are considered Ready (check_circle) or Error (warning) if something went wrong. Actions that are in Process (autorenew) have live log updates while pending action is shown as Todo (play_circle_outline) or Queued (update). Digital Rebar cannot act if a node-role is waiting for user input as Proposed (add_circle_outline) or Reserved + (pause_circle_outline). It also cannot act on nodes that are off (power_settings_new). + + + +
+