layerindex-web/templates/layerindex/classicstats.html
Paul Eggleton 517424dc81 Upgrade to Bootstrap 3
Use a more modern version of Bootstrap and take the opportunity to
upgrade jQuery to the latest version at the same time. This provides
better browser compatibility, moves to MIT license, allows us to make
the site more responsive for different devices in future, and provides
theming capabilities for custom installs among other improvements.

(I chose to upgrade to v3 for now rather than straight to v4 as it was
easier to do this gradually.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-09-20 15:57:59 +12:00

61 lines
1.7 KiB
HTML

{% extends "layerindex/classic_base.html" %}
{% load i18n %}
{% load nvd3_tags %}
{% load staticfiles %}
{% comment %}
layerindex-web - OE-Classic recipe migration stats template
Copyright (C) 2013, 2018 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% block title_append %} - {% if branch.name == 'oe-classic' %}OE-Classic{% else %}{{ branch.short_description }}{% endif %} recipe statistics{% endblock %}
-->
{% block navs %}
{% autoescape on %}
<li><a href="{% url 'comparison_recipe_search' branch.name %}">Recipes</a></li>
<li class="active"><a href="{% url 'comparison_recipe_stats' branch.name %}">Stats</a></li>
{% endautoescape %}
{% endblock %}
{% block content_inner %}
{% autoescape on %}
<div class="row">
{% if branch.name == 'oe-classic' %}
<h2>OE-Classic statistics</h2>
{% else %}
<h2>{{ branch.short_description }} statistics</h2>
{% endif %}
<h3>Comparison status</h3>
{% include_container "chart_status" 400 600 %}
<h3>Unavailable recipes by category</h3>
{% include_container "chart_category" 400 600 %}
</div>
{% endautoescape %}
{% endblock %}
{% block scripts %}
<link media="all" href="{% static "css/nv.d3.css" %}" type="text/css" rel="stylesheet" />
<script src="{% static "js/d3.js" %}" type="text/javascript"></script>
<script src="{% static "js/nv.d3.js" %}" type="text/javascript"></script>
{% load_chart charttype_status chartdata_status "chart_status" extra_status %}
{% load_chart charttype_category chartdata_category "chart_category" extra_category %}
{% endblock %}