Skip to content

Commit e34621f

Browse files
committed
Removing pyc files, adding new files
1 parent a654ec5 commit e34621f

28 files changed

+188
-0
lines changed

admin/admin.html

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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>ADMIN - 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+
14+
<form action="/search" method="get">
15+
<input name="query" type="text" value=""><input type="submit" value="Search">
16+
</form>
17+
<br/>
18+
<br/>
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>
21+
</center>
22+
23+
<p>
24+
<a href="/">Home</a>
25+
</p>
26+
27+
</body>
28+
</html>

admin/admin.py

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
import os
2+
3+
import logging
4+
import wsgiref.handlers
5+
from google.appengine.ext import webapp
6+
from google.appengine.ext.webapp import template
7+
8+
class AdminHandler(webapp.RequestHandler):
9+
def get(self):
10+
template_values = {}
11+
path = os.path.join(os.path.dirname(__file__), 'admin.html')
12+
self.response.out.write(template.render(path, template_values))
13+
14+
class AdminCourseHandler(webapp.RequestHandler):
15+
def get(self):
16+
c = Course.gql("WHERE course_id = :1", self.request.get('course_id'))
17+
template_values = {'course_id':c.course_id,
18+
'name': c.name,
19+
'course_type': c.course_type,
20+
'effective_date': c.effective_date,
21+
'description': c.description,
22+
'status': c.status,
23+
'min_students': c.min_students,
24+
'max_students': c.max_students,
25+
'duration': c.duration,
26+
'education_units': c.education_units,
27+
'mobile_video_url': c.mobile_video_url,
28+
'web_video_url': c.web_video_url,
29+
}
30+
path = os.path.join(os.path.dirname(__file__), 'admin/admin_course.html')
31+
self.response.out.write(template.render(path, template_values))
32+
33+
34+
class AdminSessionHandler(webapp.RequestHandler):
35+
def get(self):
36+
s = Session.gql("WHERE session_number = :1", self.request.get('session_number'))
37+
template_values = {'session_number': s.session_number,
38+
'start_date': s.start_date,
39+
'end_date': s.end_date,
40+
'start_time': s.start_time,
41+
'end_time': s.end_time,
42+
'min_students': s.min_students,
43+
'max_students': s.max_students,
44+
'duration': s.duration,
45+
'facility': s.facility,
46+
'address': s.address,
47+
'address2': s.address2,
48+
'city': s.city,
49+
'state': s.state,
50+
'course_id': s.course.course_id,
51+
}
52+
path = os.path.join(os.path.dirname(__file__), 'admin/admin_session.html')
53+
self.response.out.write(template.render(path, template_values))
54+
55+
56+
def main():
57+
application = webapp.WSGIApplication(
58+
[('/admin', AdminHandler),
59+
('/admin/course', AdminCourseHandler),
60+
('/admin/session', AdminSessionHandler),
61+
],
62+
debug=True)
63+
wsgiref.handlers.CGIHandler().run(application)
64+
65+
66+
if __name__ == '__main__':
67+
main()

admin/admin_course.html

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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>ADMIN - 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+
17+
<h1>MS Word 101</h1>
18+
6 hours (1 six-hour day–0.6 CEUs)
19+
<br/>
20+
<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.
22+
<br/>
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.
26+
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/>
41+
42+
<p>
43+
<a href="/">Home</a>
44+
</p>
45+
46+
47+
</body>
48+
</html>

admin/admin_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>ADMIN - 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>

models.pyc

-1.67 KB
Binary file not shown.

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)