Statistics
| Branch: | Tag: | Revision:

root / ui / templates / machines.html @ 9eef701d

History | View | Annotate | Download (25.7 kB)

# Date Author Comment
9eef701d 02/21/2011 12:31 am Markos Gogoulos

destroy action sets VM._operstate as 'DESTROYED' and does not call rapi.DeleteInstance to destroy the machine

debeeec9 02/20/2011 01:16 pm Markos Gogoulos

create machine wizzard pass foo data to the serverhandler

e98852ba 02/19/2011 08:11 pm Markos Gogoulos

start Machine action, for the standard view - initial commit

bd96a56b 02/14/2011 06:08 pm Christos Psaltis

tables working as before, but with datatables plugin

a30a43a7 02/14/2011 12:44 pm Markos Gogoulos

added switch to ajax_error, for custom messaging

f58ec963 02/13/2011 06:56 pm Christos Psaltis

replace all alerts in standard view with themed pop ups

b6270d15 02/13/2011 05:04 pm Christos Psaltis

minor code formatting and comment editing

facad27f 02/13/2011 04:57 pm Christos Psaltis

working generic confirmation actions in standard view

ba4c763b 02/13/2011 02:53 pm Christos Psaltis

less arguments for ajax_error, ajax_success

4b90b177 02/13/2011 02:51 pm Christos Psaltis

get error and success codes from ajax calls

06e9bee7 02/13/2011 02:20 pm Christos Psaltis

remove redundant } breaking javascript execution

213fdf95 02/13/2011 02:17 pm Christos Psaltis

testing version of global ajax error-success functions

962733ad 02/13/2011 01:39 pm Christos Psaltis

initial version of notification function

4e5d5e70 02/13/2011 01:23 pm Christos Psaltis

initial version of confirmation function

bd528b3b 02/13/2011 12:21 pm Christos Psaltis

Apply DRY in machines template

This includes:

  • initial code for reusable ajax error and success functions
  • more descriptive names for confirmation and notification overlays
  • break update() in update_vms() and update_images() for less calls
a4531705 02/13/2011 12:12 am Christos Psaltis

replace tablesorter with datatables, work in progress

941b00d4 02/12/2011 10:08 pm Markos Gogoulos

added error codes for reboot action.

if the action can't happen, the user gets informed. There are three cases:

  • user sends the reboot request but timeout happens. He gets informed to check his network connection
  • the request can't be made. The user gets informed that the reboot action couldn't happen. We can further parse the error message to discover why this...
fcb969cc 02/12/2011 07:01 pm Christos Psaltis

experiment with verification of reboot action in standard view

abf90954 02/11/2011 07:59 pm Markos Gogoulos

added TIMEOUT variable on settings.py.dist. You'll have to cp to your settings.py

initial value is 10 seconds. after this time passes, if the ui hasn't received any data, the user is informed (with js alert window at the moment) that there
are network issues (a better message might ask the user to refresh)

a9d8ed3a 02/11/2011 07:50 pm Christos Psaltis

correct delete state and transitions in list view

9ea8125a 02/11/2011 07:35 pm Christos Psaltis

update status for machines according to rsapi

c5e38339 02/11/2011 06:55 pm Markos Gogoulos

added error handling when rapi can't login to the backend. the ui user gets informed

d165dbb4 02/11/2011 04:49 pm Christos Psaltis

prepare action notifications

b9e0f667 02/10/2011 04:33 pm Dimitris Moraitis

update status names in js handlers

12827073 02/09/2011 07:20 pm Markos Gogoulos

a few changes on the handlers/machines.html in order for the servers to appear

f124656b 02/08/2011 08:41 pm Christos Psaltis

change misc id to creation-note

9918dde8 02/08/2011 03:54 pm Christos Psaltis

tables in list view are not showing when there are no machines to show

fac6fbbe 02/07/2011 10:17 pm Dimitris Moraitis

prevent invoking actions and populating images list more than once

fb66080c 02/07/2011 02:09 pm Dimitris Moraitis

save selected view (standard/list) in cookie

