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
01ac2da1
Commit
01ac2da1
authored
Dec 15, 2017
by
Matt Tuchfarber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make FAQ full width, not columns
parent
98b391a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
lms/static/sass/views/_program-marketing-page.scss
+4
-3
lms/templates/courseware/program_marketing.html
+15
-14
No files found.
lms/static/sass/views/_program-marketing-page.scss
View file @
01ac2da1
...
@@ -7,14 +7,15 @@
...
@@ -7,14 +7,15 @@
.main-banner
{
.main-banner
{
color
:
$white
;
color
:
$white
;
margin-bottom
:
1px
;
margin-bottom
:
1px
;
background-size
:cover
!
important
;
background-size
:
cover
!
important
;
background-repeat
:no-repeat
!
important
;
background-repeat
:
no-repeat
!
important
;
.authoring-org-logo
{
.authoring-org-logo
{
background-color
:
$white
;
background-color
:
$white
;
height
:
100px
;
height
:
100px
;
}
}
.logo-space
{
.logo-space
{
height
:
50px
;
height
:
50px
;
}
}
...
...
lms/templates/courseware/program_marketing.html
View file @
01ac2da1
...
@@ -356,20 +356,21 @@ endorser_org = endorser_position.get('organization_name') or corporate_endorseme
...
@@ -356,20 +356,21 @@ endorser_org = endorser_position.get('organization_name') or corporate_endorseme
% endif
% endif
% if faqs:
% if faqs:
<hr
class=
"thick_rule"
>
<hr
class=
"thick_rule"
>
<div
id=
"faqs"
class=
"row faqs"
>
<div
id=
"faqs"
class=
"row faqs"
>
<div
class=
"col-12"
>
<div
class=
"col-12 col-lg-9 col-xl-7"
>
<h2>
${_('Frequently Asked Questions')}
</h2>
<h2>
${_('Frequently Asked Questions')}
</h2>
</div>
<hr>
% for faq in faqs:
<div
class=
"col-4 faq"
>
<div
class=
"question"
>
${faq['question']}
</div>
<div
class=
"answer"
>
${HTML(faq['answer'])}
</div>
</div>
% endfor
</div>
</div>
% for faq in faqs:
<div
class=
"col-12 col-lg-9 col-xl-7 faq"
>
<h3
class=
"question"
>
${faq['question']}
</h3>
<div
class=
"answer"
>
${HTML(faq['answer'])}
</div>
</div>
% endfor
</div>
% endif
% endif
</div>
</div>
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