From ea15510609d1516000daa8a685731df5d549bfba Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Tue, 5 Dec 2006 16:08:03 -0500 Subject: Mostly upgrade to turbogears 1.0b1 --- Bugs-Everywhere-Web/beweb/templates/login.kid | 4 +- Bugs-Everywhere-Web/beweb/templates/master.kid | 142 ++++++++++++------------ Bugs-Everywhere-Web/beweb/templates/welcome.kid | 83 ++++++++------ 3 files changed, 123 insertions(+), 106 deletions(-) (limited to 'Bugs-Everywhere-Web/beweb/templates') diff --git a/Bugs-Everywhere-Web/beweb/templates/login.kid b/Bugs-Everywhere-Web/beweb/templates/login.kid index 2c150db..e7ad852 100644 --- a/Bugs-Everywhere-Web/beweb/templates/login.kid +++ b/Bugs-Everywhere-Web/beweb/templates/login.kid @@ -8,7 +8,7 @@ Login - - - - - -
- - Login - - - Welcome ${tg.identity.user.displayName}. - Logout - -
- -
- -
- - - - - - - - - - -
- -
- Hello, this is some random text -
- - -
- - - - - - - - -
- -
- Hello, this is some random text -
- - -
- - + + + + + + + Your title goes here + + + + + + + +
+ + Login + + + Welcome ${tg.identity.user.display_name}. + Logout + +
+ +
+ +
+ + + + + + + + + +
+ +
+ Hello, this is some random text +
+ + +
+ + + + + + + + +
+ +
+ Hello, this is some random text +
+ + +
+ + + diff --git a/Bugs-Everywhere-Web/beweb/templates/welcome.kid b/Bugs-Everywhere-Web/beweb/templates/welcome.kid index 0d3cf3e..08abd21 100644 --- a/Bugs-Everywhere-Web/beweb/templates/welcome.kid +++ b/Bugs-Everywhere-Web/beweb/templates/welcome.kid @@ -1,33 +1,50 @@ - - - - - - Welcome to TurboGears - - - -

Congratulations, your TurboGears application is running as of now.

- -

Are you ready to Gear Up?

- -

Take the following steps to dive right in:

- -
    -
  1. Edit your project's model.py to create SQLObjects representing the data you're working with
  2. -
  3. Edit your dev.cfg file to point to the database you'll be using
  4. -
  5. Run "tg-admin sql create" to create the tables in the database
  6. -
  7. Edit controllers.py to add the functionality to your webapp
  8. -
  9. Change the master.kid template to have the headers and footers for your application.
  10. -
  11. Change welcome.kid (this template) or create a new one to display your data
  12. -
  13. Repeat steps 4-6 until done.
  14. -
  15. Profit!
  16. -
- -

If you haven't already, you might check out some of the documentation.

- -

Thanks for using TurboGears! See you on the mailing list and the "turbogears" channel on irc.freenode.org!

- - - + + + + +Welcome to TurboGears + + + +
+
Your TurboGears application is now running.
+ + +
+
    +
  1. +

    Model

    +

    Design models in the model.py.
    + Edit dev.cfg to use a different backend, or start with a pre-configured SQLite database.
    + Use script tg-admin sql create to create the database tables.

    +
  2. +
  3. +

    View

    +

    Edit html-like templates in the /templates folder;
    + Put all static contents in the /static folder.

    +
  4. +
  5. +

    Controller

    +

    Edit controllers.py and build your + website structure with the simplicity of Python objects.
    + TurboGears will automatically reload itself when you modify your project.

    +
  6. +
+
If you create something cool, please let people know, and consider contributing something back to the community.
+
+ +
+ + -- cgit