Commit Graph

8 Commits

Author SHA1 Message Date
Qian Min Chen e28dfcf7d3 Remove the redundant attributes
DeleteInstance action inherits from tables.DeleteAction,
the parent class has the 'name', 'classes' and 'icon' attributes,
So remove the unused attributes.

Change-Id: I5ef01ce68edcd7e78ac95747cf5fd8d8f8c96c81
2018-07-19 17:48:08 +08:00
Akihiro Motoki 6bf20357fe Django 2.0 support
Replace django.core.urlresolves with django.urls

(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3

Note that this commit does not add py35dj20 like other horizon plugins
because there is no actual python unit tests in freezer-web-ui.

Older Django unit tests were dropped from tox.ini
as horizon dropped Django <=1.10 support in Rocky.

Change-Id: I38f3f05655324f2a5f38c6e8c6ab53ebaa42d4c8
2018-05-14 02:34:28 +09:00
howardlee 588b60044c Add delete backup operation in UI
Currently, there is no delete backup operation in freezer-web-ui, if
we want to delete a backup, we can only use the command line. This is
not convenient. This patch will add operation of deleting backup in
freezer web ui.

Change-Id: I31de6b8cafd7cba043ae050f9d4a83d697adb6c6
2017-07-11 08:25:54 +00:00
Cao Xuan Hoang 42eb07b3f4 Remove logging import unused
This patch removes logging import unused in disaster_recovery

Change-Id: I453254206e4c91f005018cad9eff512a85a40df0
2016-11-15 16:29:24 +07:00
Jenkins 9cf484a0d8 Merge "UX improvements" 2016-03-25 12:57:21 +00:00
Memo Garcia a1541e6a59 UX improvements
Fix calendar to better display in small windows
Bump the number of results for listing items
Quick workaround to successfully listing items after being created

Closes bug: 1556939
Change-Id: Ibaf0a999a729197900b18c1f22fd819f5e11e797
2016-03-25 12:05:25 +00:00
Memo García 37f3b7caef Fix misleading labeling for filters
Resolved bug: 1544083

Change-Id: I0b2383159b1616d80a5d7641618a65a73dc73654
2016-02-10 14:43:14 +00:00
memo b08558eba4 Improved horizon dashboard for freezer
action, job, session, backup, clients are now objects in api.py
shield decorator to avoid having boilerplate code in views
move from freezer_ui to disaster_recovery url
improved actions edition in a job
javascript lint
added clients panel
added actions panel
improved restore functionality from the dashboard

Change-Id: I23aed516bcde3a40b24144b05f858d1e3a49a796
2015-11-12 16:21:27 +00:00