Statistics
| Branch: | Tag: | Revision:

root / ui / templates / machines.html @ e2ccad35

History | View | Annotate | Download (16.1 kB)

# Date Author Comment
e2ccad35 04/01/2011 09:07 pm Dimitris Moraitis

fix wave in list view & minor css improvements - refs #293

2cd96cc7 03/31/2011 05:35 pm Vangelis Koukis

Fix stray Greek Alpha in JS source

0971fa71 03/31/2011 04:47 pm Markos Gogoulos

implement server actions on gui for api/v1.1redux

  • implement server reboot/shutdown/start/destroy actions
  • fix ordering on imports (servers.py, actions.py)
  • actions.py: change type to reboot_type (reserverd word)
  • change vm.start_action to backend.start_action where needed...
309d7ed2 03/30/2011 04:09 pm Dimitris Moraitis

autoposition multiple confirm box - Refs #209

d134b632 03/26/2011 03:46 pm Dimitris Moraitis

update images and flavors in wizard when switching between tabs

695e1b21 03/26/2011 03:23 pm Dimitris Moraitis

polish new style error boxes & validate rangeinputs - Refs #209 #213 #147

990772be 03/24/2011 11:34 pm Dimitris Moraitis

new style action indicators in list view - Refs #209

3d286f84 03/24/2011 09:58 pm Dimitris Moraitis

display number of pending actions in multiple confirm box

8550e831 03/24/2011 08:52 pm Markos Gogoulos

return virtual machine password to the gui user

return the password of the VM to the gui user, once the create server wizzard
has successfully created the VM.

Refs: #203

2f86374f 03/24/2011 08:30 pm Dimitris Moraitis

use local var for serverID

a1a31201 03/24/2011 05:57 pm Dimitris Moraitis

new style action indicators in standard view - Refs #209

aa0534a7 03/24/2011 04:38 pm Dimitris Moraitis

new style confirmations in standard view - Refs #209

267403ca 03/23/2011 09:20 pm Dimitris Moraitis

new style confirmations & abort old switch view requests - Refs #209 Fixes #309

d725fb12 03/19/2011 08:16 pm Christos Psaltis

Add and style confirmation box in list & standard view.

This refers to the confirmation box for multiple machine actions
in standard view and all machine actions in list view. The box
appears at the bottom of the page. You can only view it
by removing display: none from div.confirmation....

c2464ef2 03/19/2011 07:04 pm Christos Psaltis

Add and style confirmation box in standard view

This refers to the confirmation box for single machine actions.
At this point you can only view it by removing display: none
from div.confirmation.

Refs #209

31343277 03/18/2011 07:46 pm Christos Psaltis

Add initial html for new style confirmations

5b147126 03/18/2011 07:02 pm Christos Psaltis

#machines.separator appears in standard and list view

146b6003 03/17/2011 03:51 am Dimitris Moraitis

improve auto-refresh and error handling

b335768e 03/15/2011 09:33 pm Markos Gogoulos

changes related to Openstack naming

  • change imageId to imageRef
  • change flavorId to flavorRef
  • add updated+created attributes on serverhandlerss response for servers
7d311ba1 03/15/2011 09:00 pm Markos Gogoulos

fix create wizzard error handling

show 2 different translatable messages, when no images or flavors
are found

e5b0ba20 03/12/2011 03:06 am Vangelis Koukis

Remove unneeded GUI refreshes, fix spelling

Now that partial refreshes are working, there is no need to refresh
whole page after submitting an AJAX request. This eliminates unecessary
flicker.

Make the GUI page update every 5s instead of 60s.

Modify spelling of "seperator" to read "separator".

9b1b6f3a 03/09/2011 05:28 pm Christos Psaltis

improve code readability

a3e418b1 03/08/2011 09:02 pm Markos Gogoulos

not launch create machine wizard on some cases

When there are no images, or no flavors, don't launch the create
machine wizzard, but show an error popup instead

d36493ce 03/06/2011 06:45 pm Dimitris Moraitis

move timeout to home template to fix breakage

f974b570 03/06/2011 07:58 am Dimitris Moraitis

remove extra comma

42f67a2a 03/06/2011 07:40 am Dimitris Moraitis

major js restructuring & refactoring

Most javascript functions have been moved to a seperate file.
The standard view is also now seperate from the machines view. This solves a
couple of issues with Webkit browsers and the code becomes cleaner.
All actions from both the list and the standard view now have unified...

12d7e95e 03/05/2011 06:05 pm Dimitris Moraitis

update rangeinput values directly when moving the sliders

20fae095 03/05/2011 05:16 pm Christos Psaltis

post imageId on create

d62113a0 03/02/2011 10:59 pm Markos Gogoulos

add translatable strings

on machines.html

dddb9274 03/02/2011 09:49 pm Markos Gogoulos

make errors translatable

error messages (404, 400, 503, 501 or others) are translatable
The greek translation has been added

3a150bbe 02/28/2011 10:41 am Dimitris Moraitis

restore slider progress

217b2431 02/27/2011 10:27 pm Dimitris Moraitis

fix list view actions, add javascript console logging

68a49035 02/27/2011 08:35 pm Dimitris Moraitis

consolidate jquery event handlers for rangeinputs in the wizard

71642965 02/26/2011 09:29 pm Dimitris Moraitis

create vm action selects requested flavor

and display the right values in the wizard confirmation step

52bc1c74 02/26/2011 05:22 pm Markos Gogoulos

update ajax calls for actions

Use JSON.stringify for actions (reboot,shutdown,start,destroy)

285a1fa8 02/26/2011 12:20 am Dimitris Moraitis

improve API compliance of the create instance handler

93a10af1 02/25/2011 08:50 pm Markos Gogoulos

add size field to Images listing

1cea389e 02/24/2011 08:20 pm Markos Gogoulos

improved virtual servers filtering . also made a small change regarding /servers

the first change adds field deleted as the filter, while the second one is related with the address tag

e336bde6 02/24/2011 01:47 pm Markos Gogoulos

addresses and metadata fields on GET /servers/detail

3a49d1da 02/23/2011 07:50 pm Christos Psaltis

add boilerplate code for GET flavors

008b3ae8 02/22/2011 08:18 pm Christos Psaltis

Remove table of terminated machines in list view

There is only one table in list view now, which
contains both running and terminated machines.

b8bbd09f 02/22/2011 01:51 pm Christos Psaltis

fix reloading after confirmation

dc7c6742 02/22/2011 01:46 pm Christos Psaltis

reload standard view after confirmation

5d13042c 02/22/2011 01:32 pm Christos Psaltis

removed focus for actions in standard view

3d6e97af 02/22/2011 01:21 pm Christos Psaltis

change mini seperator order of appearance

6a94c3c4 02/22/2011 01:05 pm Christos Psaltis

renamed fixtures file so it can be called automatically

c18611c8 02/21/2011 04:04 pm Markos Gogoulos

improvements regarding error handling.

  • added exceptions checking for Ganeti Api Errors and Django ORM
  • vm.start_action(action) is called before any action (reboot, shutdown, start, destroy)
  • code cleanout for the ServerActionHandler
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