From: Tony Arcieri Date: Thu, 14 Mar 2013 17:04:18 +0000 (-0700) Subject: Redesigned directory pages (WIP) X-Git-Tag: allmydata-tahoe-1.10.1a1~151^2~3 X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/frontends?a=commitdiff_plain;h=c1f3008d03a933b76580a47547ef971aa4e639d7;p=tahoe-lafs%2Ftahoe-lafs.git Redesigned directory pages (WIP) This is an initial conversion of the directory pages from the old style to the new style which is based on Twitter Bootstrap. Still some remaining work to be done. You can see a screenshot here: http://i.imgur.com/MPEngGx.png --- diff --git a/src/allmydata/web/directory.py b/src/allmydata/web/directory.py index 21f6d429..ec170e8b 100644 --- a/src/allmydata/web/directory.py +++ b/src/allmydata/web/directory.py @@ -686,14 +686,14 @@ class DirectoryAsHTML(rend.Page): T.input(type='hidden', name='t', value='unlink'), T.input(type='hidden', name='name', value=name), T.input(type='hidden', name='when_done', value="."), - T.input(type='submit', value='unlink', name="unlink"), + T.input(type='submit', _class='btn', value='unlink', name="unlink"), ] rename = T.form(action=here, method="get")[ T.input(type='hidden', name='t', value='rename-form'), T.input(type='hidden', name='name', value=name), T.input(type='hidden', name='when_done', value="."), - T.input(type='submit', value='rename/relink', name="rename"), + T.input(type='submit', _class='btn', value='rename/relink', name="rename"), ] ctx.fillSlots("unlink", unlink) diff --git a/src/allmydata/web/directory.xhtml b/src/allmydata/web/directory.xhtml index 540da00d..ee94d581 100644 --- a/src/allmydata/web/directory.xhtml +++ b/src/allmydata/web/directory.xhtml @@ -1,50 +1,85 @@ - - - - - - - -

- -
-
- - - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - -
TypeFilenameSizeTimes
This directory is empty.
-
- -