diff --git a/ui/public/locales/en.json b/ui/public/locales/en.json index f4a8f59017e..ddfd1124813 100644 --- a/ui/public/locales/en.json +++ b/ui/public/locales/en.json @@ -1925,6 +1925,7 @@ "label.sharedrouteripv6": "IPv6 address for the VR in this shared Network.", "label.sharewith": "Share with", "label.showing": "Showing", +"label.showing.results.for": "Showing results for \"%x\"", "label.shrinkok": "Shrink OK", "label.shutdown": "Shutdown", "label.shutdown.provider": "Shutdown provider", diff --git a/ui/src/components/header/ProjectMenu.vue b/ui/src/components/header/ProjectMenu.vue index 6fb0c3af350..590a8a2fbd0 100644 --- a/ui/src/components/header/ProjectMenu.vue +++ b/ui/src/components/header/ProjectMenu.vue @@ -17,112 +17,75 @@ diff --git a/ui/src/components/widgets/InfiniteScrollSelect.vue b/ui/src/components/widgets/InfiniteScrollSelect.vue new file mode 100644 index 00000000000..f97faf390f8 --- /dev/null +++ b/ui/src/components/widgets/InfiniteScrollSelect.vue @@ -0,0 +1,298 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + diff --git a/ui/src/views/network/CreateNetworkPermission.vue b/ui/src/views/network/CreateNetworkPermission.vue index 037e91eb9fd..6d73bb07ca3 100644 --- a/ui/src/views/network/CreateNetworkPermission.vue +++ b/ui/src/views/network/CreateNetworkPermission.vue @@ -29,47 +29,27 @@ - - - - - - {{ opt.name || opt.description }} - - - + api="listAccounts" + :apiParams="accountsApiParams" + resourceType="account" + defaultIcon="team-outlined" /> - - - - - - {{ opt.name || opt.description }} - - - + api="listProjects" + :apiParams="projectsApiParams" + resourceType="project" + defaultIcon="project-outlined" />