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
2f55583e
Commit
2f55583e
authored
Dec 12, 2012
by
Christina Roberts
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature/cale/cms-master' into feature/christina/misc
parents
c87eb08b
fbc0dfae
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
15 deletions
+46
-15
cms/static/sass/_base.scss
+29
-0
cms/templates/asset_index.html
+2
-2
cms/templates/base.html
+1
-0
cms/templates/component.html
+2
-1
cms/templates/editable_preview.html
+1
-1
cms/templates/overview.html
+11
-11
No files found.
cms/static/sass/_base.scss
View file @
2f55583e
...
...
@@ -367,4 +367,32 @@ body.show-wip {
.delete-icon
{
margin-right
:
4px
;
}
}
.tooltip
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
99999
;
padding
:
0
10px
;
border-radius
:
3px
;
background
:
rgba
(
0
,
0
,
0
,
0
.85
);
font-size
:
11px
;
font-weight
:
normal
;
line-height
:
26px
;
color
:
#fff
;
pointer-events
:
none
;
opacity
:
0
;
@include
transition
(
opacity
0
.1s
ease-out
);
&
:after
{
content
:
'▾'
;
display
:
block
;
position
:
absolute
;
bottom
:
-14px
;
left
:
50%
;
margin-left
:
-7px
;
font-size
:
20px
;
color
:
rgba
(
0
,
0
,
0
,
0
.85
);
}
}
\ No newline at end of file
cms/templates/asset_index.html
View file @
2f55583e
...
...
@@ -21,7 +21,7 @@
<
/div
>
<
/td
>
<
td
class
=
"name-col"
>
<
a
href
=
"{{url}}"
class
=
"filename"
>
{{
displayname
}}
<
/a
>
<
a
data
-
tooltip
=
"Open/download this file"
href
=
"{{url}}"
class
=
"filename"
>
{{
displayname
}}
<
/a
>
<
div
class
=
"embeddable-xml"
><
/div
>
<
/td
>
<
td
class
=
"date-col"
>
...
...
@@ -61,7 +61,7 @@
</div>
</td>
<td
class=
"name-col"
>
<a
href=
"${asset['url']}"
class=
"filename"
>
${asset['displayname']}
</a>
<a
data-tooltip=
"Open/download this file"
href=
"${asset['url']}"
class=
"filename"
>
${asset['displayname']}
</a>
<div
class=
"embeddable-xml"
></div>
</td>
<td
class=
"date-col"
>
...
...
cms/templates/base.html
View file @
2f55583e
...
...
@@ -33,6 +33,7 @@
<script
src=
"${static.url('js/vendor/jquery.leanModal.min.js')}"
></script>
<script
src=
"${static.url('js/vendor/jquery.tablednd.js')}"
></script>
<script
src=
"${static.url('js/vendor/jquery.form.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('coffee/src/discussion/tooltip_manager.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/vendor/CodeMirror/htmlmixed.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/vendor/CodeMirror/css.js')}"
></script>
<script
type=
"text/javascript"
>
...
...
cms/templates/component.html
View file @
2f55583e
...
...
@@ -9,5 +9,5 @@
<a
href=
"#"
class=
"edit-button standard"
><span
class=
"edit-icon"
></span>
Edit
</a>
<a
href=
"#"
class=
"delete-button standard"
><span
class=
"delete-icon"
></span>
Delete
</a>
</div>
<a
href=
"#"
class=
"drag-handle"
></a>
<a
data-tooltip=
"Drag to reorder"
href=
"#"
class=
"drag-handle"
></a>
${preview}
\ No newline at end of file
cms/templates/editable_preview.html
View file @
2f55583e
...
...
@@ -4,7 +4,7 @@ ${content}
<a
href=
"#"
class=
"edit-button"
><span
class=
"edit-icon white"
></span>
Edit
</a>
<a
href=
"#"
class=
"delete-button"
><span
class=
"delete-icon white"
></span>
Delete
</a>
</div>
<a
href=
"#"
class=
"drag-handle"
></a>
<a
data-tooltip=
"Drag to reorder"
href=
"#"
class=
"drag-handle"
></a>
<div
class=
"component-editor"
>
<h5>
Edit Video Component
</h5>
<textarea
class=
"component-source"
><video
youtube=
"1.50:q1xkuPsOY6Q,1.25:9WOY2dHz5i4,1.0:4rpg8Bq6hb4,0.75:KLim9Xkp7IY"
/></textarea>
...
...
cms/templates/overview.html
View file @
2f55583e
...
...
@@ -22,7 +22,7 @@
<script
type=
"text/template"
id=
"new-section-template"
>
<
section
class
=
"courseware-section branch new-section"
>
<
header
>
<
a
href
=
"#"
class
=
"expand-collapse-icon collapse"
><
/a
>
<
a
href
=
"#"
data
-
tooltip
=
"Collapse/expand this section"
class
=
"expand-collapse-icon collapse"
><
/a
>
<
div
class
=
"item-details"
>
<
h3
class
=
"section-name"
>
<
form
class
=
"section-name-form"
>
...
...
@@ -38,7 +38,7 @@
<script
type=
"text/template"
id=
"blank-slate-template"
>
<
section
class
=
"courseware-section branch new-section"
>
<
header
>
<
a
href
=
"#"
class
=
"expand-collapse-icon collapse"
><
/a
>
<
a
href
=
"#"
data
-
tooltip
=
"Collapse/expand this section"
class
=
"expand-collapse-icon collapse"
><
/a
>
<
div
class
=
"item-details"
>
<
h3
class
=
"section-name"
>
<
span
class
=
"section-name-span"
>
Click
here
to
set
the
section
name
<
/span
>
...
...
@@ -49,8 +49,8 @@
<
/form
>
<
/div
>
<
div
class
=
"item-actions"
>
<
a
href
=
"#"
class
=
"delete-button delete-section-button"
><
span
class
=
"delete-icon"
><
/span></
a
>
<
a
href
=
"#"
class
=
"drag-handle"
><
/a
>
<
a
href
=
"#"
data
-
tooltip
=
"Delete this section"
class
=
"delete-button delete-section-button"
><
span
class
=
"delete-icon"
><
/span></
a
>
<
a
href
=
"#"
data
-
tooltip
=
"Drag to re-order"
class
=
"drag-handle"
><
/a
>
<
/div
>
<
/header
>
<
/section
>
...
...
@@ -105,10 +105,10 @@
% for section in sections:
<section
class=
"courseware-section branch"
data-id=
"${section.location}"
>
<header>
<a
href=
"#"
class=
"expand-collapse-icon collapse"
></a>
<a
href=
"#"
data-tooltip=
"Collapse/expand this section"
class=
"expand-collapse-icon collapse"
></a>
<div
class=
"item-details"
data-id=
"${section.location}"
>
<h3
class=
"section-name"
>
<span
class=
"section-name-span"
>
${section.display_name}
</span>
<span
data-tooltip=
"Edit this section's name"
class=
"section-name-span"
>
${section.display_name}
</span>
<form
class=
"section-name-edit"
style=
"display:none"
>
<input
type=
"text"
value=
"${section.display_name}"
class=
"edit-section-name"
autocomplete=
"off"
/>
<input
type=
"submit"
class=
"save-button edit-section-name-save"
value=
"Save"
/>
...
...
@@ -131,8 +131,8 @@
</div>
</div>
<div
class=
"item-actions"
>
<a
href=
"#"
class=
"delete-button delete-section-button"
><span
class=
"delete-icon"
></span></a>
<a
href=
"#"
class=
"drag-handle"
></a>
<a
href=
"#"
data-tooltip=
"Delete this section"
class=
"delete-button delete-section-button"
><span
class=
"delete-icon"
></span></a>
<a
href=
"#"
data-tooltip=
"Drag to reorder"
class=
"drag-handle"
></a>
</div>
</header>
<div
class=
"subsection-list"
>
...
...
@@ -146,15 +146,15 @@
<li
class=
"branch collapsed"
data-id=
"${subsection.location}"
>
<div
class=
"section-item"
>
<div>
<a
href=
"#"
class=
"expand-collapse-icon expand"
></a>
<a
href=
"#"
data-tooltip=
"Collapse/expand this subsection"
class=
"expand-collapse-icon expand"
></a>
<a
href=
"${reverse('edit_subsection', args=[subsection.location])}"
>
<span
class=
"folder-icon"
></span>
<span
class=
"subsection-name"
><span
class=
"subsection-name-value"
>
${subsection.display_name}
</span></span>
</a>
</div>
<div
class=
"item-actions"
>
<a
href=
"#"
class=
"delete-button delete-subsection-button"
><span
class=
"delete-icon"
></span></a>
<a
href=
"#"
class=
"drag-handle"
></a>
<a
href=
"#"
data-tooltip=
"Delete this subsection"
class=
"delete-button delete-subsection-button"
><span
class=
"delete-icon"
></span></a>
<a
href=
"#"
data-tooltip=
"Drag to reorder"
class=
"drag-handle"
></a>
</div>
</div>
${units.enum_units(subsection)}
...
...
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