mistral-dashboard/mistraldashboard/dashboard.py
Gal Margalit 2a54532154 mistral-dashboard: added action executions screens
* Added 3 new action executions screens: index, overview, and update dialog
 * Added "type" attribute to task screens, followed by a corresponding link
 * Fixed breadcrumbs issue in detail screens following Horizon Newton change
 * Added state label design to detail screens
 * Added design to boolean fields

 * Screenshots: http://pho.to/AXApU

Implements blueprint: mistral-dashboard-action-execution-screens
Implements blueprint: dashboard-detail-screens-improvements
Partially implements blueprint: refactor-execution-link-in-task-executions-screens
Closes-Bug: #1642246

Change-Id: I4c270b2b23d548d4e1cb7e8507e804e44e27c88f
2016-12-06 10:46:15 +00:00

41 lines
1.1 KiB
Python

# Copyright 2014 - StackStorm, Inc.
#
# 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
from mistraldashboard.default import panel
class MistralDashboard(horizon.Dashboard):
name = _("Workflow")
slug = "mistral"
panels = (
'default',
'workbooks',
'workflows',
'actions',
'executions',
'tasks',
'action_executions',
'cron_triggers',
)
default_panel = 'default'
roles = ('admin',)
horizon.register(MistralDashboard)
MistralDashboard.register(panel.Default)