Commit Graph

11 Commits

Author SHA1 Message Date
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
qiaomin f7165967b5 Remove the redundant codes
DeleteInstance action inherits from tables.DeleteAction,
the tables.DeleteAction has already define some attributes.
So this patch remove the repeated attributes.

Change-Id: I7cab3cf609b75e483d5507af113501aa957436c5
2017-02-07 22:54:52 +08:00
qiaomin 6de8df0b9f Add the missing name in confirm delete modal
Change-Id: Idcf6ae03c96712a3204c606f659543e5738008a3
Closes-Bug: #1658557
2017-01-23 23:13:09 +08: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 4c8cdb2d37 Merge "Actions for a job no longer shows irrelevant actions for specific cases" 2016-03-29 10:22:38 +00:00
Jenkins d49e655ffe Merge "Fix misleading labeling for filters" 2016-03-24 14:55:02 +00:00
Jin Nan Zhang 9cc4126d52 Fixed importError urlresolvers
ImportError: No module named urlresolvers in horizon.utils.
Fixed this importError use django.core.urlresolvers.

Change-Id: Ia2591675e3ac75b1cf608e7c18ad0c749d530289
Closes-Bug: #1549077
2016-03-01 14:02:05 -05:00
Memo García 7dbb52e2b3 Actions for a job no longer shows irrelevant actions for specific cases
Resolves bug: 1546195
Change-Id: I6234a1d7bdbd2c5366fcf95290c60500b0625d1c
2016-02-16 16:43:05 +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 García 2cc46f5886 Improved cinder and nova backups ui
Simplified ui for linux snapshots

Change-Id: I18c6350a217327c6fe924373ab104441cf82dc0c
2015-11-28 12:49:34 +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