[cvs-annodex] commit (/annodex): cmmlwiki/trunk/cmmlwiki/browse.py
conrad
nobody at lists.annodex.net
Thu Jan 19 15:39:01 EST 2006
Update of /annodex (new revision 1846)
Modified files:
cmmlwiki/trunk/cmmlwiki/browse.py
Log Message:
re-arrange the HTML a little in Clip details
Modified: cmmlwiki/trunk/cmmlwiki/browse.py
===================================================================
--- cmmlwiki/trunk/cmmlwiki/browse.py 2006-01-19 04:30:04 UTC (rev 1845)
+++ cmmlwiki/trunk/cmmlwiki/browse.py 2006-01-19 04:39:00 UTC (rev 1846)
@@ -222,6 +222,9 @@
print """</td></tr></table>
</div>
"""
+
+
+
def clip_details (inspector, ixc, editable=False):
def clip_meta (row, field, label):
@@ -254,7 +257,9 @@
a_text = xmlescape (row['a_text'])
desc = xmlescape (row['desc'])
- print '<div class="clip">'
+ print '<h3>Editing in <a href="%s">%s</a>:</h3>' % (iname, iname2edit(iname))
+
+ print '<br/><div class="clip">'
print '<table><tr><td valign="top">'
print '<img id="frame" class="dhandle" src="%s?t=%s"/>' % (iname2frame(iname), start_time)
@@ -279,10 +284,8 @@
print '[<a href="%s?t=%s">Play</a>]' % (iname2view(iname), start_time)
if (editable):
- print '[<a href="%s/Edit:DeleteClip/%s?ixc=%s">Delete</a>]' % (edit_base, iname, ixc)
+ print '<div align="right">[<a href="%s/Edit:DeleteClip/%s?ixc=%s">Delete clip</a>]</div>' % (edit_base, iname, ixc)
- print '[<a href="%s">CMML Overview</a>]' % (iname2edit(iname))
-
print '</td></tr></table></div>'
if (a_href == None):
--
conrad
More information about the cvs-annodex
mailing list