horizon/openstack_dashboard/dashboards/project
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_access Merge "Add support for downloading clouds.yaml files" 2017-04-06 18:16:55 +00:00
backups hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
cg_snapshots hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
cgroups Merge "Fix remove consistency group volumes form redict url error" 2017-04-12 16:25:34 +00:00
containers Removing deprecated Swift UI code 2016-11-17 16:00:00 -07:00
firewalls Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
floating_ips Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
images Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
instances Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
key_pairs Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
network_topology Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
networks Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
ngdetails Consolidated common angular view 2016-11-17 12:07:16 -08:00
overview hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
routers Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
security_groups Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
snapshots Remove unnecessary raise 2017-04-01 02:10:59 +00:00
stacks Update the access_and_security url 2017-04-05 03:33:50 +00:00
static/dashboard/project Update Network Port VNIC Types 2017-04-11 12:50:58 -07:00
volumes Merge "Update Horizon to use latest nova policy rules for validation" 2017-04-05 20:34:46 +00:00
vpn Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Retrieve domain scoped token 2016-03-08 15:17:38 -08:00