2015-11-09 16:10:36 +00:00
|
|
|
# (c) Copyright 2014,2015 Hewlett-Packard Development Company, L.P.
|
2015-03-06 12:18:05 +00:00
|
|
|
#
|
2015-11-09 16:10:36 +00:00
|
|
|
# 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
|
2015-03-06 12:18:05 +00:00
|
|
|
#
|
2015-11-09 16:10:36 +00:00
|
|
|
# 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.
|
2015-03-06 12:18:05 +00:00
|
|
|
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
import horizon
|
|
|
|
|
2015-11-09 16:10:36 +00:00
|
|
|
from disaster_recovery import dashboard
|
2015-10-08 15:58:47 +01:00
|
|
|
|
2015-03-06 12:18:05 +00:00
|
|
|
|
2015-07-01 20:11:03 +01:00
|
|
|
class JobsPanel(horizon.Panel):
|
2015-03-06 12:18:05 +00:00
|
|
|
name = _("Jobs")
|
2015-07-01 20:11:03 +01:00
|
|
|
slug = "jobs"
|
2015-03-06 12:18:05 +00:00
|
|
|
|
|
|
|
|
2015-07-01 20:11:03 +01:00
|
|
|
dashboard.Freezer.register(JobsPanel)
|