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
8338031f
Commit
8338031f
authored
Jun 13, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to mako templates
parent
a333612c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
44 deletions
+44
-44
cms/templates/base.html
+12
-12
cms/templates/index.html
+11
-11
cms/templates/widgets/video-box-unused.html
+6
-6
cms/templates/widgets/video-box.html
+5
-5
cms/templates/widgets/video-edit.html
+4
-4
cms/templates/widgets/week-edit.html
+3
-3
cms/templates/widgets/week-new.html
+3
-3
No files found.
cms/templates/base.html
View file @
8338031f
...
...
@@ -4,26 +4,26 @@
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<link
rel=
"stylesheet"
href=
"
{{ STATIC_URL }
}/css/base-style.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{{ STATIC_URL }
}/js/markitup/skins/simple/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
{{ STATIC_URL }
}/js/markitup/sets/wiki/style.css"
/>
<title>
{% block title %}{% endblock %}
</title>
<link
rel=
"stylesheet"
href=
"
${ STATIC_URL
}/css/base-style.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${ STATIC_URL
}/js/markitup/skins/simple/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
${ STATIC_URL
}/js/markitup/sets/wiki/style.css"
/>
<title>
<
%
block
name=
"title"
></
%
block>
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
>
</head>
<body>
{% include "widgets/header.html"%}
<
%
include
file=
"widgets/header.html"
/>
{% block content %}{% endblock %}
<
%
block
name=
"content"
></
%
block>
<script
src=
"//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"
{{ STATIC_URL }
}/js/markitup/jquery.markitup.js"
></script>
<script
type=
"text/javascript"
src=
"
{{ STATIC_URL }
}/js/markitup/sets/wiki/set.js"
></script>
<script
src=
"
{{ STATIC_URL }
}/js/main.js"
></script>
<script
src=
"
{{ STATIC_URL }
}/js/jquery.inlineedit.js"
></script>
<script
src=
"
{{ STATIC_URL }
}/js/jquery.leanModal.min.js"
></script>
<script
src=
"
{{ STATIC_URL }
}/js/jquery.tablednd.js"
></script>
<script
type=
"text/javascript"
src=
"
${ STATIC_URL
}/js/markitup/jquery.markitup.js"
></script>
<script
type=
"text/javascript"
src=
"
${ STATIC_URL
}/js/markitup/sets/wiki/set.js"
></script>
<script
src=
"
${ STATIC_URL
}/js/main.js"
></script>
<script
src=
"
${ STATIC_URL
}/js/jquery.inlineedit.js"
></script>
<script
src=
"
${ STATIC_URL
}/js/jquery.leanModal.min.js"
></script>
<script
src=
"
${ STATIC_URL
}/js/jquery.tablednd.js"
></script>
</body>
</html>
...
...
cms/templates/index.html
View file @
8338031f
{% extends "base.html" %}
{% block title %}Course Manager{% endblock %}
<
%
inherit
file=
"base.html"
/>
<
%
block
name=
"title"
>
Course Manager
</
%
block>
{% block content %}
<
%
block
name=
"content"
>
<section
class=
"main-container"
>
{% include "widgets/navigation.html"%}
<
%
include
file=
"widgets/navigation.html"
/>
<section
class=
"main-content"
>
{% include "widgets/week-edit.html"%}
{% include "widgets/week-new.html"%}
{% include "widgets/video-edit.html"%}
{% include "widgets/video-new.html"%}
{% include "widgets/problem-edit.html"%}
{% include "widgets/problem-new.html"%}
<
%
include
file=
"widgets/week-edit.html"
/>
<
%
include
file=
"widgets/week-new.html"
/>
<
%
include
file=
"widgets/video-edit.html"
/>
<
%
include
file=
"widgets/video-new.html"
/>
<
%
include
file=
"widgets/problem-edit.html"
/>
<
%
include
file=
"widgets/problem-new.html"
/>
</section>
</section>
{% endblock %}
</
%
block>
cms/templates/widgets/video-box-unused.html
View file @
8338031f
...
...
@@ -9,16 +9,16 @@
Speed
<li
class=
"speed"
>
0.75x
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
class=
"speed"
>
Normal
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
class=
"speed"
>
1.25x
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
class=
"speed"
>
1.5x
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
style=
"background: #eee;"
><a
href=
"#upload"
rel=
"leanModal"
class=
"new-upload"
>
+
</a></li>
</ul>
...
...
@@ -31,8 +31,8 @@
</p>
</div>
<div
class=
"caption-box"
>
{% include "widgets/captions.html" %}
{% include "widgets/save-captions.html" %}
<
%
include
file=
"captions.html"
/>
<
%
include
file=
"save-captions.html"
/>
</div>
</li>
cms/templates/widgets/video-box.html
View file @
8338031f
...
...
@@ -9,16 +9,16 @@
Speed
<li
class=
"speed"
>
0.75x
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
class=
"speed"
>
Normal
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
class=
"speed"
>
1.25x
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
class=
"speed"
>
1.5x
{% include "widgets/speed-tooltip.html" %}
<
%
include
file=
"speed-tooltip.html"
/>
</li>
<li
style=
"background: #eee;"
><a
href=
"#upload"
rel=
"leanModal"
class=
"new-upload"
>
+
</a></li>
</ul>
...
...
@@ -30,6 +30,6 @@
</p>
</div>
<div
style=
"margin-top: 30px;"
>
{% include "widgets/captions.html" %}
<
%
include
file=
"captions.html"
/>
</div>
</li>
cms/templates/widgets/video-edit.html
View file @
8338031f
...
...
@@ -71,7 +71,7 @@
<section
class=
"used-videos"
style=
"overflow: visible;"
>
<ul
id=
"used"
>
<div
class=
"title"
><h4>
Video clip in use
</h4></div>
{% include "widgets/video-box.html" %}
<
%
include
file=
"video-box.html"
/>
</ul>
<p
class=
"no-video"
>
No video clip used. Select one from the list below,
<a>
upload
</a>
a new one or
<a>
import
</a>
an already uploaded video.
</p>
</section>
...
...
@@ -84,7 +84,7 @@
<div
class=
"step no-title"
>
<section
class=
"meta unused-videos"
style=
"overflow: visible;"
>
<ul
id=
"unused"
>
{% include "widgets/video-box-unused.html" %}
<
%
include
file=
"video-box-unused.html"
/>
</ul>
</section>
</div>
...
...
@@ -129,7 +129,7 @@
<aside
id=
"video-selector"
class=
"hidden"
>
<input
type=
"text"
placeholder=
"Search video files..."
/>
<ul
class=
"raw-videos"
>
{% include "widgets/raw-videos.html" %}
<
%
include
file=
"raw-videos.html"
/>
</ul>
</aside>
...
...
@@ -140,7 +140,7 @@
</div>
<div
id=
"view"
>
<img
src=
"
{{ STATIC_URL }
}/img/video.jpg"
/>
<img
src=
"
${ STATIC_URL
}/img/video.jpg"
/>
</div>
<div
id=
"upload"
>
...
...
cms/templates/widgets/week-edit.html
View file @
8338031f
{% block content %}
<
%
block
name=
"content"
>
<section
class=
"week-edit"
>
<header>
<h1
class=
"editable"
>
Week 3
</h1>
...
...
@@ -27,7 +27,7 @@
<li>
Problem title 13
</li>
<li>
Problem title 14
</li>
<li>
Video 3
</li>
{% include "widgets/new-module.html"%}
<
%
include
file=
"new-module.html"
/>
</ul>
</section>
...
...
@@ -80,4 +80,4 @@
</section>
</section>
</section>
{% endblock %}
</
%
block>
cms/templates/widgets/week-new.html
View file @
8338031f
{% block content %}
<
%
block
name=
"content"
>
<section
class=
"week-new"
>
<header>
<h1>
Week 6
</h1>
...
...
@@ -18,7 +18,7 @@
<h2>
Scratchpad
</h2>
</header>
<ul>
{% include "widgets/new-module.html"%}
<
%
include
file=
"new-module.html"
/>
</ul>
</section>
</section>
...
...
@@ -59,4 +59,4 @@
</section>
</section>
</section>
{% endblock %}
</
%
block>
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