diff --git a/horizon/static/horizon/js/horizon.forms.js b/horizon/static/horizon/js/horizon.forms.js index e599a678b8..39bed198f3 100644 --- a/horizon/static/horizon/js/horizon.forms.js +++ b/horizon/static/horizon/js/horizon.forms.js @@ -155,17 +155,17 @@ horizon.forms.add_password_fields_reveal_buttons = function (el) { $input.closest('div').addClass("has-feedback"); $('').addClass( - "form-control-feedback glyphicon glyphicon-eye-open" + "form-control-feedback fa fa-eye password-icon" ).insertAfter($input).click(function () { var $icon = $(this); if ($input.attr('type') === 'password') { - $icon.removeClass('glyphicon-eye-open'); - $icon.addClass('glyphicon-eye-close'); + $icon.removeClass('fa-eye'); + $icon.addClass('fa-eye-slash'); $input = _change_input_type($input, 'text'); } else { - $icon.removeClass('glyphicon-eye-close'); - $icon.addClass('glyphicon-eye-open'); + $icon.removeClass('fa-eye-slash'); + $icon.addClass('fa-eye'); $input = _change_input_type($input, 'password'); } }); diff --git a/horizon/static/horizon/js/horizon.tables.js b/horizon/static/horizon/js/horizon.tables.js index 5908bb8cc2..23732e4327 100644 --- a/horizon/static/horizon/js/horizon.tables.js +++ b/horizon/static/horizon/js/horizon.tables.js @@ -444,7 +444,7 @@ horizon.datatables.set_table_query_filter = function (parent) { return false; } }); - input.next('button.btn span.glyphicon-search').on('click keypress', function (evt) { + input.next('button.btn span.search-icon').on('click keypress', function (evt) { return false; }); diff --git a/horizon/templates/horizon/common/_data_table_cell.html b/horizon/templates/horizon/common/_data_table_cell.html index d09955d9fc..bbcb98e3c8 100644 --- a/horizon/templates/horizon/common/_data_table_cell.html +++ b/horizon/templates/horizon/common/_data_table_cell.html @@ -11,10 +11,10 @@
@@ -28,7 +28,7 @@ {%if cell.wrap_list %}{% endif %}
- +
diff --git a/horizon/templates/horizon/common/_data_table_row_action_row.html b/horizon/templates/horizon/common/_data_table_row_action_row.html index 8602439c22..2fdbb6ca1a 100644 --- a/horizon/templates/horizon/common/_data_table_row_action_row.html +++ b/horizon/templates/horizon/common/_data_table_row_action_row.html @@ -1,11 +1,11 @@ {% if action.method != "GET" %} {% else %} - {% if action.icon != None %} {% endif %} + {% if action.icon != None %} {% endif %} {{ action.verbose_name }} {% endif %} diff --git a/horizon/templates/horizon/common/_data_table_table_action.html b/horizon/templates/horizon/common/_data_table_table_action.html index 83d0c4a627..9830cc60e0 100644 --- a/horizon/templates/horizon/common/_data_table_table_action.html +++ b/horizon/templates/horizon/common/_data_table_table_action.html @@ -1,11 +1,11 @@ {% if action.method != "GET" %} {% else %} - {% if action.icon != None %} {% endif %} + {% if action.icon != None %} {% endif %} {{ action.verbose_name }} {% endif %} diff --git a/horizon/templates/horizon/common/_data_table_table_actions.html b/horizon/templates/horizon/common/_data_table_table_actions.html index 453a6c89a9..efdf59e2e7 100644 --- a/horizon/templates/horizon/common/_data_table_table_actions.html +++ b/horizon/templates/horizon/common/_data_table_table_actions.html @@ -11,7 +11,7 @@ diff --git a/horizon/templates/horizon/common/_form_field.html b/horizon/templates/horizon/common/_form_field.html index ceae03cd7c..95455919fb 100644 --- a/horizon/templates/horizon/common/_form_field.html +++ b/horizon/templates/horizon/common/_form_field.html @@ -14,7 +14,7 @@ {% if field.help_text %} - + {% endif %} @@ -28,7 +28,7 @@ {% if field.auto_id %} {% if field.help_text %} - + {% endif %} {% endif %}
@@ -50,7 +50,7 @@ {% if field.auto_id %} {% if field.help_text %} - + {% endif %} {% endif %} diff --git a/horizon/templates/horizon/common/_modal_form_update_metadata.html b/horizon/templates/horizon/common/_modal_form_update_metadata.html index 6213a6cac6..11fd0ccc49 100644 --- a/horizon/templates/horizon/common/_modal_form_update_metadata.html +++ b/horizon/templates/horizon/common/_modal_form_update_metadata.html @@ -27,7 +27,7 @@ -
@@ -45,7 +45,7 @@ - +
@@ -67,15 +67,15 @@
- + {$ item.label $}
- +
@@ -97,7 +97,7 @@ - + @@ -180,7 +180,7 @@
- +
diff --git a/horizon/templates/horizon/common/_workflow_step_update_members.html b/horizon/templates/horizon/common/_workflow_step_update_members.html index 9452c896f4..1cb99b6090 100644 --- a/horizon/templates/horizon/common/_workflow_step_update_members.html +++ b/horizon/templates/horizon/common/_workflow_step_update_members.html @@ -10,7 +10,7 @@ {{ step.available_list_title }}
- +
@@ -19,7 +19,7 @@ {{ step.members_list_title }}
- +
diff --git a/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tables.py b/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tables.py index 3188840138..65eb830ee4 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tables.py +++ b/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tables.py @@ -42,7 +42,7 @@ class AllocateIP(tables.LinkAction): name = "allocate" verbose_name = _("Allocate IP To Project") classes = ("ajax-modal",) - icon = "download-alt" + icon = "download" url = "horizon:project:access_and_security:floating_ips:allocate" def single(self, data_table, request, *args): diff --git a/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py b/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py index 8dbf9b7eef..10bd063626 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py +++ b/openstack_dashboard/dashboards/project/access_and_security/floating_ips/tests.py @@ -256,7 +256,7 @@ class FloatingIpViewTests(test.TestCase): "Quota exceeded") expected_string = ("" - "" + "" "%s" % (url, link_name, " ".join(classes), link_name)) self.assertContains(res, expected_string, html=True, diff --git a/openstack_dashboard/dashboards/project/access_and_security/tests.py b/openstack_dashboard/dashboards/project/access_and_security/tests.py index e91cc7caba..d30dd096ed 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/tests.py +++ b/openstack_dashboard/dashboards/project/access_and_security/tests.py @@ -212,7 +212,7 @@ class SecurityGroupTabTests(test.TestCase): "Quota exceeded") expected_string = "" \ - "%s" \ + "%s" \ % (url, link_name, " ".join(classes), link_name) self.assertContains(res, expected_string, html=True, msg_prefix="The create button is not disabled") diff --git a/openstack_dashboard/dashboards/project/data_processing/cluster_templates/templates/data_processing.cluster_templates/cluster_node_groups_template.html b/openstack_dashboard/dashboards/project/data_processing/cluster_templates/templates/data_processing.cluster_templates/cluster_node_groups_template.html index 707feb55e4..2a2b234fe9 100644 --- a/openstack_dashboard/dashboards/project/data_processing/cluster_templates/templates/data_processing.cluster_templates/cluster_node_groups_template.html +++ b/openstack_dashboard/dashboards/project/data_processing/cluster_templates/templates/data_processing.cluster_templates/cluster_node_groups_template.html @@ -13,8 +13,8 @@ '' + '' + '' + - '
' + - '
' + + '
' + + '
' + '
' + '
' + '' + @@ -103,7 +103,7 @@
diff --git a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/_tag_form.html b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/_tag_form.html index d22400c62a..5c56821515 100644 --- a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/_tag_form.html +++ b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/_tag_form.html @@ -82,7 +82,7 @@ var tags = get_current_tags(); if ($.inArray(tag, tags) == -1) { - var span = ' $tag '.replace("$tag", tag) + var span = ' $tag '.replace("$tag", tag) $("#image_tags_list").append(span); update_image_tags(); } diff --git a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/image_registry.html b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/image_registry.html index edeb8b3279..effd1097d6 100644 --- a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/image_registry.html +++ b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/templates/data_processing.data_image_registry/image_registry.html @@ -19,10 +19,10 @@ $.each(tags, function(i, tag) { var tagspan = '' + tag + - ''; + ''; $("#image_tags_list").append(tagspan); }); }); }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/openstack_dashboard/dashboards/project/instances/tests.py b/openstack_dashboard/dashboards/project/instances/tests.py index 0216ce8653..241dde592f 100644 --- a/openstack_dashboard/dashboards/project/instances/tests.py +++ b/openstack_dashboard/dashboards/project/instances/tests.py @@ -3065,7 +3065,7 @@ class InstanceTests(helpers.TestCase): data-update-url= "/project/instances/?action=launch&table=instances" id="instances__action_launch"> - %s + %s ''' % (url, link_name, " ".join(classes), link_name), res._charset) self.assertContains(res, expected_string, html=True, diff --git a/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/index.html b/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/index.html index 21b69d0412..f36204ed3d 100644 --- a/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/index.html +++ b/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/index.html @@ -25,13 +25,13 @@
{% if launch_instance_allowed %} - {% if instance_quota_exceeded %}{% trans "Launch Instance (Quota exceeded)"%}{% else %}{% trans "Launch Instance"%}{% endif %} + {% if instance_quota_exceeded %}{% trans "Launch Instance (Quota exceeded)"%}{% else %}{% trans "Launch Instance"%}{% endif %} {% endif %} {% if create_network_allowed %} - {% if network_quota_exceeded %}{% trans "Create Network (Quota exceeded)"%}{% else %}{% trans "Create Network"%}{% endif %} + {% if network_quota_exceeded %}{% trans "Create Network (Quota exceeded)"%}{% else %}{% trans "Create Network"%}{% endif %} {% endif %} {% if create_router_allowed %} - {% if router_quota_exceeded %}{% trans "Create Router (Quota exceeded)"%}{% else %}{% trans "Create Router"%}{% endif %} + {% if router_quota_exceeded %}{% trans "Create Router (Quota exceeded)"%}{% else %}{% trans "Create Router"%}{% endif %} {% endif %}
diff --git a/openstack_dashboard/dashboards/project/network_topology/tests.py b/openstack_dashboard/dashboards/project/network_topology/tests.py index 72ab6609ff..3d7f9ed6eb 100644 --- a/openstack_dashboard/dashboards/project/network_topology/tests.py +++ b/openstack_dashboard/dashboards/project/network_topology/tests.py @@ -180,7 +180,7 @@ class NetworkTopologyCreateTests(test.TestCase): link_name = "Create Network (Quota exceeded)" expected_string = "" \ - "%s" \ + "%s" \ % (url, classes, link_name) self._test_new_button_disabled_when_quota_exceeded( @@ -193,7 +193,7 @@ class NetworkTopologyCreateTests(test.TestCase): link_name = "Create Router (Quota exceeded)" expected_string = "" \ - "%s" \ + "%s" \ % (url, classes, link_name) self._test_new_button_disabled_when_quota_exceeded( @@ -206,7 +206,7 @@ class NetworkTopologyCreateTests(test.TestCase): link_name = "Launch Instance (Quota exceeded)" expected_string = "" \ - "%s" \ + "%s" \ % (url, classes, link_name) self._test_new_button_disabled_when_quota_exceeded( diff --git a/openstack_dashboard/dashboards/project/networks/tests.py b/openstack_dashboard/dashboards/project/networks/tests.py index 91b622b271..cfa5e029da 100644 --- a/openstack_dashboard/dashboards/project/networks/tests.py +++ b/openstack_dashboard/dashboards/project/networks/tests.py @@ -1835,7 +1835,7 @@ class NetworkViewTests(test.TestCase): "Quota exceeded") expected_string = "" \ - "%s" \ + "%s" \ % (url, link_name, " ".join(classes), link_name) self._test_create_button_disabled_when_quota_exceeded(expected_string, @@ -1905,7 +1905,7 @@ class NetworkViewTests(test.TestCase): "Quota exceeded") expected_string = "" \ - "%s" \ + "%s" \ % (url, link_name, " ".join(classes), link_name) self.assertContains(res, expected_string, html=True, msg_prefix="The create button is not disabled") diff --git a/openstack_dashboard/dashboards/project/routers/templates/routers/extensions/routerrules/grid.html b/openstack_dashboard/dashboards/project/routers/templates/routers/extensions/routerrules/grid.html index fc47053c5b..61e5813ea6 100644 --- a/openstack_dashboard/dashboards/project/routers/templates/routers/extensions/routerrules/grid.html +++ b/openstack_dashboard/dashboards/project/routers/templates/routers/extensions/routerrules/grid.html @@ -15,7 +15,7 @@ {% csrf_token %} + type="submit" href="#" name="action" value="routerrules__resetrules"> {% trans "Reset to Default" %} @@ -86,7 +86,7 @@ {% endif %} {% else %} -
Conflict
+
Conflict
diff --git a/openstack_dashboard/templates/context_selection/_domain_list.html b/openstack_dashboard/templates/context_selection/_domain_list.html index 5732a12213..2cc722bfa4 100644 --- a/openstack_dashboard/templates/context_selection/_domain_list.html +++ b/openstack_dashboard/templates/context_selection/_domain_list.html @@ -5,7 +5,7 @@
  • {{ domain_name }} - +
  • diff --git a/openstack_dashboard/templates/context_selection/_overview.html b/openstack_dashboard/templates/context_selection/_overview.html index 87c3dd7332..1699f51fb0 100644 --- a/openstack_dashboard/templates/context_selection/_overview.html +++ b/openstack_dashboard/templates/context_selection/_overview.html @@ -1,4 +1,4 @@ - + {% if domain_supported %} {{ domain_name }} diff --git a/openstack_dashboard/templates/context_selection/_project_list.html b/openstack_dashboard/templates/context_selection/_project_list.html index 74dbf64a7d..3c8a17ae7d 100644 --- a/openstack_dashboard/templates/context_selection/_project_list.html +++ b/openstack_dashboard/templates/context_selection/_project_list.html @@ -9,7 +9,7 @@ {{ project.name }} {% if project.enabled and project.id == project_id %} - + {% endif %} diff --git a/openstack_dashboard/templates/context_selection/_region_list.html b/openstack_dashboard/templates/context_selection/_region_list.html index 0555ec34ab..a6b681a592 100644 --- a/openstack_dashboard/templates/context_selection/_region_list.html +++ b/openstack_dashboard/templates/context_selection/_region_list.html @@ -10,7 +10,7 @@ {{ region }} {% if region == region_name %} - + {% endif %}