Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-poll
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
xblock-poll
Commits
5aa4ec5c
Commit
5aa4ec5c
authored
Jun 06, 2015
by
Sven Marnach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address further accessibility review comments.
parent
8ac0a465
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
poll/public/html/poll.html
+1
-1
poll/public/html/poll_edit.html
+12
-8
poll/public/html/survey.html
+1
-1
No files found.
poll/public/html/poll.html
View file @
5aa4ec5c
...
...
@@ -40,7 +40,7 @@
{% endif %}
{% if can_view_private_results %}
<div
class=
"view-results-button-wrapper"
><
a
class=
"view-results-button"
>
View results
</a
></div>
<div
class=
"view-results-button-wrapper"
><
button
class=
"view-results-button"
>
View results
</button
></div>
{% endif %}
{% endif %}
</div>
poll/public/html/poll_edit.html
View file @
5aa4ec5c
...
...
@@ -14,18 +14,20 @@
<h2><label
for=
"poll-question-editor"
>
Question/Prompt
</label></h2>
<a
href=
"//daringfireball.net/projects/markdown/syntax"
target=
"_blank"
>
Markdown Syntax
</a>
is supported.
<div
id=
"poll-question-editor-container"
>
<textarea
class=
"input setting-input"
name=
"question"
id=
"poll-question-editor"
>
{{question}}
</textarea>
<textarea
class=
"input setting-input"
name=
"question"
id=
"poll-question-editor"
aria-describedby=
"poll-question-editor-help"
>
{{question}}
</textarea>
</div>
<span
class=
"tip setting-help"
>
Enter the prompt for the user.
</span>
<span
class=
"tip setting-help"
id=
"poll-question-editor-help"
>
Enter the prompt for the user.
</span>
</li>
{% endif %}
<li
class=
"field comp-setting-entry is-set"
>
<h2><label
for=
"poll-feedback-editor"
>
Feedback
</label></h2>
<a
href=
"//daringfireball.net/projects/markdown/syntax"
target=
"_blank"
>
Markdown Syntax
</a>
is supported.
<div
id=
"poll-feedback-editor-container"
>
<textarea
class=
"input setting-input"
name=
"feedback"
id=
"poll-feedback-editor"
>
{{feedback}}
</textarea>
<textarea
class=
"input setting-input"
name=
"feedback"
id=
"poll-feedback-editor"
aria-describedby=
"poll-feedback-editor-help"
>
{{feedback}}
</textarea>
</div>
<span
class=
"tip setting-help"
>
<span
class=
"tip setting-help"
id=
"poll-feedback-editor-help"
>
This text will be displayed for the user as some extra feedback after they have
submitted their response to the poll.
</span>
...
...
@@ -33,22 +35,24 @@
<li
class=
"field comp-setting-entry is-set"
>
<div
class=
"wrapper-comp-setting"
>
<label
class=
"label setting-label poll-setting-label"
for=
"poll-private-results"
>
Private Results
</label>
<select
id=
"poll-private-results"
class=
"input setting-input"
name=
"private_results"
>
<select
id=
"poll-private-results"
class=
"input setting-input"
name=
"private_results"
aria-describedby=
"poll-private-results-help"
>
<!-- So far as I can see, there's not a proper style for checkboxes. LTI module does it this way. -->
<option
value=
"true"
{%
if
private_results
%}
selected
{%
endif
%}
>
True
</option>
<option
value=
"false"
{%
if
not
private_results
%}
selected
{%
endif
%}
>
False
</option>
</select>
</div>
<span
class=
"tip setting-help"
>
<span
class=
"tip setting-help"
id=
"poll-private-results-help"
>
If this is set to True, don't display results of the poll to the user.
</span>
</li>
<li
class=
"field comp-setting-entry is-set"
>
<div
class=
"wrapper-comp-setting"
>
<label
class=
"label setting-label poll-setting-label"
for=
"poll-max-submissions"
>
Maximum Submissions
</label>
<input
id=
"poll-max-submissions"
type=
"number"
min=
"0"
step=
"1"
value=
"{{ max_submissions }}"
/>
<input
id=
"poll-max-submissions"
type=
"number"
min=
"0"
step=
"1"
value=
"{{ max_submissions }}"
aria-describedby=
"poll-max-submissions-help"
/>
</div>
<span
class=
"tip setting-help"
>
<span
class=
"tip setting-help"
id=
"poll-max-submissions-help"
>
Maximum number of times a user may submit a poll.
<strong>
Setting this to a value other than 1 will imply that
'Private Results' should be true.
</strong>
Setting it to 0 will allow infinite resubmissions.
</span>
...
...
poll/public/html/survey.html
View file @
5aa4ec5c
...
...
@@ -49,7 +49,7 @@
{% endif %}
{% if can_view_private_results %}
<div
class=
"view-results-button-wrapper"
><
a
class=
"view-results-button"
>
View results
</a
></div>
<div
class=
"view-results-button-wrapper"
><
button
class=
"view-results-button"
>
View results
</button
></div>
{% endif %}
{% endif %}
</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