~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to templates/root.html

  • Committer: Marc Tardif
  • Date: 2011-05-11 11:54:18 UTC
  • Revision ID: marc.tardif@canonical.com-20110511115418-12lv84nvado8pvme
Added xunit package, tools script and corresponding packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "base_layout.html" %}
2
2
 
3
3
{% comment %}
4
 
Copyright 2010 Canonical Ltd.  This software is licensed under the
 
4
Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
5
5
GNU Affero General Public License version 3 (see the file  LICENSE).
6
6
{% endcomment %}
7
7
 
13
13
{% block content %}
14
14
  <div class="top-portlet">
15
15
    <p id="application-summary">Launchpad Results help you collaborate testing with the community.</p>
16
 
    <p>To access the web service use the <a href="{{ LAUNCHPAD_HELP_ROOT }}API/launchpadlib">Python library</a>, use the <a href="{{ LAUNCHPAD_HELP_ROOT }}API/Hacking">API without Python</a>, read the <a href="{% url lpx.results.views.apidoc '' %}">reference documentation</a>.</p>
17
 
    <p>To integrate with <a href="{{ LAUNCHPAD_WEB_ROOT }}">Launchpad</a> use the <a href="https://addons.mozilla.org/en-US/firefox/addon/748/">Greasemonkey add-on</a> in Firefox with <a href="{% url lpx.results.views.gm 'lpx-results.user.js' %}">this script</a>.</p>
18
 
  </div>
 
16
  </div>
 
17
 
 
18
  <div class="yui-g">
 
19
    <div class="first yui-u">
 
20
      <div id="ppa-install" class="portlet">
 
21
        <p>To upload results, install the <strong>launchpad-results-tools</strong> package by adding <strong>ppa:launchpad-results/ppa</strong> to your Software Sources. (<a href="{{ LAUNCHPAD_WEB_ROOT }}+help/soyuz/ppa-sources-list.html" target="help">Read about installing</a>). Then, run the command:</p>
 
22
        <pre>results2launchpad --service-root={{ LAUNCHPAD_RESULTS_API_ROOT }} submission.xml</pre>
 
23
        <div id="ppa-install-slide-trigger">
 
24
          <div class="widget-header">
 
25
            Technical details about this PPA
 
26
          </div>
 
27
        </div>
 
28
 
 
29
        <div class="widget-body">
 
30
          <p>This PPA can be added to your system manually by copying
 
31
             the lines below and adding them to your system's software
 
32
             sources. </p>
 
33
 
 
34
  <script>
 
35
  <!--
 
36
      function updateSeries(select) {
 
37
          var deb = document.getElementById('series-deb');
 
38
          deb.innerHTML = select.value;
 
39
          var deb_src = document.getElementById('series-deb-src');
 
40
          deb_src.innerHTML = select.value;
 
41
      }
 
42
  //-->
 
43
  </script>
 
44
 
 
45
  <div id="series-widget-div">
 
46
    <form style="display: inline">
 
47
    Display sources.list entries for: <select id="field.series" name="field.series" size="1" onChange='updateSeries(this);'>
 
48
<option selected="selected" value="natty">Natty (11.04)</option>
 
49
<option value="maverick">Maverick (10.10)</option>
 
50
<option value="lucid">Lucid (10.04)</option>
 
51
</select>
 
52
    </form>
 
53
  </div>
 
54
  
 
55
 
 
56
  <pre id="sources-list-entries" class="wrap">
 
57
deb <a href="http://ppa.launchpad.net/launchpad-results/ppa/ubuntu">http://ppa.launchpad.net/launchpad-results/ppa/ubuntu</a> <span
 
58
    id="series-deb">natty</span> main 
 
59
deb-src <a href="http://ppa.launchpad.net/launchpad-results/ppa/ubuntu">http://ppa.launchpad.net/launchpad-results/ppa/ubuntu</a> <span
 
60
    id="series-deb-src">natty</span> main </pre>
 
61
 
 
62
          <dl id="signing-key"
 
63
              tal:define="signing_key context/signing_key"
 
64
              tal:condition="signing_key">
 
65
            <dt>Signing key:</dt>
 
66
            <dd>
 
67
              <a href="http://keyserver.ubuntu.com:11371/pks/lookup?search=0xAF4690ACD7821EE92E8091F480672A8C18F5B8B9&amp;op=index">
 
68
                <code>1024R/18F5B8B9</code>
 
69
              </a>
 
70
 
 
71
              (<a href="{{ LAUNCHPAD_WEB_ROOT }}+help/soyuz/ppa-sources-list.html" target="help">What is this?</a>)
 
72
            </dd>
 
73
            <dt>Fingerprint:</dt>
 
74
            <dd>AF4690ACD7821EE92E8091F480672A8C18F5B8B9</dd>
 
75
          </dl>
 
76
        </div> <!-- widget-body -->
 
77
 
 
78
        {% include "ppa_script.html" %}
 
79
      </div><!-- portlet -->
 
80
    </div> <!-- yui-u -->
 
81
 
 
82
    <div class="yui-u">
 
83
      <div class="portlet">
 
84
        <p>To access the web service use the <a href="{{ LAUNCHPAD_HELP_ROOT }}API/launchpadlib">Python library</a>, use the <a href="{{ LAUNCHPAD_HELP_ROOT }}API/Hacking">API without Python</a>, read the <a href="{% url lpresults.tracker.views.apidoc '' %}">reference documentation</a>.</p>
 
85
        <p>To integrate with <a href="{{ LAUNCHPAD_WEB_ROOT }}">Launchpad</a> use the <a href="https://addons.mozilla.org/en-US/firefox/addon/748/">Greasemonkey add-on</a> in Firefox with <a href="{% url lpresults.tracker.views.gm 'launchpad-results.user.js' %}">this script</a>.</p>
 
86
      </div><!-- portlet -->
 
87
    </div> <!-- yui-u -->
 
88
  </div> <!-- yui-g -->
19
89
 
20
90
  <div class="yui-g">
21
91
    <div class="first yui-u">