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
18ecd115
Commit
18ecd115
authored
Feb 08, 2013
by
Don Mitchell
Committed by
marco
Feb 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only tabify the problems submenu.
parent
62d389c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
cms/templates/unit.html
+18
-16
No files found.
cms/templates/unit.html
View file @
18ecd115
...
...
@@ -64,15 +64,17 @@
</div>
% for type, templates in sorted(component_templates.items()):
<div
class=
"new-component-templates new-component-${type}"
>
<div
class=
"tab-group tabs"
>
<ul
class=
"problem-type-tabs nav-tabs"
>
<li
class=
"current"
>
<a
class=
"link-tab"
href=
"#tab1"
>
Common Problem Types
</a>
</li>
<li>
<a
class=
"link-tab"
href=
"#tab2"
>
Advanced
</a>
</li>
</ul>
% if type == "problem":
<div
class=
"tab-group tabs"
>
<ul
class=
"problem-type-tabs nav-tabs"
>
<li
class=
"current"
>
<a
class=
"link-tab"
href=
"#tab1"
>
Common Problem Types
</a>
</li>
<li>
<a
class=
"link-tab"
href=
"#tab2"
>
Advanced
</a>
</li>
</ul>
% endif
<div
class=
"tab current"
id=
"tab1"
>
<ul
class=
"new-component-template"
>
% for name, location, has_markdown, is_empty in templates:
...
...
@@ -92,13 +94,13 @@
</li>
% endif
% endif
%endfor
</ul>
</div>
<div
class=
"tab"
id=
"tab2"
>
<ul
class=
"new-component-template
"
>
% if type == "problem":
% if type == "problem":
<div
class=
"tab"
id=
"tab2
"
>
<ul
class=
"new-component-template"
>
% for name, location, has_markdown, is_empty in templates:
% if not has_markdown:
% if is_empty:
...
...
@@ -118,10 +120,10 @@
% endif
% endif
% endfor
% endif
</ul>
</div>
</ul>
</div>
</div>
% endif
<a
href=
"#"
class=
"cancel-button"
>
Cancel
</a>
</div>
% endfor
...
...
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