Source

moviedemo / moviedemo / templates / rest / movies / get_all.html

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="master.html" />
<head/>
<body>
  <div style="height:0px;"> &nbsp; </div>
  <div>
    <div style="float:left width: 80%">
      <h1 style="margin-top:1px;">Movie Listing</h1>
      <a href='new/'>New Movie</a>
        <table>
          <tr>
          <th/>
          <th>Title</th>
          <th>Description</th>
          <th>Genre</th>
          <th>Directors</th>
          <th>Release Date</th>
          </tr>
          <tr py:for="i, movie in enumerate(movies)" class="${i%2 and 'even' or 'odd'}">
            <td><a href="${movie.movie_id}/edit">edit</a>|<a href="${movie.movie_id}/delete">delete</a></td>
            <td>${movie.title}</td>
            <td>${movie.description}</td>
            <td>${movie.genre.name}</td>
            <td>
            <py:for each="director in movie.directors">
            ${director.name},
            </py:for>
            </td>
            <td>${movie.release_date}</td>
          </tr>
        </table>
    </div>
  </div>
</body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.