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>
|
||||
</a>
|
||||
<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 'about' %}" class="animated-title"><span class="text">about</a>
|
||||
</nav>
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
<img src="https://archive.njp.ma/{{ item.id }}/480p.jpg">
|
||||
{% endfor %}
|
||||
</div>
|
||||
<figcaption>
|
||||
<img src="https://archive.njp.ma/{{ film.data.items.0.id }}/timeline64p.jpg">
|
||||
</figcaption>
|
||||
<figcaption>
|
||||
{{ film.data.title | safe }}
|
||||
</figcaption>
|
||||
|
|
|
@ -24,9 +24,9 @@ from .contact.views import index as contact
|
|||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
#path('pandoraAPI/', video.pandoraAPI, name='pandoraAPI'),
|
||||
path(settings.URL_PREFIX + 'films/', video.films, name='films'),
|
||||
path(settings.URL_PREFIX + 'film/<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 + 'videos/', video.films, name='films'),
|
||||
path(settings.URL_PREFIX + 'video/<str:slug>/play/<str:id>', video.film_play, name='film_play'),
|
||||
path(settings.URL_PREFIX + 'video/<str:slug>/', video.film, name='film'),
|
||||
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>/', video.edit, name='edit'),
|
||||
|
|
Loading…
Reference in a new issue