openstack-manuals/www/templates/project_list.tmpl
Doug Hellmann 5f1fcdc380 make the project list template sharable
Move the main part of the project list template into a base template
and use it for the most recent few series. Leave the older series
alone because they vary a bit from the newer ones.

Change-Id: I6f9d443533bda87b1dffe90a4833449a89d307aa
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-13 00:50:06 -04:00

107 lines
3.7 KiB
Cheetah

{% set projects = PROJECT_DATA[SERIES] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}{{SERIES_TITLE}} Services and Libraries{% endblock %}
{% block title %}
<a href="https://docs.openstack.org">Documentation</a> &gt; Services and Libraries
{% endblock %}
{% block content %}
<!-- Begin Page Content -->
<div class="top-docs-wrapper">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8">
<h1>OpenStack {{SERIES_TITLE}} Projects</h1>
<p>
This page contains project-specific documentation for
OpenStack services and libraries.
</p>
</div>
</div>
</div>
<div class="mid-docs-wrapper" id="docs-main-body">
<div class="container">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<div class="row docs-toc">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i>OpenStack Services</h3>
{% for project in projects|sort(attribute='service') %}
{% if project.type in ['service', 'other'] and project.has_project_guide %}
<a href="/{{project.name}}/{{SERIES}}/">
{{project.service}} ({{project.name}})</a><br />
{% endif %}
{% endfor %}
</div>
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i>Bare Metal Sub Projects</h3>
{% for project in projects|sort(attribute='service') %}
{% if project.type == 'baremetal' and project.has_project_guide %}
<a href="/{{project.name}}/{{SERIES}}/">
{{project.service}} ({{project.name}})</a><br />
{% endif %}
{% endfor %}
</div>
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i>Networking Sub Projects</h3>
{% for project in projects|sort(attribute='service') %}
{% if project.type == 'networking' and project.has_project_guide %}
<a href="/{{project.name}}/{{SERIES}}/">
{{project.service}} ({{project.name}})</a><br />
{% endif %}
{% endfor %}
</div>
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i>Deployment Projects</h3>
{% for project in projects|sort(attribute='service') %}
{% if project.type == 'deployment' and project.has_project_guide %}
<a href="/{{project.name}}/{{SERIES}}/">
{{project.service}}</a><br />
{% endif %}
{% endfor %}
<a href="/tripleo-docs/latest/install/">
TripleO Deployment Guide</a><br />
</div>
<div class="docs-link-sections">
<h3><i class="fa fa-cog"></i>Contributor Tools</h3>
{% for project in projects|sort(attribute='name') %}
{% if project.type in ['tool'] and project.has_project_guide %}
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
<p>{{project.service}} </p>
{% endif %}
{% endfor %}
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-pencil"></i>Using Libraries</h3>
{% for project in projects|sort(attribute='name') %}
{% if project.type == 'library' and project.has_project_guide %}
<a href="/{{project.name}}/{{SERIES}}/">{{project.name}}</a><br />
<p>{{project.service}}</p>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<div class="row docs-contribute-wrapper">
<div class="col-lg-12">
<p>Documentation treated like code, powered by the community - interested?</p>
<a href="/doc-contrib-guide/" class="overview-btn contribute-btn">How To Contribute <i class="fa fa-chevron-right"></i></a>
</div>
</div>
</div>
</div>
{% endblock content %}