Creates directory structure for upstream data

This commit is contained in:
Austin Clark 2015-07-28 15:27:23 -06:00
parent 646794b1bd
commit 914adfe894
8 changed files with 65 additions and 0 deletions

View File

@ -39,6 +39,18 @@
</ul>
<!-- /.nav-second-level -->
</li>
<li>
<a href="#"><i class="fa fa-bar-chart-o fa-fw"></i> Upstream<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="/upstream/test"><i class="fa fa-bar-chart-o fa-fw"></i> Test Stats</a>
</li>
<li>
<a href="/upstream/run"><i class="fa fa-clock-o fa-fw"></i> Run Metadata</a>
</li>
</ul>
<!-- /.nav-second-level -->
</li>
</ul>
</div>
<!-- /.sidebar-collapse -->

View File

@ -0,0 +1,14 @@
{% extends 'template.html' %}
{% block title %}Upstream Run Metadata{% endblock %}
{% block body %}
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Upstream Run Metadata</h1>
</div>
<!-- /.col-lg-12 -->
</div>
{% endblock %}

View File

@ -0,0 +1,14 @@
{% extends 'template.html' %}
{% block title %}Upstream Test Stats{% endblock %}
{% block body %}
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Upstream Test Stats</h1>
</div>
<!-- /.col-lg-12 -->
</div>
{% endblock %}

View File

@ -11,4 +11,5 @@ urlpatterns = patterns('',
url(r'^$', IndexView.as_view()),
url(r'^tempest/', include('stackviz.views.tempest.urls')),
url(r'^devstack/', include('stackviz.views.devstack.urls')),
url(r'^upstream/', include ('stackviz.views.upstream.urls'))
)

View File

View File

@ -0,0 +1,4 @@
from django.views.generic import TemplateView
class RunView(TemplateView):
template_name = 'upstream/run.html'

View File

@ -0,0 +1,4 @@
from django.views.generic import TemplateView
class TestView(TemplateView):
template_name = 'upstream/test.html'

View File

@ -0,0 +1,16 @@
from django.conf.urls import patterns, include, url
from .run import RunView
from .test import TestView
urlpatterns = patterns('',
url(r'^run/$',
RunView.as_view(),
name='aggregate_results'),
url(r'^test/$',
TestView.as_view(),
name='summary_results')
)