2016-01-29 22:14:35 +00:00
|
|
|
from project.common.views import CustomTemplate, MarkdownView
|
2016-01-26 19:10:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
class IndexView(CustomTemplate):
|
|
|
|
template_name = 'robotics/index.html'
|
2016-01-29 23:07:12 +00:00
|
|
|
html_title = 'Student Robotics'
|
2016-01-26 19:10:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 2015
|
|
|
|
class Index2015View(CustomTemplate):
|
|
|
|
template_name = 'robotics/2015-index.html'
|
2016-01-29 23:07:12 +00:00
|
|
|
html_title = 'Student Robotics 2015'
|
2016-01-26 19:10:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Robot2015View(CustomTemplate):
|
|
|
|
template_name = 'robotics/2015-robot.html'
|
2016-01-29 23:07:12 +00:00
|
|
|
html_title = 'The Robot | SR2015'
|
2016-01-26 19:10:34 +00:00
|
|
|
|
|
|
|
|
2016-01-29 22:14:35 +00:00
|
|
|
class Code2015View(MarkdownView):
|
|
|
|
markdown = 'robotics/2015-code.md'
|
|
|
|
|
|
|
|
|
2016-01-26 19:10:34 +00:00
|
|
|
# 2014
|
|
|
|
class Index2014View(CustomTemplate):
|
|
|
|
template_name = 'robotics/2014-index.html'
|
2016-01-29 23:07:12 +00:00
|
|
|
html_title = 'Student Robotics 2014'
|