Commit 0a6d32f4 by Giulio Gratta

adding about link

parent 3463abf6
from dev import *
THEME_NAME = "stanford"
enable_theme(THEME_NAME)
\ No newline at end of file
...@@ -708,14 +708,14 @@ INSTALLED_APPS = ( ...@@ -708,14 +708,14 @@ INSTALLED_APPS = (
EDXMKTG_COOKIE_NAME = 'edxloggedin' EDXMKTG_COOKIE_NAME = 'edxloggedin'
MKTG_URLS = {} MKTG_URLS = {}
MKTG_URL_LINK_MAP = { MKTG_URL_LINK_MAP = {
'ABOUT': 'about_edx', #'ABOUT': 'about_edx',
'CONTACT': 'contact', #'CONTACT': 'contact',
'FAQ': 'help_edx', #'FAQ': 'help_edx',
'COURSES': 'courses', #'COURSES': 'courses',
'ROOT': 'root', #'ROOT': 'root',
'TOS': 'tos', #'TOS': 'tos',
'HONOR': 'honor', #'HONOR': 'honor',
'PRIVACY': 'privacy_edx', #'PRIVACY': 'privacy_edx',
} }
############################### THEME ################################ ############################### THEME ################################
......
from dev import *
THEME_NAME = "stanford"
enable_theme(THEME_NAME)
\ No newline at end of file
...@@ -54,6 +54,8 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -54,6 +54,8 @@ site_status_msg = get_site_status_msg(course_id)
% if user.is_authenticated(): % if user.is_authenticated():
<ol class="left nav-global authenticated"> <ol class="left nav-global authenticated">
<%block name="custom_nav_login"/>
<li class="nav-global-01"> <li class="nav-global-01">
<a href="${marketing_link('COURSES')}">Find Courses</a> <a href="${marketing_link('COURSES')}">Find Courses</a>
</li> </li>
...@@ -79,6 +81,8 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -79,6 +81,8 @@ site_status_msg = get_site_status_msg(course_id)
% else: % else:
<ol class="left nav-global"> <ol class="left nav-global">
<%block name="custom_nav_logout"/>
% if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'): % if settings.MITX_FEATURES.get('ENABLE_MKTG_SITE'):
<li class="nav-global-01"> <li class="nav-global-01">
<a href="${marketing_link('HOW_IT_WORKS')}">How it Works</a> <a href="${marketing_link('HOW_IT_WORKS')}">How it Works</a>
......
<%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/>
<%inherit file="../main.html" />
<%block name="title"><title>About edX</title></%block>
<section class="container about">
<nav>
<a href="#about" class="active">About</a>
<a href="#faq">Faq</a>
<a href="#contact">Contact</a>
</nav>
<section class="vision">
<section class="message left" id="about">
<div class="photo">
<img src="${static.url('themes/stanford/images/quad.jpg')}">
<!-- Image Copyright owned by Giulio Gratta -->
</div>
<article>
<h2>About <span class="edx">Stanford Online</span></h2>
<p>Stanford has a range of courses accessible to the public, and you can find out more about them, and about Stanford's online initiatives, at <a href="http://online.stanford.edu">online.stanford.edu</a></p>
<p>The engineering team at Stanford's office of the Vice Provost for Online Learning is running and developing on an instance of the edX platform, which will be open source on June 1. More details are in <a href="http://news.stanford.edu/news/2013/april/edx-collaborate-platform-030313.html">this press release</a>.</p>
</article>
<hr class="fade-right-hr-divider">
</section>
<section class="message left" id="faq">
<div class="photo">
<img src="${static.url('themes/stanford/images/memchu.jpg')}">
<!-- Image Copyright owned by Giulio Gratta -->
</div>
<article>
<h2>FAQs</h2>
<p><strong>Has Stanford joined the edX consortium?</strong><br />
No. We're partnering on the open source software.</p>
<p><strong>If I'm a Stanford faculty member, and I'd like to use the platform to host content for an on-campus or public course, who should I get in touch with?</strong><br />
<a href="mailto:c2g-facsupport@cs.stanford.edu">Click here to get in touch</a></p>
<p><strong>If I'm at another university, and I'd like to find out about using the open source platform, who should I get in touch with?</strong><br />
<a href="mailto:c2g-facsupport@cs.stanford.edu">Click here to get in touch</a></p>
</article>
<hr class="fade-right-hr-divider">
</section>
<section class="message left" id="contact">
<div class="photo">
<img src="${static.url('themes/stanford/images/dish.jpg')}">
<!-- Image Copyright owned by Stanford University -->
</div>
<article>
<h2>Contact Information</h2>
<p><strong>For general information email us at:</strong><br />
<a href="mailto:contact@class.stanford.edu">contact@class.stanford.edu</a></p>
<p><strong>For copyright concerns email us at:</strong><br />
<a href="mailto:copyright@class.stanford.edu">copyright@class.stanford.edu</a></p>
<p><strong>For bug reports email us at:</strong><br />
<a href="mailto:bugs@class.stanford.edu">bugs@class.stanford.edu</a></p>
<p><strong>When submitting a bug report, please include the following in the email body:</strong><br />
<script>document.write(navigator.userAgent);</script></p>
<p><strong>For suggestions email us at:</strong><br />
<a href="mailto:suggestions@class.stanford.edu">suggestions@class.stanford.edu</a></p>
<p><strong>For technical support reports email us at:</strong><br />
<a href="mailto:techsupport@class.stanford.edu">techsupport@class.stanford.edu</a></p>
<p><strong>For disability-related questions email us at:</strong><br />
<a href="mailto:accessibility@class.stanford.edu">accessibility@class.stanford.edu</a></p>
<p><strong>For questions about privacy-related issues email us at:</strong><br />
<a href="mailto:privacy@class.stanford.edu">privacy@class.stanford.edu</a></p>
</article>
<hr class="fade-right-hr-divider">
</section>
</section>
</section>
\ No newline at end of file
...@@ -82,29 +82,35 @@ urlpatterns = ('', # nopep8 ...@@ -82,29 +82,35 @@ urlpatterns = ('', # nopep8
#Semi-static views (these need to be rendered and have the login bar, but don't change) #Semi-static views (these need to be rendered and have the login bar, but don't change)
url(r'^404$', 'static_template_view.views.render', url(r'^404$', 'static_template_view.views.render',
{'template': '404.html'}, name="404"), {'template': '404.html'}, name="404"),
url(r'^about$', 'static_template_view.views.render', #url(r'^about$', 'static_template_view.views.render',
{'template': 'about.html'}, name="about_edx"), # {'template': 'about.html'}, name="about_edx"),
url(r'^jobs$', 'static_template_view.views.render', #url(r'^jobs$', 'static_template_view.views.render',
{'template': 'jobs.html'}, name="jobs"), # {'template': 'jobs.html'}, name="jobs"),
url(r'^contact$', 'static_template_view.views.render', #url(r'^contact$', 'static_template_view.views.render',
{'template': 'contact.html'}, name="contact"), # {'template': 'contact.html'}, name="contact"),
url(r'^press$', 'student.views.press', name="press"), #url(r'^press$', 'student.views.press', name="press"),
url(r'^media-kit$', 'static_template_view.views.render', #url(r'^media-kit$', 'static_template_view.views.render',
{'template': 'media-kit.html'}, name="media-kit"), # {'template': 'media-kit.html'}, name="media-kit"),
url(r'^faq$', 'static_template_view.views.render', #url(r'^faq$', 'static_template_view.views.render',
{'template': 'faq.html'}, name="faq_edx"), # {'template': 'faq.html'}, name="faq_edx"),
url(r'^help$', 'static_template_view.views.render', #url(r'^help$', 'static_template_view.views.render',
{'template': 'help.html'}, name="help_edx"), # {'template': 'help.html'}, name="help_edx"),
url(r'^tos$', 'static_template_view.views.render', #url(r'^tos$', 'static_template_view.views.render',
{'template': 'tos.html'}, name="tos"), # {'template': 'tos.html'}, name="tos"),
url(r'^privacy$', 'static_template_view.views.render', #url(r'^privacy$', 'static_template_view.views.render',
{'template': 'privacy.html'}, name="privacy_edx"), # {'template': 'privacy.html'}, name="privacy_edx"),
# TODO: (bridger) The copyright has been removed until it is updated for edX # TODO: (bridger) The copyright has been removed until it is updated for edX
# url(r'^copyright$', 'static_template_view.views.render', #url(r'^copyright$', 'static_template_view.views.render',
# {'template': 'copyright.html'}, name="copyright"), # {'template': 'copyright.html'}, name="copyright"),
url(r'^honor$', 'static_template_view.views.render', #url(r'^honor$', 'static_template_view.views.render',
{'template': 'honor.html'}, name="honor"), # {'template': 'honor.html'}, name="honor"),
### STANFORD SPECIFIC URL FILTERS ###
url(r'^about$', 'static_template_view.views.render',
{'template': 'about-stanford.html'}, name="about_edx"),
url(r'^tos$', 'static_template_view.views.render',
{'template': 'tos-stanford.html'}, name="tos"),
#Press releases #Press releases
url(r'^press/([_a-zA-Z0-9-]+)$', 'static_template_view.views.render_press_release', name='press_release'), url(r'^press/([_a-zA-Z0-9-]+)$', 'static_template_view.views.render_press_release', name='press_release'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment