@ -1,6 +1,10 @@
<!doctype html>
<html>
<head>
<title>{% block title %}{% endblock %} - video_metadata</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<nav>
<h1>video_metadata</h1>
<ul>
@ -20,3 +24,9 @@
{% block content %}{% endblock %}
</section>
<section class="debug">
<h3>Debug Info</h3>
<pre>{{ debug_str }}</pre>
</body>
</html>
@ -20,9 +20,4 @@
</li>
{% endfor %}
</ul>
<div class="debug">
</div>
{% endblock %}
@ -8,8 +8,4 @@
{% if success %}
<p>Successfully added file mapping for {{ rel_path }}</p>
{% endif %}
<pre>movie_id: {{ movie_id }}, rel_path: {{ rel_path }}</pre>
@ -19,8 +19,4 @@
<pre></pre>
@ -31,9 +31,4 @@
@ -186,6 +186,7 @@ def create_mapping():
return render_template('tmdb/create_mapping.html.jinja',
movie_id = movie_id,
rel_path = rel_path,
debug_str = util.dumpObject({'movie_id': movie_id, 'rel_path': rel_path}),
success = (len(errors) == 0)
)