Skip to content

Commit a654ec5

Browse files
committed
demo version
1 parent 9c86b39 commit a654ec5

30 files changed

+222
-38
lines changed

course.html

+25-14
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,39 @@
1010
<center>
1111
<img src="/static/img/wda-training.png"/>
1212
<hr style="border:1px dashed;color:58595b" width="100%"/>
13+
</center>
14+
15+
<p>
1316

14-
<form action="/search" method="get">
15-
<input name="query" type="text" value=""><input type="submit" value="Search">
16-
</form>
17+
<h1>MS Word 101</h1>
18+
6 hours (1 six-hour day–0.6 CEUs)
19+
<br/>
1720
<br/>
21+
<b>Description: </b> Public managers will receive an introduction to the skills and knowledge necessary to manage procurement, contracting and outsourcing activities. Managers will also be exposed to current and relevant case studies, from which they can draw principles to implement in their own organizations.
1822
<br/>
19-
Categories: <a href="">Technology</a> <a href="">Management</a> <a href="">MS Office</a>
23+
<br/>
24+
<b>Objectives: </b> Understand the responsibilities of line or program managers in the acquisition of goods and services, particularly in the day-to-day administration of procurement contracts and contractor relationships.
25+
Become familiar with the various types of contracts (e.g., fixed price, cost plus) and their relative strengths and weaknesses; be able to analyze a potential outsourcing situation or opportunity and understand how to develop a satisfactory statement of work.
2026

21-
<p>
22-
{% for r in results %}
23-
<b>
24-
<a href="/course?id={{r.id}}">{{ r.name }}</a>
25-
</b>
26-
<br/>
27-
{% endfor %}
28-
</p>
27+
<br/>
28+
<br/>
29+
<b>Competencies: </b> Customer Service
30+
<br/>
31+
<b>Who Should Attend: </b> MSS and Non-MSS managers and supervisors only (CPM graduates are exempt)
32+
<br/>
33+
<b>Prerequisites: </b> None
34+
</p>
35+
<hr style="border:1px dashed;color:58595b" width="100%"/>
36+
<h2>Available Sessions</h2>
37+
38+
<a href="/session?id=123">January 1st, 2011 - OJS</a> <br/>
39+
<a href="/session?id=123">January 31st, 2011 - OJS</a> <br/>
40+
<a href="/session?id=123">March 1st, 2011 - OJS</a> <br/>
2941

3042
<p>
31-
<a href="http://wda.dc.gov">Home</a>
43+
<a href="/">Home</a>
3244
</p>
3345

34-
</center>
3546

3647
</body>
3748
</html>

main.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
</form>
1717
<br/>
1818
<br/>
19-
Categories: <a href="">Technology</a> <a href="">Management</a> <a href="">MS Office</a>
19+
Series: <a href="">Computer Technology</a> <a href="">Workplace Essentials</a> <a href="">Career Development</a> <a href="">Organizational Skills</a>
20+
<a href="">Human Resources Development</a> <a href="">Contracting and Procurement Skills</a> <a href="">Professional Development</a> <a href="">Management and Leadership Development</a>
2021
</center>
2122

2223
<p>
23-
<a href="http://wda.dc.gov">Home</a>
24+
<a href="/">Home</a>
2425
</p>
2526

2627
</body>

main.py

+10
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,20 @@ def get(self):
2222
self.response.out.write(template.render(path, template_values))
2323

2424

25+
class SessionHandler(webapp.RequestHandler):
26+
def get(self):
27+
28+
template_values = {'name': "course_name",
29+
'id':'course_id'}
30+
path = os.path.join(os.path.dirname(__file__), 'session.html')
31+
self.response.out.write(template.render(path, template_values))
32+
33+
2534
def main():
2635
application = webapp.WSGIApplication(
2736
[('/', MainHandler),
2837
('/course', CourseHandler),
38+
('/session', SessionHandler),
2939
],
3040
debug=True)
3141
wsgiref.handlers.CGIHandler().run(application)

search.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
</form>
1717
<br/>
1818
<br/>
19-
Categories: <a href="">Technology</a> <a href="">Management</a> <a href="">MS Office</a>
19+
Series: <a href="">Computer Technology</a> <a href="">Workplace Essentials</a> <a href="">Career Development</a> <a href="">Organizational Skills</a>
20+
<a href="">Human Resources Development</a> <a href="">Contracting and Procurement Skills</a> <a href="">Professional Development</a> <a href="">Management and Leadership Development</a>
2021

