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
c7784e30
Commit
c7784e30
authored
Nov 19, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings - radio/checkbox UI - wip
parent
ab87ff6b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
cms/static/sass/_settings.scss
+3
-5
cms/templates/settings.html
+2
-2
No files found.
cms/static/sass/_settings.scss
View file @
c7784e30
...
...
@@ -213,11 +213,9 @@
.ui-status-indic
{
z-index
:
10
;
display
:
inline-block
;
height
:
15px
;
width
:
15px
;
border
:
2px
;
height
:
30px
;
width
:
20px
;
opacity
:
0
.50
;
@include
box-sizing
(
border-box
);
@include
transition
(
opacity
0
.25s
ease-in-out
);
}
...
...
@@ -244,7 +242,7 @@
}
.ui-status-input-checkbox
input
:checked
~
.ui-status-indic
,
.ui-status-input-radio
input
:checked
~
.ui-status-indic
{
background
:
transparent
url('
/static/img/
.png')
0
0
no-repeat
;
background
:
transparent
url('
../images/correct-icon
.png')
0
0
no-repeat
;
opacity
:
0
.99
;
}
...
...
cms/templates/settings.html
View file @
c7784e30
...
...
@@ -1062,14 +1062,14 @@
<div
class=
"field ui-status"
>
<div
class=
"input ui-status-input-radio"
>
<input
type=
"radio"
class=
"ui-status-input"
name=
"discussions-anonymous"
id=
"discussions-anonymous-allow"
value=
"Allow"
>
<div
class=
"ui-status-indic ui-status-indic-discussions-anonymous-allow
ss-check ss-standard
"
></div>
<div
class=
"ui-status-indic ui-status-indic-discussions-anonymous-allow"
></div>
<label
for=
"discussions-anonymous-allow"
>
Allow
</label>
<span
class=
"tip tip-stacked"
>
Students and faculty
<strong>
will be able to post anonymously
</strong></span>
</div>
<div
class=
"input ui-status-input-radio"
>
<input
checked=
"checked"
type=
"radio"
class=
"ui-status-input"
name=
"discussions-anonymous"
id=
"discussions-anonymous-dontallow"
value=
"Do Not Allow"
>
<div
class=
"ui-status-indic ui-status-indic-discussions-anonymous-dontallow
ss-delete ss-standard
"
></div>
<div
class=
"ui-status-indic ui-status-indic-discussions-anonymous-dontallow"
></div>
<label
for=
"discussions-anonymous-dontallow"
>
Do not allow
</label>
<span
class=
"tip tip-stacked"
><strong>
Posting anonymously is not allowed
</strong>
. Any previous anonymous posts
<strong>
will be reverted to non-anonymous
</strong></span>
</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