FORGE-126 - Update quickstart template for plugin creation

Rick Copeland Rick Copeland 2009-12-07

added pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/search.html_tmpl
added pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/lib.html
added pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/artifact.html
added pyforge/pyforge/pastetemplates/forgeapp/+package+/model/artifacts.py
added pyforge/pyforge/pastetemplates/forgeapp/+package+/model/__init__.py
added pyforge/pyforge/pastetemplates/forgeapp/+package+/static/+plugin_name+/js/comments.js
added pyforge/pyforge/pastetemplates/forgeapp/+package+/version.py
changed pyforge/pyforge/pastetemplates/forgeapp/+package+/main.py_tmpl
changed pyforge/pyforge/pastetemplates/forgeapp/setup.py_tmpl
changed pyforge/pyforge/pastetemplate.py
copied pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/index.html -> pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/index.html_tmpl
pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/search.html_tmpl Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/lib.html Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/artifact.html Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/model/artifacts.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/model/__init__.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/static/+plugin_name+/js/comments.js Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/version.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/main.py_tmpl Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/setup.py_tmpl Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplate.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/index.html to pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/index.html_tmpl
--- a/pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/index.html
+++ b/pyforge/pyforge/pastetemplates/forgeapp/+package+/templates/index.html_tmpl
@@ -4,14 +4,22 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude">
 
+  <xi:include href="${g.pyforge_templates}/master.html"/>
+
   <head>
     <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
-    <title>HelloForge Index Page</title>
+    <title>{{egg}} Index Page</title>
   </head>
   
   <body>
-    <h1>Welcome to HelloForge</h1>
+    <h1>Welcome to {{egg}}</h1>
     <h2>Project: $c.project.shortname</h2>
-    <h2>The message is <span style="background-color:#fdd">$message</span></h2>
+    <p>The app config follows</p>
+    <dl>
+      <py:for each="name, value in c.app.config.options.iteritems()">
+        <dt>$name</dt>
+        <dd>$value</dd>
+      </py:for>
+    </dl>
   </body>
 </html>