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
8da5087d
Commit
8da5087d
authored
Oct 11, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polished policy styles
parent
c3e2a544
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
5 deletions
+36
-5
cms/static/img/plus-icon-small.png
+0
-0
cms/static/sass/_graphics.scss
+8
-0
cms/static/sass/_subsection.scss
+24
-0
cms/templates/edit_subsection.html
+4
-5
No files found.
cms/static/img/plus-icon-small.png
0 → 100644
View file @
8da5087d
947 Bytes
cms/static/sass/_graphics.scss
View file @
8da5087d
...
@@ -139,6 +139,14 @@
...
@@ -139,6 +139,14 @@
background
:
url(../img/plus-icon.png)
no-repeat
;
background
:
url(../img/plus-icon.png)
no-repeat
;
}
}
.plus-icon-small
{
display
:
inline-block
;
width
:
6px
;
height
:
6px
;
margin-right
:
8px
;
background
:
url(../img/plus-icon-small.png)
no-repeat
center
;
}
.folder-icon
{
.folder-icon
{
display
:
inline-block
;
display
:
inline-block
;
width
:
15px
;
width
:
15px
;
...
...
cms/static/sass/_subsection.scss
View file @
8da5087d
...
@@ -20,6 +20,30 @@
...
@@ -20,6 +20,30 @@
@include
tree-view
;
@include
tree-view
;
}
}
}
}
.policy-list
{
.policy-list-name
{
margin-right
:
5px
;
}
.policy-list-value
{
margin-right
:
10px
;
}
li
{
margin-bottom
:
10px
;
}
}
.new-policy-item
{
margin
:
10px
0
;
.plus-icon-small
{
position
:
relative
;
top
:
-1px
;
vertical-align
:
middle
;
}
}
}
}
.subsection-name-input
{
.subsection-name-input
{
...
...
cms/templates/edit_subsection.html
View file @
8da5087d
...
@@ -38,11 +38,10 @@
...
@@ -38,11 +38,10 @@
<li
class=
"policy-list-element"
>
<li
class=
"policy-list-element"
>
<input
type=
"text"
class=
"policy-list-name"
name=
"${policy_name}"
value=
"${policy_name}"
disabled
size=
"15"
/>
:
<input
type=
"text"
class=
"policy-list-value"
name=
"${policy_metadata[policy_name]}"
value=
"${policy_metadata[policy_name]}"
size=
"40"
/><a
href=
"#"
class=
"delete-icon remove-policy-data"
></a>
<input
type=
"text"
class=
"policy-list-name"
name=
"${policy_name}"
value=
"${policy_name}"
disabled
size=
"15"
/>
:
<input
type=
"text"
class=
"policy-list-value"
name=
"${policy_metadata[policy_name]}"
value=
"${policy_metadata[policy_name]}"
size=
"40"
/><a
href=
"#"
class=
"delete-icon remove-policy-data"
></a>
</li>
</li>
% endfor
% endfor
<a
href=
"#"
class=
"new-policy-item add-policy-data"
>
<a
href=
"#"
class=
"new-policy-item add-policy-data"
>
<span
class=
"plus-icon-small"
></span>
New Policy Data
<span
class=
"new-policy-icon"
></span>
New Policy Data
</a>
</a>
</ol>
</ol>
</div>
</div>
</article>
</article>
...
...
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