b507db7439
Developer dashboard panel which shows: - resource types currently in the resource registry browser - the details that are set for each resource type - links to generic table views (if available) - available actions (with WIP mechanism to exercise the action) To test: - Open Developer -> Resources - notice how Images item is green - exercise some of the global actions (create image) - enter an image id to exercise the item actions - batch actions not currently testable - click the images "Generic Table View" link Partially-Implements: blueprint angular-registry Change-Id: Ib931fac9917a50c268b2e63ff7a0de42052c62c8
23 lines
782 B
Python
23 lines
782 B
Python
# (c) Copyright 2015 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed 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.
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
import horizon
|
|
|
|
|
|
class ResourceBrowser(horizon.Panel):
|
|
name = _("Resources")
|
|
slug = 'resource_browser'
|