2122
<p>
2223
{% for r in results %}
@@ -28,7 +29,7 @@
2829
</p>
2930

3031
<p>
31-
<a href="http://wda.dc.gov">Home</a>
32+
<a href="/">Home</a>
3233
</p>
3334

3435
</center>

session.html

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
2+
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
3+
<html xmlns="http://www.w3.org/1999/xhtml">
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
<title>WDA Courses Catalog - Mobile</title>
7+
<link href="/static/css/default.css" type="text/css" rel="stylesheet" />
8+
</head>
9+
<body>
10+
<center>
11+
<img src="/static/img/wda-training.png"/>
12+
<hr style="border:1px dashed;color:58595b" width="100%"/>
13+
</center>
14+
15+
<p>
16+
<p style="color: green; font-weight:bold;">This session is available</p>
17+
18+
<input type="submit" value="Register now!"></input>
19+
20+
<h1>MS Word 101</h1>
21+
6 hours (1 six-hour day–0.6 CEUs)
22+
<br/>
23+
<br/>
24+
<b>Date: </b> January 1st, 2010
25+
<br/>
26+
<b>Time: </b> 9am-5pm
27+
<br/>
28+
29+
<b>Capacity: </b> 8-20 people
30+
<br/>
31+
32+
<br/>
33+
<b>Location: </b> 441 4th Str., NW, Suite 850S, <br/>Washington, DC 20001<br/>
34+
35+
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=441+4th+St+NW,+Washington,+DC+20001&amp;sll=37.0625,-95.677068&amp;sspn=62.057085,128.583984&amp;ie=UTF8&amp;hq=&amp;hnear=441+4th+St+NW,+Washington+D.C.,+District+of+Columbia,+20001&amp;ll=38.895442,-77.015877&amp;spn=0.02004,0.025749&amp;z=14&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=441+4th+St+NW,+Washington,+DC+20001&amp;sll=37.0625,-95.677068&amp;sspn=62.057085,128.583984&amp;ie=UTF8&amp;hq=&amp;hnear=441+4th+St+NW,+Washington+D.C.,+District+of+Columbia,+20001&amp;ll=38.895442,-77.015877&amp;spn=0.02004,0.025749&amp;z=14" style="color:#0000FF;text-align:left">View Larger Map</a></small>
36+
37+
<br/>
38+
39+
<p>
40+
<a href="/">Home</a>
41+
</p>
42+
43+
44+
</body>
45+
</html>

static/css/default.css

-20
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,3 @@ body {
22
font: 100% Tahoma, Arial, sans-serif;
33
}
44

5-
.section, h1 {
6-
display: block;
7-
background-color: #c3262d;
8-
padding: 5px;
9-
color: #FFF;
10-
font-size: large;
11-
font-weight: bold;
12-
}
13-
14-
p, li {
15-
font-size: small;
16-
padding-left: 0px;
17-
}
18-
19-
ul
20-
{
21-
list-style-type:disc;
22-
padding: 0px;
23-
margin: 0px;
24-
}

