Permalink
Browse files

use textile instead of HTML on distro_doc page

  • Loading branch information...
1 parent 27e789d commit ddabdbec3d8380d044c024c12a2225c84159b62b @mapleoin committed Sep 20, 2012
Showing with 27 additions and 23 deletions.
  1. +27 −23 popcorn/templates/distro_doc.html
@@ -11,43 +11,48 @@
{% block content %}
<div class="row-fluid">
<div class="span7">
- <h2>Distribution</h2>
+{% filter textile %}
- <p>Information related to the distributions installed on the systems
- that popcorn submissions are received from.</p>
+h2. Distribution
- <h3 id="show-a-distribution">Show a distribution</h3>
+Information related to the distributions installed on the systems
+that popcorn submissions are received from.
- <p>Information about a distribution, including all the submissions
- received for that distribution.</p>
+h3(#show-a-distribution). Show a distribution
- <code>GET /distro/&lt;distro_name&gt;/&lt;distro_version&gt;</code>
+Information about a distribution, including all the submissions
+received for that distribution.
- <h4>Arguments:</h4>
+@GET /distro/<distro_name>/<distro_version>@
+
+h4. Arguments
+
+<dl class="dl-horizontal">
+ <dt>distro_name</dt>
+ <dd>Canonical distribution name (e.g. "openSUSE", "SUSE Linux
+ Enterprise Server") </dd>
+
+ <dt>distro_version</dt>
+ <dd>Distribution version (e.g. 12.1, 11)
+</dl>
- <dl class="dl-horizontal">
- <dt>distro_name</dt>
- <dd>Canonical distribution name (e.g. "openSUSE", "SUSE Linux
- Enterprise Server") </dd>
- <dt>distro_version</dt>
- <dd>Distribution version (e.g. 12.1, 11)
- </dl>
</div>
+
<div class="span5">
<h4>Submissions for each distribution version</h4>
<div id="submissions_distrover" style="width: 400px; height: 300px;"></div>
</div>
+
</div>
-<h4>Response</h4>
-<pre>
- HTTP/1.0 200 OK
+h4. Response
+
+pre. HTTP/1.0 200 OK
Content-Type: application/json
Content-Length: 517
-</pre>
-<pre class="pre-scrollable">
- {
+
+pre(pre-scrollable). {
"distro": {
"submissions": [
{
@@ -70,7 +75,6 @@ <h3 id="show-a-distribution">Show a distribution</h3>
"distro_name": "openSUSE",
"distro_version": "12.1"
}
-</pre>
-
+{% endfilter %}
{% endblock %}

0 comments on commit ddabdbe

Please sign in to comment.