index.html 1.52 KB
Newer Older
christophe siraut's avatar
christophe siraut committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{% extends "base.html" %}

{% block chapeau %}
 
    <h2>nuage</h2>
    
        <p class="info">
        <i>nuage</i> let you create polls easily, and publish them for your mates. You may poll on dates or any subject, in order to plan meetings or get a group opinion.
        </p>
{% endblock %}

{% block content %} 
        <br /><br /><br />

15 16 17
        <div class="hide"> <a href="#"><p class="icone">
        <img width="24px" src="/static/images/view-calendar-list.png" alt="Make a poll"> &nbsp; New poll</p></a> </div>
	
christophe siraut's avatar
christophe siraut committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

        <a href="/new/" title="Make an poll"  alt="Make an event"><p class="icone">
        <img width="24px" src="/static/images/view-calendar-day-2.png"> &nbsp;  &nbsp;  Shedule an event</p></a>

        <a href="/nuage" title="Make an event"  alt="Learn more"><p class="icone">
        <img width="24px" src="/static/images/document-send.png"> &nbsp; About nuage</p></a>

        <br /><br /><br /><br /> <br /><br />



{% if user.is_authenticated %}

    <h3>My polls</h3>
    {% if object_list %}
        <ul>
        {% for object in object_list %}

        {% ifequal object.author user.username %}
            <li><a href="{{ object.id }}">{{ object.title }}</a> 
            [<a href="{{ object.id }}/edit">edit</a>] </li>
        {% endifequal %}

        {% endfor %}
        </ul>

    {% else %}
        <p>No polls are available.</p>
    {% endif %}


{% else %}

    <h3>Examples</h3>

        <ul>
        <li><a href="/7d31/">Quand allons nous au potager?</a></li>

        </ul>
{% endif %}


{% endblock %}