Added base .gitignore
This commit is contained in:
parent
e263577b10
commit
19b1a51ce8
|
@ -0,0 +1,7 @@
|
||||||
|
*.egg*
|
||||||
|
*.mo
|
||||||
|
*.pyc
|
||||||
|
.venv
|
||||||
|
dist
|
||||||
|
ChangeLog
|
||||||
|
AUTHORS
|
|
@ -1,5 +1,6 @@
|
||||||
CHANGES
|
CHANGES
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
* Added regions panel
|
||||||
* Initial Structure
|
* Initial Structure
|
||||||
* Initial commit
|
* Initial commit
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
# Copyright 2016 Intel Corporation
|
||||||
|
#
|
||||||
|
# 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 Taskflow(horizon.Panel):
|
||||||
|
name = _('Taskflows')
|
||||||
|
slug = 'taskflow'
|
|
@ -0,0 +1 @@
|
||||||
|
<h2>Hello World!</h2>
|
|
@ -0,0 +1,8 @@
|
||||||
|
from django.conf.urls import url
|
||||||
|
|
||||||
|
from craton_dashboard.dashboards.project.fleet.taskflows import views
|
||||||
|
|
||||||
|
urlpatterns = [
|
||||||
|
url(r'^$', views.IndexView.as_view(), name='index'),
|
||||||
|
]
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
# Copyright 2016 Intel Corporation
|
||||||
|
#
|
||||||
|
# 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 _
|
||||||
|
from django.views import generic
|
||||||
|
|
||||||
|
from horizon import exceptions
|
||||||
|
from horizon import forms
|
||||||
|
from horizon import tables
|
||||||
|
|
||||||
|
class IndexView(generic.TemplateView):
|
||||||
|
template_name = 'project/fleet/taskflows/templates/index.hml'
|
||||||
|
page_title = _('Taskflows')
|
||||||
|
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
|
super(IndexView, self).__init__(*args, **kwargs)
|
||||||
|
self._more = None
|
||||||
|
|
||||||
|
def get_data(self):
|
||||||
|
return []
|
|
@ -18,9 +18,10 @@ from django.views import generic
|
||||||
from horizon import exceptions
|
from horizon import exceptions
|
||||||
from horizon import forms
|
from horizon import forms
|
||||||
from horizon import tables
|
from horizon import tables
|
||||||
|
from horizon import views
|
||||||
|
|
||||||
class IndexView(generic.TemplateView):
|
class IndexView(tables.DataTableView):
|
||||||
template_name = 'project/fleet/templates/regions/index.hml'
|
template_name = 'project/fleet/index.hml'
|
||||||
page_title = _('Regions')
|
page_title = _('Regions')
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Copyright 2016 Intel Corporation
|
||||||
|
#
|
||||||
|
# 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 _
|
||||||
|
|
||||||
|
PANEL = 'taskflows'
|
||||||
|
|
||||||
|
PANEL_DASHBOARD = 'project'
|
||||||
|
|
||||||
|
PANEL_GROUP = 'fleet_management'
|
||||||
|
|
||||||
|
ADD_PANEL = 'craton_dashboard.dashboards.project.fleeti.taksflows.panel.Taskflows'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Metadata-Version: 1.0
|
Metadata-Version: 1.0
|
||||||
Name: craton-ui
|
Name: craton-ui
|
||||||
Version: 0.0.1.dev1
|
Version: 0.0.1.dev2
|
||||||
Summary: The Craton UI for Horizon Dashboard
|
Summary: The Craton UI for Horizon Dashboard
|
||||||
Home-page: http://www.openstack.org/
|
Home-page: http://www.openstack.org/
|
||||||
Author: OSIC
|
Author: OSIC
|
||||||
|
|
|
@ -12,8 +12,13 @@ craton_dashboard/dashboards/project/fleet/__init__.py
|
||||||
craton_dashboard/dashboards/project/fleet/panel.py
|
craton_dashboard/dashboards/project/fleet/panel.py
|
||||||
craton_dashboard/dashboards/project/fleet/urls.py
|
craton_dashboard/dashboards/project/fleet/urls.py
|
||||||
craton_dashboard/dashboards/project/fleet/views.py
|
craton_dashboard/dashboards/project/fleet/views.py
|
||||||
|
craton_dashboard/dashboards/project/fleet/taskflows/__init__.py
|
||||||
|
craton_dashboard/dashboards/project/fleet/taskflows/panel.py
|
||||||
|
craton_dashboard/dashboards/project/fleet/taskflows/urls.py
|
||||||
|
craton_dashboard/dashboards/project/fleet/taskflows/views.py
|
||||||
craton_dashboard/enabled/_1710_fleet_panel_group.py
|
craton_dashboard/enabled/_1710_fleet_panel_group.py
|
||||||
craton_dashboard/enabled/_1720_fleet_regions_panel.py
|
craton_dashboard/enabled/_1720_fleet_regions_panel.py
|
||||||
|
craton_dashboard/enabled/_1730_fleet_taskflows_panel.py
|
||||||
craton_dashboard/enabled/__init__.py
|
craton_dashboard/enabled/__init__.py
|
||||||
craton_ui.egg-info/PKG-INFO
|
craton_ui.egg-info/PKG-INFO
|
||||||
craton_ui.egg-info/SOURCES.txt
|
craton_ui.egg-info/SOURCES.txt
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"is_release": false, "git_version": "ea966ea"}
|
{"is_release": false, "git_version": "e263577"}
|
Binary file not shown.
Loading…
Reference in New Issue