diff --git a/stackviz/templates/menu.html b/stackviz/templates/menu.html index 74b2a73..86962a1 100644 --- a/stackviz/templates/menu.html +++ b/stackviz/templates/menu.html @@ -39,6 +39,18 @@ +
  • + Upstream + + +
  • diff --git a/stackviz/templates/tempest/results.html b/stackviz/templates/tempest/results.html index 2b40268..c8bf9d6 100644 --- a/stackviz/templates/tempest/results.html +++ b/stackviz/templates/tempest/results.html @@ -1,7 +1,14 @@ {% extends 'template.html' %} +{% load staticfiles %} + {% block title %}Tempest Results{% endblock %} +{% block head-extra %} + + +{% endblock %} + {% block body %}
    diff --git a/stackviz/templates/tempest/summary.html b/stackviz/templates/tempest/summary.html index 354621e..3098124 100644 --- a/stackviz/templates/tempest/summary.html +++ b/stackviz/templates/tempest/summary.html @@ -1,7 +1,14 @@ {% extends 'template.html' %} +{% load staticfiles %} + {% block title %}Tempest Summary{% endblock %} +{% block head-extra %} + + +{% endblock %} + {% block body %}
    @@ -11,7 +18,7 @@
    -
    +
    Overview
    diff --git a/stackviz/templates/template.html b/stackviz/templates/template.html index 1633f2f..195920d 100644 --- a/stackviz/templates/template.html +++ b/stackviz/templates/template.html @@ -59,12 +59,6 @@ - - - - - - {% block head-extra %}{% endblock %} diff --git a/stackviz/templates/upstream/run.html b/stackviz/templates/upstream/run.html new file mode 100644 index 0000000..e701e71 --- /dev/null +++ b/stackviz/templates/upstream/run.html @@ -0,0 +1,14 @@ +{% extends 'template.html' %} + +{% block title %}Upstream Run Metadata{% endblock %} + +{% block body %} + +
    +
    +

    Upstream Run Metadata

    +
    + +
    + +{% endblock %} \ No newline at end of file diff --git a/stackviz/templates/upstream/test.html b/stackviz/templates/upstream/test.html new file mode 100644 index 0000000..bc8deeb --- /dev/null +++ b/stackviz/templates/upstream/test.html @@ -0,0 +1,14 @@ +{% extends 'template.html' %} + +{% block title %}Upstream Test Stats{% endblock %} + +{% block body %} + +
    +
    +

    Upstream Test Stats

    +
    + +
    + +{% endblock %} \ No newline at end of file diff --git a/stackviz/urls.py b/stackviz/urls.py index c07c0d7..84bea0c 100644 --- a/stackviz/urls.py +++ b/stackviz/urls.py @@ -12,4 +12,5 @@ urlpatterns = patterns('', url(r'^index.html$', IndexView.as_view(), name="index"), url(r'^tempest_', include('stackviz.views.tempest.urls')), url(r'^devstack_', include('stackviz.views.devstack.urls')), + url(r'^upstream_', include ('stackviz.views.upstream.urls')) ) diff --git a/stackviz/views/upstream/__init__.py b/stackviz/views/upstream/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/stackviz/views/upstream/run.py b/stackviz/views/upstream/run.py new file mode 100644 index 0000000..cc52311 --- /dev/null +++ b/stackviz/views/upstream/run.py @@ -0,0 +1,4 @@ +from django.views.generic import TemplateView + +class RunView(TemplateView): + template_name = 'upstream/run.html' \ No newline at end of file diff --git a/stackviz/views/upstream/test.py b/stackviz/views/upstream/test.py new file mode 100644 index 0000000..5cb2510 --- /dev/null +++ b/stackviz/views/upstream/test.py @@ -0,0 +1,4 @@ +from django.views.generic import TemplateView + +class TestView(TemplateView): + template_name = 'upstream/test.html' \ No newline at end of file diff --git a/stackviz/views/upstream/urls.py b/stackviz/views/upstream/urls.py new file mode 100644 index 0000000..b9c1081 --- /dev/null +++ b/stackviz/views/upstream/urls.py @@ -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') +)