static/slider2.xml

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<Module>
3+
<ModulePrefs title="OCTO Volunteers!" />
4+
<Content type="html">
5+
<![CDATA[
6+
<script type="text/javascript" src="http://cssglobe.com/lab/easyslider1.5/js/jquery.js"></script>
7+
<script type="text/javascript" src="http://cssglobe.com/lab/easyslider1.5/js/easySlider1.5.js"></script>
8+
<script type="text/javascript">
9+
$(document).ready(function(){
10+
$("#slider").easySlider({
11+
auto: true,
12+
continuous: true
13+
});
14+
});
15+
</script>
16+
<style type="text/css">
17+
18+
body {
19+
background:#fff url(images/bg_body.gif) repeat-x;
20+
font:80% Trebuchet MS, Arial, Helvetica, Sans-Serif;
21+
color:#333;
22+
line-height:180%;
23+
margin:0;
24+
padding:0;
25+
text-align:center;
26+
}
27+
h1{
28+
font-size:180%;
29+
font-weight:normal;
30+
margin:0;
31+
padding:20px;
32+
}
33+
h2{
34+
font-size:160%;
35+
font-weight:normal;
36+
}
37+
h3{
38+
font-size:140%;
39+
font-weight:normal;
40+
}
41+
img{border:none;}
42+
pre{
43+
display:block;
44+
font:12px "Courier New", Courier, monospace;
45+
padding:10px;
46+
border:1px solid #bae2f0;
47+
background:#e3f4f9;
48+
margin:.5em 0;
49+
width:674px;
50+
}
51+
52+
/* image replacement */
53+
.graphic, #prevBtn, #nextBtn{
54+
margin:0;
55+
padding:0;
56+
display:block;
57+
overflow:hidden;
58+
text-indent:-8000px;
59+
}
60+
/* // image replacement */
61+
62+
63+
#container{
64+
margin:0 auto;
65+
position:relative;
66+
text-align:left;
67+
width:696px;
68+
background:#fff;
69+
margin-bottom:2em;
70+
}
71+
#header{
72+
height:144px;
73+
background:#5DC9E1;
74+
color:#fff;
75+
}
76+
#content{
77+
position:relative;
78+
}
79+
80+
/* Easy Slider */
81+
82+
#slider{}
83+
#slider ul, #slider li{
84+
margin:0;
85+
padding:0;
86+
list-style:none;
87+
}
88+
#slider li{
89+
/*
90+
define width and height of list item (slide)
91+
entire slider area will adjust according to the parameters provided here
92+
*/
93+
width:696px;
94+
height:241px;
95+
overflow:hidden;
96+
}
97+
#prevBtn, #nextBtn{
98+
display:block;
99+
width:30px;
100+
height:77px;
101+
position:absolute;
102+
left:-30px;
103+
top:71px;
104+
}
105+
#nextBtn{
106+
left:696px;
107+
}
108+
#prevBtn a, #nextBtn a{
109+
display:block;
110+
width:30px;
111+
height:77px;
112+
background:url(images/btn_prev.gif) no-repeat 0 0;
113+
}
114+
#nextBtn a{
115+
background:url(images/btn_next.gif) no-repeat 0 0;
116+
}
117+
118+
/* // Easy Slider */
119+
120+
</style>
121+
122+
123+
124+
<div id="slider">
125+
<ul>
126+
<li><a href="http://templatica.com/preview/30"><img src="http://cssglobe.com/lab/easyslider1.5/images/01.jpg" alt="Css Template Preview" /></a></li>
127+
<li><a href="http://templatica.com/preview/7"><img src="http://cssglobe.com/lab/easyslider1.5/images/02.jpg" alt="Css Template Preview" /></a></li>
128+
<li><a href="http://templatica.com/preview/25"><img src="http://cssglobe.com/lab/easyslider1.5/images/03.jpg" alt="Css Template Preview" /></a></li>
129+
<li><a href="http://templatica.com/preview/26"><img src="http://cssglobe.com/lab/easyslider1.5/images/04.jpg" alt="Css Template Preview" /></a></li>
130+
<li><a href="http://templatica.com/preview/27"><img src="http://cssglobe.com/lab/easyslider1.5/images/05.jpg" alt="Css Template Preview" /></a></li>
131+
</ul>
132+
</div>
133+
134+
]]>
135+
</Content>
136+
</Module>

whoosh/__init__.pyc

235 Bytes
Binary file not shown.

whoosh/analysis.pyc

28.7 KB
Binary file not shown.

whoosh/classify.pyc

6.15 KB
Binary file not shown.

whoosh/fields.pyc

39.1 KB
Binary file not shown.

whoosh/generalcounter.pyc

3.11 KB
Binary file not shown.

whoosh/index.pyc

32.4 KB
Binary file not shown.

whoosh/lang/__init__.pyc

154 Bytes
Binary file not shown.

whoosh/lang/morph_en.pyc

40.7 KB
Binary file not shown.

whoosh/lang/porter.pyc

13 KB
Binary file not shown.

whoosh/postpool.pyc

7.15 KB
Binary file not shown.

whoosh/qparser.pyc

20.3 KB
Binary file not shown.

whoosh/query.pyc

41.1 KB
Binary file not shown.

whoosh/reading.pyc

26.3 KB
Binary file not shown.

whoosh/scoring.pyc

14.9 KB
Binary file not shown.

whoosh/searching.pyc

17.1 KB
Binary file not shown.

whoosh/store.pyc

16.5 KB
Binary file not shown.

whoosh/structfile.pyc

17.8 KB
Binary file not shown.

whoosh/support/__init__.pyc

157 Bytes
Binary file not shown.

whoosh/support/bitvector.pyc

5.75 KB
Binary file not shown.

whoosh/support/pyparsing.pyc

152 KB
Binary file not shown.

whoosh/tables.pyc

19.9 KB
Binary file not shown.

whoosh/util.pyc

6.8 KB
Binary file not shown.

whoosh/writing.pyc

19 KB
Binary file not shown.

0 commit comments

Comments
 (0)