all repos — moviedb @ 5e82b1b6e63b51d448914dbe5872b5d255b1b594

A Flask web-app to browse movie information from IMDb using imdbpy

moviedb/templates/search.html

{% extends "base.html" %}

{% block title %}Search Results{% endblock %}

{% block content %}
<div class="mycontainer">
  <div class=results>
    {% for res in results %}
    <a class=result-box href="{{ url_for('main.info', id=res['id']) }}">
      {%if res['cover'] %}
      <img src="{{ res['cover'] }}" class=res-poster>
      {% endif %}
      <div class="res-text">
        <h3 class=res-title>{{res['title']}} ({{res['year']}})</h3>
        <p class="kind">type: {{res['kind']}}</p>
      </div>
    </a>
    {% endfor %}
  </div>
</div>
{% endblock %}