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
41febaa8
Commit
41febaa8
authored
Feb 19, 2016
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11565 from edx/clytwynec/ac-234
Remove hgroup usage
parents
4bbe9a20
a2645b63
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
22 additions
and
23 deletions
+22
-23
cms/static/sass/_reset.scss
+2
-2
cms/templates/temp-course-landing.html
+3
-4
common/static/css/vendor/normalize.css
+0
-1
common/test/acceptance/pages/lms/index.py
+1
-1
lms/static/sass/base/_reset.scss
+1
-1
lms/static/sass/multicourse/_course_about.scss
+1
-1
lms/static/sass/multicourse/_courses.scss
+2
-2
lms/static/sass/multicourse/_home.scss
+3
-2
lms/static/sass/shared/_course_object.scss
+1
-1
lms/templates/courseware/course_about.html
+2
-2
lms/templates/index.html
+3
-3
themes/stanford-style/lms/templates/index.html
+3
-3
No files found.
cms/static/sass/_reset.scss
View file @
41febaa8
...
...
@@ -21,7 +21,7 @@ dl, dt, dd, ol, ul, li,
fieldset
,
form
,
label
,
legend
,
table
,
caption
,
tbody
,
tfoot
,
thead
,
tr
,
th
,
td
,
article
,
aside
,
canvas
,
details
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
menu
,
nav
,
section
,
summary
,
footer
,
header
,
menu
,
nav
,
section
,
summary
,
time
,
mark
,
audio
,
video
{
margin
:
0
;
padding
:
0
;
...
...
@@ -37,7 +37,7 @@ html,body {
}
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
menu
,
nav
,
section
{
footer
,
header
,
menu
,
nav
,
section
{
display
:
block
;
}
body
{
...
...
cms/templates/temp-course-landing.html
View file @
41febaa8
...
...
@@ -6,10 +6,10 @@
<
%
block
name=
"content"
>
<div
class=
"main-wrapper"
>
<article
class=
"class-info"
>
<
hgroup
>
<
div
class=
"heading-group"
>
<h1>
${_("Circuits and Electronics")}
</h1>
<h2>
${_("Massachusetts Institute of Technology")}
</h2>
</
hgroup
>
</
div
>
<div
class=
"log-in-form"
>
<form>
<div
class=
"column"
>
...
...
@@ -37,4 +37,4 @@
</a>
</footer>
</div>
</
%
block>
\ No newline at end of file
</
%
block>
common/static/css/vendor/normalize.css
View file @
41febaa8
...
...
@@ -15,7 +15,6 @@ figcaption,
figure
,
footer
,
header
,
hgroup
,
main
,
nav
,
section
,
...
...
common/test/acceptance/pages/lms/index.py
View file @
41febaa8
...
...
@@ -5,7 +5,7 @@ LMS index (home) page.
from
bok_choy.page_object
import
PageObject
from
.
import
BASE_URL
BANNER_SELECTOR
=
'section.home header div.outer-wrapper div.title
h
group h1'
BANNER_SELECTOR
=
'section.home header div.outer-wrapper div.title
.heading-
group h1'
INTRO_VIDEO_SELECTOR
=
'div.play-intro'
VIDEO_MODAL_SELECTOR
=
'section#video-modal.modal.home-page-video-modal.video-modal'
...
...
lms/static/sass/base/_reset.scss
View file @
41febaa8
/* HTML5 Boilerplate */
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
nav
,
section
{
display
:
block
;
}
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
nav
,
section
{
display
:
block
;
}
audio
,
canvas
,
video
{
display
:
inline-block
;
*
display
:
inline
;
*
zoom
:
1
;
}
audio
:not
([
controls
])
{
display
:
none
;
}
[
hidden
]
{
display
:
none
;
}
...
...
lms/static/sass/multicourse/_course_about.scss
View file @
41febaa8
...
...
@@ -43,7 +43,7 @@
width
:
flex-grid
(
8
)
+
flex-gutter
();
z-index
:
2
;
>
h
group
{
>
.heading-
group
{
border-bottom
:
1px
solid
$border-color-2
;
box-shadow
:
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.6
);
margin-bottom
:
$baseline
;
...
...
lms/static/sass/multicourse/_courses.scss
View file @
41febaa8
...
...
@@ -151,7 +151,7 @@ $facet-background-color: #007db8;
text-align
:
center
;
width
:
flex-grid
(
12
);
>
h
group
{
>
.heading-
group
{
background
:
$white
;
background
:
$course-header-bg
;
border
:
1px
solid
$border-color-3
;
...
...
@@ -164,7 +164,7 @@ $facet-background-color: #007db8;
&
.main-search
,
&
.university-search
{
text-align
:
center
;
h
group
{
.heading-
group
{
display
:
inline-block
;
}
...
...
lms/static/sass/multicourse/_home.scss
View file @
41febaa8
...
...
@@ -69,7 +69,7 @@ $course-search-input-height: ($button-size);
@include
shift
(
0
);
}
>
h
group
{
>
.heading-
group
{
@include
left
(
0
);
@include
box-sizing
(
border-box
);
@include
transition
(
all
0
.2s
linear
0s
);
...
...
@@ -86,7 +86,8 @@ $course-search-input-height: ($button-size);
text-transform
:
none
;
}
h2
{
p
{
@extend
h2
;
margin-bottom
:
0
;
text-transform
:
lowercase
;
font-style
:
italic
;
...
...
lms/static/sass/shared/_course_object.scss
View file @
41febaa8
...
...
@@ -113,7 +113,7 @@
}
}
h
group
{
.heading-
group
{
left
:
0px
;
padding
:
0px
10px
;
position
:
absolute
;
...
...
lms/templates/courseware/course_about.html
View file @
41febaa8
...
...
@@ -109,12 +109,12 @@ from openedx.core.lib.courses import course_image_url
<div
class=
"intro-inner-wrapper"
>
<div
class=
"table"
>
<section
class=
"intro"
>
<
hgroup
>
<
div
class=
"heading-group"
>
<h1>
${course.display_name_with_default_escaped}
<a
href=
"#"
>
${course.display_org_with_default | h}
</a>
</h1>
</
hgroup
>
</
div
>
<div
class=
"main-cta"
>
%if user.is_authenticated() and registered:
...
...
lms/templates/index.html
View file @
41febaa8
...
...
@@ -9,16 +9,16 @@ from django.core.urlresolvers import reverse
<header>
<div
class=
"outer-wrapper"
>
<div
class=
"title"
>
<
hgroup
>
<
div
class=
"heading-group"
>
% if homepage_overlay_html:
${homepage_overlay_html}
% else:
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
<h1>
${_("Welcome to Open edX!")}
</h1>
## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.
<
h2>
${_("It works! This is the default homepage for this Open edX instance.")}
</h2
>
<
p>
${_("It works! This is the default homepage for this Open edX instance.")}
</p
>
% endif
</
hgroup
>
</
div
>
% if settings.FEATURES.get('ENABLE_COURSE_DISCOVERY'):
<div
class=
"course-search"
>
<form
method=
"get"
action=
"/courses"
>
...
...
themes/stanford-style/lms/templates/index.html
View file @
41febaa8
...
...
@@ -7,14 +7,14 @@ from django.utils.translation import ugettext as _
<header>
<div
class=
"outer-wrapper"
>
<div
class=
"title"
>
<
hgroup
>
<
div
class=
"heading-group"
>
% if homepage_overlay_html:
${homepage_overlay_html}
% else:
<h1>
${_("Free courses from
<strong>
{university_name}
</strong>
").format(university_name="Stanford")}
</h1>
<
h2>
${_("For anyone, anywhere, anytime")}
</h2
>
<
p>
${_("For anyone, anywhere, anytime")}
</p
>
% endif
</
hgroup
>
</
div
>
% if settings.FEATURES.get('ENABLE_COURSE_DISCOVERY'):
<div
class=
"course-search"
>
<form
method=
"get"
action=
"/courses"
>
...
...
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