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
059450c0
Commit
059450c0
authored
Jul 22, 2013
by
Brian Talbot
Committed by
Chris Dodge
Jul 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio: revises HTML and styling around new unit ID on unit view
parent
63c5cfda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletions
+25
-1
cms/static/sass/views/_unit.scss
+19
-0
cms/templates/unit.html
+6
-1
No files found.
cms/static/sass/views/_unit.scss
View file @
059450c0
...
...
@@ -747,6 +747,7 @@ body.unit {
// Unit Page Sidebar
.unit-settings
{
.window-contents
{
padding
:
$baseline
/
2
$baseline
;
}
...
...
@@ -854,6 +855,24 @@ body.unit {
}
.unit-location
{
// unit id
.wrapper-unit-id
{
.unit-id
{
.label
{
@extend
.t-title7
;
margin-bottom
:
(
$baseline
/
4
);
color
:
$gray-d1
;
}
.value
{
margin-bottom
:
0
;
}
}
}
.url
{
box-shadow
:
none
;
width
:
100%
;
...
...
cms/templates/unit.html
View file @
059450c0
...
...
@@ -171,7 +171,12 @@
<div
class=
"window unit-location"
>
<h4
class=
"header"
>
${_("Unit Location")}
</h4>
<div
class=
"window-contents"
>
<div>
${_("Unit Identifier:")}
<input
type=
"text"
class=
"url"
value=
"${unit.location.name}"
disabled
/></div>
<div
class=
"row wrapper-unit-id"
>
<p
class=
"unit-id"
>
<span
class=
"label"
>
${_("Unit Identifier:")}
</span>
<input
type=
"text"
class=
"url value"
value=
"${unit.location.name}"
disabled
/>
</p>
</div>
<ol>
<li>
<a
href=
"#"
class=
"section-item"
>
${section.display_name_with_default}
</a>
...
...
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