1e03328c 02/05/2011 09:21 pm Christos Psaltis

initial version of drop down selection menui in list view

8fd5c3a5 02/05/2011 07:20 pm Christos Psaltis

use server ids in all views for reboot, shutdown and destroy calls

bd8b1d60 02/05/2011 06:54 pm Christos Psaltis

rearrange code in standard machine view and add calls for reboot, shutdown actions

5c908a0f 02/04/2011 06:45 pm Christos Psaltis

Same font colors in terminated and active machines

b8d16d68 02/01/2011 10:17 pm Markos Gogoulos

added flavors on the RS API and replaced MOCK Flavors

  • also added 2 flavors on the sqlite database
  • plus added Image.description on the Wizard (create new)
14739cd6 02/01/2011 01:39 pm Christos Psaltis

add mock post create function in last step of wizard

379a34cf 01/30/2011 11:12 pm Dimitris Moraitis

list view improvements

d7c4ab32 01/30/2011 09:47 pm Dimitris Moraitis

Merge branch 'master' of https://code.grnet.gr/git/synnefo

Conflicts:
ui/templates/list.html
ui/templates/machines.html

c3b3043d 01/30/2011 09:38 pm Dimitris Moraitis

fix table sort & scroll in list view

8400e1a5 01/30/2011 09:29 pm Markos Gogoulos

added create machine .post-create class on the ui

this is a static link that once pressed sends a HTTP POST request to the ganeti cluster (through api.handlers.ServerHandler.create)
and creates a virtual server. This is sort of a mockup behavior, since

  • it has to be integrated with the wizard form...
d66446ce 01/30/2011 08:38 pm Markos Gogoulos

reboot and shutdown actions for a machine added on the list machines view

they are connected with the api.handlers.ServerActionHandler.create function that understands the data they send

63816e18 01/30/2011 07:23 pm Markos Gogoulos

send a HTTP DELETE method with the server_id once destroy is called, for a machine

api.handlers.ServerHandler.delete receives the DELETE call and id and proceeds the request through the rapi

5006d438 01/29/2011 10:21 pm Christos Psaltis

add onclick events for reboot and destroy in standard view

ccbd9f9b 01/28/2011 11:07 pm Markos Gogoulos

Initial attempt to implement the ui-->RS API-->rapi architecture

main changes are:

  • handlers.py: added function VirtualMachineName that returns the VirtualMachine, given it's id. added some ORM for the server list
    (commented at the moment, uncomment and add the db on settings.py to try it). added delete() on ServerHandler that calls rapi to destroy a machine...
2ed31bce 01/26/2011 04:48 pm Markos Gogoulos

a few minor changes regarding the naming of metadata, Server Label has become Server_Label (xml naming does not like spaces), also changed vocabs.py and machines.html according to the STATES tuple of vocabs.py

b7f8c534 01/26/2011 01:07 pm Christos Psaltis

change Hostname to Name in standard machinie view

36dc242e 01/21/2011 05:58 pm Christos Psaltis

last grey delimeter in standard view is now hidden and states in list view are correctly read

c376783b 01/21/2011 04:01 pm Markos Gogoulos

renamed instance to machine on css etc. also added a few strings for the translation

2e315183 01/21/2011 03:12 pm Christos Psaltis

added multisorting capability in list view, using the CTRL key

24fa2072 01/21/2011 03:08 pm Christos Psaltis

added, but not linked, tablesorter plugin and removed sorting from selection and OS column in list view

5435c65a 01/21/2011 02:38 pm Christos Psaltis

placed grey delimeter again and set minimum height for standard view to be the same as for list view

1c86af5b 01/20/2011 07:17 pm Christos Psaltis

fixed appearance of spinner in list view, transformed it to table and added sorting

38e2c5ed 01/20/2011 02:56 pm Christos Psaltis

added spinner when loading machines and server sleep, to emulate a real life use case

db4da4a8 01/20/2011 11:50 am Christos Psaltis

removed grey delimiter between instances, instead added more spacing

43df43aa 01/19/2011 05:43 pm Markos Gogoulos

renamed instances to machines and also files/urls