Revision f60c4998
Added by Serghei Mihai over 10 years ago
calebasse/static/css/style.css | ||
---|---|---|
446 | 446 |
top: -6px; |
447 | 447 |
} |
448 | 448 |
|
449 |
a#arrow { |
|
450 |
font-family: FontAwesome; |
|
451 |
margin: 0 5px; |
|
452 |
color: #555; |
|
453 |
text-decoration: none; |
|
454 |
} |
|
455 |
|
|
456 |
a.prev-day:before { |
|
457 |
content: '\f053'; |
|
458 |
} |
|
459 |
|
|
460 |
a.prev-month:before { |
|
461 |
content: '\f137'; |
|
462 |
} |
|
463 |
|
|
464 |
a.next-day:before { |
|
465 |
content: '\f054'; |
|
466 |
} |
|
467 |
|
|
468 |
a.next-month:before { |
|
469 |
content: '\f138'; |
|
470 |
} |
|
471 |
|
|
449 | 472 |
span.absent{ |
450 | 473 |
color: red; |
451 | 474 |
font-style: italic; |
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>
|
|
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>
|
|
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
date arrows restyled