Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #15 (closed enhancement: fixed)

Opened 13 years ago

Last modified 11 years ago

Add a Template Browser to the Toolbox

Reported by: dw-it-mail@… Owned by: fredlin
Priority: normal Milestone: 1.5
Component: Toolbox Version: trunk
Severity: normal Keywords:
Cc:

Description

See email thread at  http://tinyurl.com/9r3ep

Idea is that:

tg-admin kidview

would

  • scan the project directories for .kid and .html files
  • put them all into a new index.html that lives in the toplevel directory?
  • could optionally open a browser, too, if that's handy

I would prefer the file to be called developer-index.html so it is more obvious it should not be deployed.

Should be have no impact on developers who choose not to look at the template source file in a browser.

Attachments

templater.png Download (80.5 KB) - added by fredlin 12 years ago.
screenshot of the prototype
pack.zip Download (17.8 KB) - added by fredlin 12 years ago.
previewable template browser
templater.patch Download (13.2 KB) - added by fredlin 12 years ago.
pack.zip in patch format

Change History

comment:1 Changed 13 years ago by elvelind@…

  • Owner changed from kevin to elvelind grandin

I'v just wanted to let you know that I'v started working on this. Hopefully I will submit it when I get back from the lanparty this weekend.

cheers

comment:2 Changed 13 years ago by Lethalman

  • Summary changed from Add "tg-admin kidview" to create developer-index.html to Add "tg-admin kidview" to create a directory containing browsable app templates

Since there're many templates, the kidview output should be inserted in a directory:

tg-admin kidview directory

directory/ -- index.html -- template1.html -- template2.html

index.html should contain a link to each template.

comment:3 Changed 13 years ago by kevin

  • Milestone set to 0.9

Elvelind is looking at making this part of the Toolbox.

comment:4 Changed 13 years ago by anonymous

  • Component changed from TurboGears to Toolbox
  • Summary changed from Add "tg-admin kidview" to create a directory containing browsable app templates to Add a Template Browser to the Toolbox

comment:5 Changed 13 years ago by kevin

  • Milestone 0.9 deleted

I haven't heard back from Elvelind about this. I'm going to un-target this ticket.

Changed 12 years ago by fredlin

screenshot of the prototype

Changed 12 years ago by fredlin

previewable template browser

Changed 12 years ago by fredlin

pack.zip in patch format

comment:6 Changed 12 years ago by fredlin

  • Owner changed from elvelind grandin to fredlin
  • Version set to trunk
  • Type changed from defect to enhancement
  • Milestone set to 1.1

committed in [1968], any missing features?

comment:7 Changed 12 years ago by fredlin

  • Status changed from new to closed
  • Resolution set to fixed

Templater browser is updated to trunk

Note: See TracTickets for help on using tickets.