gdritter repos frony-ritter-designs / master old_templates / edit_design_list.html
master

Tree @master (Download .tar.gz)

edit_design_list.html @master

8c17190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
$def with (design_list, page, show_left, show_right)
<p><a href="/edit/about/">Edit About Text</a></p>
<form name="add-new" action="/edit/design/" method="post">
  <input type="submit" value="Add New Design" />
</form>
$for name, photo, id in design_list:
    <div class="design-edit-tile">
      <img src="/static/photos/$thumb(photo)" />
      <a href="/edit/design/$five(id)/">
	<span class="title">$name</span>
      </a> &mdash; 
      <a href="/edit/delete/$five(id)/">
	Delete this design
      </a>
    </div>
<div class="lrnav">
$if show_left:
    <a href="/edit/design/?page=$(page - 1)">&lt;&lt;</a>
$if show_right:
    <a href="/edit/design/?page=$(page + 1)">&gt;&gt;</a>
</div>