Mercurial > agora-palash
annotate templates/index.djhtml @ 107:2bca07be6e51
Add login popup box
So you can log in and immediately be redirected to the same page. Sort
of like what reddit has. If Javascript is disabled, the user is simply
taken to the standard login page.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Tue, 11 Sep 2012 20:23:51 -0400 |
parents | cf741f0c5255 |
children | 1abdcf1cf5cb d624e5076890 |
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‑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"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
37 <div class="center-align"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
38 <img src="/static/img/snippet.png" /> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
39 <h2>Post a snippet</h2> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
40 </div> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
41 <p> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
42 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
|
43 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
|
44 of spam-protection measures in that case. Plus, syntax highlighting! |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
45 </p> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
46 </div><div class="span3"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
47 <div class="center-align"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
48 <img src="/static/img/upload.png" /> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
49 <h2>Share your code</h2> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
50 </div> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
51 <p> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
52 For larger pieces of code, we have bundles. Mercurial integration, |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
53 select a license. Sharing made easy. Forge for installing packages, |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
54 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
|
55 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
|
56 </p> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
57 </div> |
17
cb9a7c6c3800
Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
9
diff
changeset
|
58 </div> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
59 |
107 | 60 {% if not user.is_authenticated %} |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
61 <div class="center-align"> |
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
62 <p><a href="{% url code %}" class="button large">Explore</a> |
107 | 63 <a href="{% url login %}" class="button large login-link"> |
64 Login or register | |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
65 </a></p> |
17
cb9a7c6c3800
Implement rounded boxes and titles for holding content
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
9
diff
changeset
|
66 <p> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
67 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
|
68 </p> |
80
eaa36eaaf74a
Start integration of new design
dellsystem <ilostwaldo@gmail.com>
parents:
67
diff
changeset
|
69 </div> |
107 | 70 {% endif %} |
80
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 %} |