7 changed files with 124 additions and 17 deletions
@ -0,0 +1,15 @@
|
||||
{% extends 'base.html' %} |
||||
|
||||
{% block header %} |
||||
<h1>{% block title %}Set Mapping{% endblock %}</h1> |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
{% if success %} |
||||
<p>Successfully added file mapping for {{ rel_path }}</p> |
||||
{% endif %} |
||||
|
||||
<div class="debug"> |
||||
<pre>movie_id: {{ movie_id }}, rel_path: {{ rel_path }}</pre> |
||||
</div> |
||||
{% endblock %} |
||||
@ -0,0 +1,26 @@
|
||||
{% extends 'base.html' %} |
||||
|
||||
{% block header %} |
||||
<h1>{% block title %}movie list test{% endblock %}</h1> |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
<div id="search_results"> |
||||
{% for r in view_results %} |
||||
<div class="search_result"> |
||||
<h3><a href="{{ r.tmdb_link }}">{{ r.title }}</a></h3> |
||||
<ul> |
||||
<li>Relative Path: {{ r.rel_path }}</li> |
||||
<li>Release Date: {{ r.release_date }}</li> |
||||
<li>Description: |
||||
<p>{{ r.overview }}</p> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
{% endfor %} |
||||
</div> |
||||
|
||||
<div class="debug"> |
||||
<pre></pre> |
||||
</div> |
||||
{% endblock %} |
||||
Loading…
Reference in new issue