Changeset 0b8c868
- Timestamp:
- Feb 25, 2009, 12:53:27 AM (16 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- 8bcbc70e
- Parents:
- 4b9d354
- git-author:
- Edward Z. Yang <edwardzyang@…> (02/25/09 00:53:27)
- git-committer:
- Edward Z. Yang <edwardzyang@…> (02/25/09 00:53:27)
- Location:
- gutenbach-web
- Files:
-
- 34 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-web/index.html
r4b9d354 r0b8c868 14 14 <body> 15 15 <div id="status"> 16 <p>The volume is <span class="volume">$volume</span></p>17 <div py:replace="volume_form "></div>16 <p>The volume is <span id="volume">$volume</span></p> 17 <div py:replace="volume_form(volume_data)"></div> 18 18 </div> 19 19 <div class="clearingdiv" /> -
gutenbach-web/master.html
r1998d46 r0b8c868 11 11 <title py:replace="''">Your title goes here</title> 12 12 <meta py:replace="select('*')"/> 13 <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/jquery/theme/ui.all.css')}" /> 13 14 <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" /> 14 15 </head> -
gutenbach-web/root.py
r4b9d354 r0b8c868 12 12 from remctl import remctl 13 13 import tw.forms as twf 14 from sipbmp3web.widgets.slider import UISlider 14 15 15 16 volume_form = twf.TableForm('volume_form', action='volume', children=[ 16 twf.TextField('volume', validator=twf.validators.Int(not_empty=True,min=1,max=31))17 UISlider('volume', min=1, max=31, validator=twf.validators.NotEmpty()) 17 18 ]) 18 19 … … 31 32 page="index", 32 33 volume=volume, 33 volume_form=volume_form(kw), 34 volume_form=volume_form, 35 volume_data=kw, 34 36 ) 35 37 -
gutenbach-web/style.css
r1998d46 r0b8c868 92 92 93 93 /* Content CSS */ 94 .volume {94 #volume { 95 95 color: #009; 96 96 font-family: Helvetica; … … 98 98 font-size: 1.1em; 99 99 } 100 .labelcol { 101 padding-right: 2em; 102 } 103 #volume_form_volume_container { 104 width: 18em; 105 } -
gutenbach-web/virtualenv-create
r973dd91 r0b8c868 1 1 #!/bin/bash 2 2 easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools 3 # deal with bugs that happen during install 3 4 easy_install tg.devtools 4 5 easy_install tg.devtools
Note: See TracChangeset
for help on using the changeset viewer.