Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e85db614
Commit
e85db614
authored
Aug 14, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix simple navigation and JS includes on askbot
parent
9687dc83
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
22 deletions
+28
-22
lms/askbot/skins/mitx/templates/base.html
+1
-1
lms/askbot/skins/mitx/templates/meta/bottom_scripts.html
+7
-1
lms/askbot/skins/mitx/templates/navigation.jinja.html
+7
-7
lms/askbot/skins/mitx/templates/widgets/footer.html
+13
-13
No files found.
lms/askbot/skins/mitx/templates/base.html
View file @
e85db614
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
{% spaceless %}
{% spaceless %}
<head>
<head>
<title>
{% block title %}{% endblock %}
- MITX 6.002
</title>
<title>
{% block title %}{% endblock %}
</title>
{% include "meta/html_head_meta.html" %}
{% include "meta/html_head_meta.html" %}
<link
rel=
"shortcut icon"
href=
"{{ settings.SITE_FAVICON|media }}"
/>
<link
rel=
"shortcut icon"
href=
"{{ settings.SITE_FAVICON|media }}"
/>
{% include "meta/html_head_stylesheets.html" %}
{% include "meta/html_head_stylesheets.html" %}
...
...
lms/askbot/skins/mitx/templates/meta/bottom_scripts.html
View file @
e85db614
...
@@ -33,8 +33,14 @@
...
@@ -33,8 +33,14 @@
<!-- Quick fix -- we should reference askbot jquery properly -->
<!-- Quick fix -- we should reference askbot jquery properly -->
<script
<script
type=
"text/javascript"
type=
"text/javascript"
src=
"{{
settings.STATIC_URL }}/js/askbot_jquery.min.js
"
src=
"{{
'/js/jquery-1.4.3.js'|media}}
"
></script>
></script>
{#
<script
type=
"text/javascript"
src=
"{{ settings.STATIC_ROOT }}/js/askbot_jquery.min.js"
></script>
#}
<!-- History.js -->
<!-- History.js -->
<script
type=
'text/javascript'
src=
"{{"
/
js
/
jquery
.
history
.
js
"|
media
}}"
></script>
<script
type=
'text/javascript'
src=
"{{"
/
js
/
jquery
.
history
.
js
"|
media
}}"
></script>
<script
type=
'text/javascript'
src=
"{{"
/
js
/
utils
.
js
"|
media
}}"
></script>
<script
type=
'text/javascript'
src=
"{{"
/
js
/
utils
.
js
"|
media
}}"
></script>
...
...
lms/askbot/skins/mitx/templates/navigation.jinja.html
View file @
e85db614
<header
class=
"global"
aria-label=
"Global Navigation"
>
<header
class=
"global"
aria-label=
"Global Navigation"
>
<nav>
<nav>
<h1
class=
"logo"
><a
href=
"
${reverse('root')
}"
></a></h1>
<h1
class=
"logo"
><a
href=
"
{% url root %
}"
></a></h1>
<ol
class=
"left"
>
<ol
class=
"left"
>
<li
class=
"primary"
>
<li
class=
"primary"
>
<a
href=
"
${reverse('courses')
}"
>
Find Courses
</a>
<a
href=
"
{% url courses %
}"
>
Find Courses
</a>
</li>
</li>
</ol>
</ol>
<ol
class=
"user"
>
<ol
class=
"user"
>
<li
class=
"primary"
>
<li
class=
"primary"
>
<a
href=
"
${reverse('dashboard')
}"
class=
"user-link"
>
<a
href=
"
{% url dashboard %
}"
class=
"user-link"
>
<span
class=
"avatar"
></span>
<span
class=
"avatar"
></span>
${user.username
}
{{user.username}
}
</a>
</a>
</li>
</li>
<li
class=
"primary"
>
<li
class=
"primary"
>
<a
href=
"#"
class=
"dropdown"
>
&
#9662
</a>
<a
href=
"#"
class=
"dropdown"
>
&
#9662
</a>
<ul
class=
"dropdown-menu"
>
<ul
class=
"dropdown-menu"
>
##
<li><a
href=
"#"
>
Account Settings
</a></li>
{#
<li><a
href=
"#"
>
Account Settings
</a></li>
#}
<li><a
href=
"
${reverse('help_edx')
}"
>
Help
</a></li>
<li><a
href=
"
{% url help_edx %
}"
>
Help
</a></li>
<li><a
href=
"
${reverse('logout')
}"
>
Log Out
</a></li>
<li><a
href=
"
{% url logout %
}"
>
Log Out
</a></li>
</ul>
</ul>
</li>
</li>
</ol>
</ol>
...
...
lms/askbot/skins/mitx/templates/widgets/footer.html
View file @
e85db614
...
@@ -3,19 +3,19 @@
...
@@ -3,19 +3,19 @@
<nav>
<nav>
<section
class=
"top"
>
<section
class=
"top"
>
<section
class=
"primary"
>
<section
class=
"primary"
>
<a
href=
"
${reverse('root')
}"
class=
"logo"
></a>
<a
href=
"
{% url root %
}"
class=
"logo"
></a>
<a
href=
"
${reverse('courses')
}"
>
Find Courses
</a>
<a
href=
"
{% url courses %
}"
>
Find Courses
</a>
<a
href=
"
${reverse('about_edx')
}"
>
About
</a>
<a
href=
"
{% url about_edx %
}"
>
About
</a>
<a
href=
"http://edxonline.tumblr.com/"
>
Blog
</a>
<a
href=
"http://edxonline.tumblr.com/"
>
Blog
</a>
<a
href=
"
${reverse('jobs')
}"
>
Jobs
</a>
<a
href=
"
{% url jobs %
}"
>
Jobs
</a>
<a
href=
"
${reverse('contact')
}"
>
Contact
</a>
<a
href=
"
{% url contact %
}"
>
Contact
</a>
</section>
</section>
<section
class=
"social"
>
<section
class=
"social"
>
<a
href=
"http://youtube.com/user/edxonline"
><img
src=
"${static.url('images/social/youtube-sharing.png')}"
/></a>
<a
href=
"http://youtube.com/user/edxonline"
><img
src=
'{{"images/social/youtube-sharing.png"|media}}'
/></a>
<a
href=
"https://plus.google.com/108235383044095082735"
><img
src=
"
${static.url('images/social/google-plus-sharing.png')
}"
/></a>
<a
href=
"https://plus.google.com/108235383044095082735"
><img
src=
"
{{('images/social/google-plus-sharing.png'|media)}
}"
/></a>
<a
href=
"http://www.facebook.com/EdxOnline"
><img
src=
"
${static.url('images/social/facebook-sharing.png')
}"
/></a>
<a
href=
"http://www.facebook.com/EdxOnline"
><img
src=
"
{{'images/social/facebook-sharing.png'|media}
}"
/></a>
<a
href=
"https://twitter.com/edXOnline"
><img
src=
"
${static.url('images/social/twitter-sharing.png')
}"
/></a>
<a
href=
"https://twitter.com/edXOnline"
><img
src=
"
{{'images/social/twitter-sharing.png'|media}
}"
/></a>
</section>
</section>
</section>
</section>
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
</section>
</section>
<section
class=
"secondary"
>
<section
class=
"secondary"
>
<a
href=
"
${reverse('tos')
}"
>
Terms of Service
</a>
<a
href=
"
{% url tos %
}"
>
Terms of Service
</a>
<a
href=
"
${reverse('privacy_edx')
}"
>
Privacy Policy
</a>
<a
href=
"
{% url privacy_edx %
}"
>
Privacy Policy
</a>
<a
href=
"
${reverse('honor')
}"
>
Honor Code
</a>
<a
href=
"
{% url honor %
}"
>
Honor Code
</a>
<a
href=
"
${reverse('help_edx')
}"
>
Help
</a>
<a
href=
"
{% url help_edx %
}"
>
Help
</a>
</section>
</section>
</section>
</section>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment