Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed May 31, 2013
2 parents 50dcefd + 5dd680c commit cc5cee7
Show file tree
Hide file tree
Showing 29 changed files with 1,192 additions and 141 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
app/tmp
*.version
app/scripts/config.js
pkg/build-info
Expand Down
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
How to use
----------
- Install yeoman if not installed: 'npm install yeoman -g'
- Clone the repo
- 'yeoman server'
About
-----

BUGS:
- Firefox: gives 415

Features missing
-------------
- Change ram, quota, resolvers. Packages?
- User profile with ssh managment
- Funkyer way to select datasets.
- Funkyer way to create vm's http://www.orionvm.com.au/pricing
- Use this: http://mgcrea.github.com/angular-strap
- Keystrokes

Things that could be done
--------------------------
- When another user creates a VM, show the new vm in the list (requires: howl to notify 'look, there is a new channel')
(Security considerations)
Jingles is the Web UI of FiFo. More into at http://project-fifo.net/
Binary file added app/images/server.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ <h3>{{title}}</h3>
<nav-tab href="#/virtual-machines" icon="display">Machines</nav-tab>
<nav-tab href="#/datasets" icon="hdd">Datasets</nav-tab>
<nav-tab href="#/hypervisors" icon="cloud">Hypervisors</nav-tab>
<nav-tab href="#/graph" icon="snowflake">CloudView</nav-tab>
<nav-tab href="#/packages" icon="cargo">Packages</nav-tab>
<nav-tab href="#/networks" icon="share_alt">Networks</nav-tab>
<nav-tab href="#/dtrace" icon="stats">DTrace</nav-tab>
Expand Down Expand Up @@ -185,6 +186,7 @@ <h3>{{title}}</h3>
<script src="scripts/controllers/new_package.js"></script>
<script src="scripts/controllers/new_network.js"></script>
<script src="scripts/controllers/about.js"></script>
<script src="scripts/controllers/graph.js"></script>
<script src="scripts/services/wiggle.js"></script>
<script src="scripts/services/datasetsat.js"></script>
<script src="scripts/services/howl.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ var fifoApp = angular.module('fifoApp', ['ngResource', 'ngCookies', 'fifoHooks']
templateUrl: 'views/about.html',
controller: 'AboutCtrl'
})
.when('/graph', {
templateUrl: 'views/graph.html',
controller: 'GraphCtrl'
})

.otherwise({
redirectTo: '/status'
Expand All @@ -120,7 +124,7 @@ var fifoApp = angular.module('fifoApp', ['ngResource', 'ngCookies', 'fifoHooks']
/* This is an accepted bug in angularjs.. 1.1.1 has this 'fixed' */
delete $http.defaults.headers.common['X-Requested-With']

var token = $cookies["X-Snarl-Token"];
var token = $cookies["x-snarl-token"];

if (token)
wiggle.sessions.get({id: token},
Expand Down
3 changes: 3 additions & 0 deletions app/scripts/config.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Config = {
*/
datasets: 'datasets.at',

/* Polling interval in seconds for checking if there is a new VM */
newVmPolling: false,

/* Time in seconds to wait to show the force stop button for the VM's */
timeForceButton: 10,

Expand Down
Loading

0 comments on commit cc5cee7

Please sign in to comment.