annotate templates/index.djhtml @ 115:1da98bd71b84

Link to snippets from main page
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 13 Sep 2012 14:07:44 -0400
parents cf741f0c5255
children 1abdcf1cf5cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
cf741f0c5255 Fix template inheritance in index.djhtml
dellsystem <ilostwaldo@gmail.com>
parents: 80
diff changeset
1 {% extends "base.djhtml" %}
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9
diff changeset
2
80
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
3 {% block navbar %}
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
4 {% endblock %}
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
5
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
6 {% block billboard %}
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
7 <div id="billboard">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
8 <div class="grid">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
9 <div class="wrap center-align">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
10 <h1>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
11 Agora Octave enables <strong>rapid collaboration</strong> and
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
12 <strong>code&#8209;sharing</strong> for users of
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
13 <a href="http://octave.org">GNU Octave</a>.
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
14 </h1>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
15 <!--<div id="login-box"></div>-->
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
16 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
17 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
18 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
19 <div id="billboard-below">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
20 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
21 {% endblock %}
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
22
7
6c2d400091fd Decouple bundle urlconfs; improve the skeleton layout to more than a few bones
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 1
diff changeset
23 {% block content %}
80
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
24 <div id="info-box" class="row">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
25 <div class="span3">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
26 <div class="center-align">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
27 <img src="/static/img/browse.png" />
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
28 <h2>Browse code submissions</h2>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
29 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
30 <p>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
31 Some copy about how you can browse through the code until you
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
32 find what you want. They can be snippets or bundles. You can
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
33 contribute your own changes, maybe. You can even install them
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
34 as octave packages. More text to fill up line.
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
35 </p>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
36 </div><div class="span3">
115
1da98bd71b84 Link to snippets from main page
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 84
diff changeset
37 <a href="{%url snippet_new %}">
1da98bd71b84 Link to snippets from main page
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 84
diff changeset
38 <div class="center-align">
1da98bd71b84 Link to snippets from main page
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 84
diff changeset
39 <img src="/static/img/snippet.png" />
1da98bd71b84 Link to snippets from main page
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 84
diff changeset
40 <h2>Post a snippet</h2>
1da98bd71b84 Link to snippets from main page
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 84
diff changeset
41 </div>
1da98bd71b84 Link to snippets from main page
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 84
diff changeset
42 </a>
80
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
43 <p>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
44 Just want to post a quick snippet of code? Do it in the pastebin.
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
45 You don't even have to be registered. Though we'd need some sort
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
46 of spam-protection measures in that case. Plus, syntax highlighting!
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
47 </p>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
48 </div><div class="span3">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
49 <div class="center-align">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
50 <img src="/static/img/upload.png" />
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
51 <h2>Share your code</h2>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
52 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
53 <p>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
54 For larger pieces of code, we have bundles. Mercurial integration,
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
55 select a license. Sharing made easy. Forge for installing packages,
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
56 eventually. Some more text just to fill up the space. Lorem ipsum,
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
57 etc. You do have to be signed up to upload something, though.
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
58 </p>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
59 </div>
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9
diff changeset
60 </div>
80
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
61
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
62 <div class="center-align">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
63 <p><a href="{% url code %}" class="button large">Explore</a>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
64 <a href="{% url registration_register %}" class="button large">
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
65 Register an account
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
66 </a></p>
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9
diff changeset
67 <p>
80
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
68 You can sign up, if you want, won't share your email, not required, etc
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9
diff changeset
69 </p>
80
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
70 </div>
eaa36eaaf74a Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents: 67
diff changeset
71
17
cb9a7c6c3800 Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9
diff changeset
72 {% endblock %}