Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
df62c2bc
Commit
df62c2bc
authored
May 15, 2014
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS refresh - Second pass of fixes
parent
0e86cd83
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
mentoring/public/css/mentoring.css
+5
-3
mentoring/public/css/questionnaire.css
+5
-2
mentoring/public/js/questionnaire.js
+2
-2
mentoring/templates/html/mentoring.html
+2
-2
mentoring/templates/html/tip_choice_group.html
+1
-1
No files found.
mentoring/public/css/mentoring.css
View file @
df62c2bc
.mentoring
.title
{
.mentoring
.title
*
{
display
:
inline-block
;
}
.mentoring
.messages
{
display
:
none
;
margin-top
:
10px
;
border
:
1px
solid
rgb
(
221
,
221
,
221
)
;
padding
:
12px
15
px
20px
;
border
-top
:
2px
solid
#eaeaea
;
padding
:
12px
0
px
20px
;
}
.mentoring
.messages
.title1
{
...
...
@@ -57,6 +57,8 @@
margin-left
:
10px
;
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
13px
;
font-weight
:
bold
;
}
.mentoring
.attempts
>
span
{
...
...
mentoring/public/css/questionnaire.css
View file @
df62c2bc
...
...
@@ -29,7 +29,7 @@
position
:
absolute
;
top
:
0
;
right
:
0
;
background
:
none
repeat
scroll
0
0
#
5C9DD
5
;
background
:
none
repeat
scroll
0
0
#
66A5B
5
;
font-family
:
arial
;
font-size
:
14px
;
height
:
100%
;
...
...
@@ -55,9 +55,12 @@
cursor
:
pointer
;
position
:
absolute
;
top
:
5px
;
right
:
0
px
;
right
:
3
px
;
width
:
18px
;
height
:
21px
;
font-family
:
FontAwesome
;
font-style
:
normal
;
text-align
:
center
;
}
.mentoring
.questionnaire
.choice-tips
p
,
...
...
mentoring/public/js/questionnaire.js
View file @
df62c2bc
...
...
@@ -96,7 +96,7 @@ function MCQBlock(runtime, element) {
if
(
_
.
isNull
(
result
.
submission
))
{
messageView
.
showMessage
(
'<div class="message-content">You have not provided an answer.</div>'
+
'<
i class="close icon-remove-sign fa-times-circle"></i
>'
);
'<
div class="close icon-remove-sign fa-times-circle"></div
>'
);
}
else
if
(
result
.
tips
)
{
var
tips
=
_
.
find
(
result
.
tips
,
function
(
obj
)
{
...
...
@@ -141,7 +141,7 @@ function MRQBlock(runtime, element) {
if
(
result
.
message
)
{
messageView
.
showMessage
(
'<div class="message-content">'
+
result
.
message
+
'</div>'
+
'<
i class="close icon-remove-sign fa-times-circle"></i
>'
);
'<
div class="close icon-remove-sign fa-times-circle"></div
>'
);
}
var
questionnaireDOM
=
$
(
'fieldset.questionnaire'
,
element
),
...
...
mentoring/templates/html/mentoring.html
View file @
df62c2bc
...
...
@@ -5,8 +5,8 @@
</div>
{% if self.title %}
<div
class=
"title"
>
<h2
class=
"
title
main"
>
{{ self.title.content }}
</h2>
<span
class=
"
title
weight"
>
{% if self.weight %} ({{ self.weight }} Points Possible) {% endif %}
</span>
<h2
class=
"main"
>
{{ self.title.content }}
</h2>
<span
class=
"weight"
>
{% if self.weight %} ({{ self.weight }} Points Possible) {% endif %}
</span>
</div>
{% endif %}
{% for name, c in named_children %}
...
...
mentoring/templates/html/tip_choice_group.html
View file @
df62c2bc
<div
class=
"tip-choice-group"
>
<div
class=
"close"
></div>
{% for tip_fragment in tips_fragments %}
{{ tip_fragment.body_html|safe }}
{% endfor %}
</div>
<div
class=
"close icon-remove-sign fa-times-circle"
></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