Project

General

Profile

« Previous | Next » 

Revision f60c4998

Added by Serghei Mihai over 10 years ago

date arrows restyled

View differences:

calebasse/templates/calebasse/datesel.html
1
{% load url from future %}
2

  
3 1
 <div id="datesel">
4
   <a id="arrow" href="{% url url_name date=previous_month service=service %}">««</a>&nbsp;
5
   <a id="arrow" href="{% url url_name date=previous_day service=service %}"</a>
2
   <a id="arrow" href="{% url url_name date=previous_month service=service %}" class="prev-month" title=""></a>
3
   <a id="arrow" href="{% url url_name date=previous_day service=service %}" class="prev-day"></a>
6 4
   <input data-url="{% url url_name date=date service=service %}" id="date-selector" value="{{ date|date:"DATE_FORMAT"|title}} ({{date|date:"W"}})" readonly="readonly" />
7
   <a id="arrow" href="{% url url_name date=next_day service=service %}">»</a>&nbsp;
8
   <a id="arrow" href="{% url url_name date=next_month service=service %}">»»</a>
5
   <a id="arrow" href="{% url url_name date=next_day service=service %}" class="next-day"></a>
6
   <a id="arrow" href="{% url url_name date=next_month service=service %}" class="next-month"></a>
9 7
   {% if date != today %}<a id="datesel-today-link" href="{% url url_name service=service date=today %}">Aujourd'hui</a>{% endif %}
10 8
 </div>

Also available in: Unified diff