mistral-dashboard/mistraldashboard/executions/panel.py
Kirill Izotov 744309b2e1 Horizon plugin system compatibility
- added enabled script
- removed horizon from requirements
- updated README
- refactor folder structure

Change-Id: If3fb4eddec26c5817cb0971eb7c4fe2ebb5641f3
Implements: blueprint mistral-ui
2014-06-23 14:54:57 +07:00

29 lines
852 B
Python

# -*- coding: utf-8 -*-
#
# 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 import dashboard
class Executions(horizon.Panel):
name = _("Executions")
slug = 'executions'
dashboard.MistralDashboard.register(Executions)