Project

General

Profile

« Previous | Next » 

Revision 14ff9d10

Added by dsorber about 11 years ago

Just a couple of very minor UI tweaks.

View differences:

software/bookmark_library/bmklib/web/htdocs/css/bmk_form.css
margin-right: 0.5em;
}
div.left {
display: inline-block;
}
div.right {
float: right;
display: inline-block;
}
software/bookmark_library/bmklib/web/templates/bookmark.html
</py:when>
<py:when test="False">
<p>Bookmark ID: ${bookmark.id}</p>
<form method="post" action="/bmk/update_bookmark">
<input type="hidden" name="id" value="${bookmark.id}" />
<div class="container">
<div>
<p>Bookmark ID: ${bookmark.id}</p>
<div class="not_first">
<div class="left">
<span class="form_label">Deleted:</span>
<input class="checkbox" type="checkbox" name="deleted" />
</div>
<div class="right">
<span class="form_label">Date added:</span>
<p>${bookmark.date_added.month}/${bookmark.date_added.day}/${bookmark.date_added.year}</p>
</div>
</div>
<div class="not_first">
<span class="form_label">Title:</span>
<input type="text" name="title" value="${bookmark.title}" />
</div>
......
<span class="form_label">Description:</span>
<textarea name="description">${bookmark.description}</textarea>
</div>
<div class="not_first">
<span class="form_label">Deleted:</span>
<input class="checkbox" type="checkbox" name="deleted" />
</div>
<div class="not_first">
<span class="form_label">Date added:</span>
<p>${bookmark.date_added.month}/${bookmark.date_added.day}/${bookmark.date_added.year}</p>
</div>
<div class="not_first">
<input type="hidden" name="category_tags" value="${';'.join([tag.value for tag in bookmark.category_tags])}" />
<span class="form_label">Category Tags:</span>

Also available in: Unified diff