Statistics
| Branch: | Tag: | Revision:

root / ui / templates @ 4e6f9904

# Date Author Comment
0e1531b4 03/23/2011 03:51 pm Markos Gogoulos

fix GET /servers

check if server.status is "DELETED" rather than attribute server.deleted
Refs #293

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

ab5282e4 03/18/2011 03:00 am Dimitris Moraitis

rename changes_since to changes-since & slider fix - Refs #291 #147

1a49199e 03/18/2011 01:46 am Dimitris Moraitis

auto-update vm list using changes_since

01864f44 03/17/2011 08:43 pm Dimitris Moraitis

comment out jquery tools source includes

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
a5093da5 03/15/2011 09:06 pm Markos Gogoulos

fix previous broken commit

there was an error on home.html of the ui introduced with the
previous commit :(

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".

5f99a59d 03/11/2011 08:39 pm Markos Gogoulos

change error message on the ui

change translatable error message (default case) on home.html

7b7e768e 03/11/2011 04:41 pm Christos Psaltis

Change the order of includes for more clarity

48ce8b68 03/10/2011 07:54 pm Christos Psaltis

Initial support for auto updating list view

150eb972 03/10/2011 07:54 pm Christos Psaltis

Fix minor readability issues

81d48bff 03/09/2011 07:29 pm Christos Psaltis

Improve code readability in standard view template

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

improve code readability

c58db69b 03/09/2011 05:28 pm Christos Psaltis

Fix mini seperator fadeIn rule.

935bb83f 03/09/2011 01:38 am Markos Gogoulos

translatable message in case no machine exists

Show the following translatable message in div id emptymachineslist when the
api call returns no servers (user has not created any server, or all of their
servers are deleted)

{% trans "You have no virtual machines! Press Create New to create some!" %}</div>

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

2ed4ced5 03/08/2011 05:12 pm Markos Gogoulos

do not ask confirmation on start server(s) action

eae0a59a 03/08/2011 04:25 am Dimitris Moraitis

partial auto-refresh

e32c2a5d 03/06/2011 08:39 pm Dimitris Moraitis

improve look and browser compatibitily of list table scroll

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

a37690bd 02/27/2011 05:15 pm Markos Gogoulos

fix list machines view

  • use JSON.stringify, as in standard view
  • add start action
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

164d6386 02/08/2011 07:11 pm Christos Psaltis

first version of sliding selection menu in list view

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

291a7f0d 02/05/2011 07:25 pm Christos Psaltis

remove 1234 from shutdown call in list view

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

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

4da3085a 02/05/2011 07:10 pm Dimitris Moraitis

select all/none

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

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

35b8688f 02/04/2011 08:29 pm Christos Psaltis

select-deselect all widget in list view

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)
e2d89a17 02/01/2011 03:37 pm Dimitris Moraitis

remove alerts

ae0aea6d 02/01/2011 03:34 pm Dimitris Moraitis

send POST/DELETE calls on reboot, shutdown & destroy actions in list view

af215361 02/01/2011 03:10 pm Dimitris Moraitis

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

Conflicts:
ui/templates/machines.html

0604f74f 02/01/2011 03:08 pm Dimitris Moraitis

toggle actions in list view

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