horizon/openstack_dashboard
Akihiro Motoki c8cd03189a Use BooleanField for admin_state_up form
admin_state_up is a boolean value but the network and port edit forms
expected a string version of True/False. As a result, True/False string
was shown as the default value in these forms. The field is implemented
as ChoiceField, but there is no special reason not to use BooleanField
for a boolean field and admin_state(_up) fields are the only exceptions
in horizon. This commit replaces all admin_state(_up) fields to
use BooleanField.

As far as I checked, this pattern is used only in the networking
related panels and this patch clean them up.

Change-Id: I9286f6c29d67fec7a88b74661bc8eca945fd9061
Closes-Bug: #1672213
2017-04-14 19:40:48 +00:00
..
api Merge "Handle log message interpolation by the logger" 2017-03-31 13:28:44 +00:00
conf Update Horizon to use latest nova policy rules for validation 2017-03-13 13:43:02 +00:00
contrib hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
dashboards Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
django_pyscss_fix Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
enabled Reorganize Admin dashboard menus 2017-03-13 04:53:20 +00:00
local Update Network Port VNIC Types 2017-04-11 12:50:58 -07:00
locale Imported Translations from Zanata 2017-04-14 08:37:29 +00:00
management hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
static Merge "Added Server-side filtering for swift UI" 2017-03-29 05:24:49 +00:00
templates Enable breadcrumbs for AngularIndexView 2017-03-29 11:47:52 +01:00
templatetags Fix docstring warnings 2016-09-24 20:44:48 +09:00
test Merge "Add support for downloading clouds.yaml files" 2017-04-06 18:16:55 +00:00
themes Add the Profiler panel to the Developer dashboard 2016-12-01 22:29:16 +03:00
usage hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
utils Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
wsgi Normalise the path to resolve ../.. 2016-11-14 16:29:28 +11:00
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
__init__.py
context_processors.py Merge "Keystone to Keystone Federation Drop Down" 2017-01-25 23:10:07 +00:00
exceptions.py Excise Trove from Horizon 2015-12-22 02:01:07 -07:00
hooks.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
karma.conf.js Refactor tox & update docs 2016-11-30 20:38:59 +00:00
policy.py Specify POLICY_CHECK_FUNCTION as a string 2016-11-25 13:06:14 +01:00
settings.py Add support for downloading clouds.yaml files 2017-04-06 17:16:55 +00:00
theme_settings.py Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
urls.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
views.py Merge "The background colour of the success message changed" 2017-03-06 05:01:44 +00:00