add timeline
This commit is contained in:
parent
ac46838e53
commit
f641dc3f9d
3 changed files with 7 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="{% url 'films'%}" class="animated-title"><span class="text">films</a>
|
<a href="{% url 'films' %}" class="animated-title"><span class="text">videos</a>
|
||||||
<a href="{% url 'texts' %}" class="animated-title"><span class="text">assemblies</a>
|
<a href="{% url 'texts' %}" class="animated-title"><span class="text">assemblies</a>
|
||||||
<a href="{% url 'about' %}" class="animated-title"><span class="text">about</a>
|
<a href="{% url 'about' %}" class="animated-title"><span class="text">about</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
<img src="https://archive.njp.ma/{{ item.id }}/480p.jpg">
|
<img src="https://archive.njp.ma/{{ item.id }}/480p.jpg">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
<figcaption>
|
||||||
|
<img src="https://archive.njp.ma/{{ film.data.items.0.id }}/timeline64p.jpg">
|
||||||
|
</figcaption>
|
||||||
<figcaption>
|
<figcaption>
|
||||||
{{ film.data.title | safe }}
|
{{ film.data.title | safe }}
|
||||||
</figcaption>
|
</figcaption>
|
||||||
|
|
|
@ -24,9 +24,9 @@ from .contact.views import index as contact
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
#path('pandoraAPI/', video.pandoraAPI, name='pandoraAPI'),
|
#path('pandoraAPI/', video.pandoraAPI, name='pandoraAPI'),
|
||||||
path(settings.URL_PREFIX + 'films/', video.films, name='films'),
|
path(settings.URL_PREFIX + 'videos/', video.films, name='films'),
|
||||||
path(settings.URL_PREFIX + 'film/<str:slug>/play/<str:id>', video.film_play, name='film_play'),
|
path(settings.URL_PREFIX + 'video/<str:slug>/play/<str:id>', video.film_play, name='film_play'),
|
||||||
path(settings.URL_PREFIX + 'film/<str:slug>/', video.film, name='film'),
|
path(settings.URL_PREFIX + 'video/<str:slug>/', video.film, name='film'),
|
||||||
path(settings.URL_PREFIX + 'edits/', video.edits, name='edits'),
|
path(settings.URL_PREFIX + 'edits/', video.edits, name='edits'),
|
||||||
path(settings.URL_PREFIX + 'edit/<str:slug>/play/<str:lang>', video.edit_play, name='edit_play'),
|
path(settings.URL_PREFIX + 'edit/<str:slug>/play/<str:lang>', video.edit_play, name='edit_play'),
|
||||||
path(settings.URL_PREFIX + 'edit/<str:slug>/', video.edit, name='edit'),
|
path(settings.URL_PREFIX + 'edit/<str:slug>/', video.edit, name='edit'),
|
||||||
|
|
Loading…
Reference in a new issue