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
4c21dfbc
Commit
4c21dfbc
authored
Aug 17, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/bridger/new_wiki' of github.com:MITx/mitx into feature/bridger/new_wiki
parents
a2b19322
ca27804e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
148 additions
and
1 deletions
+148
-1
lms/static/sass/course/wiki/_wiki.scss
+147
-1
lms/templates/wiki/includes/form.html
+1
-0
lms/templates/wiki/plugins/attachments/index.html
+0
-0
No files found.
lms/static/sass/course/wiki/_wiki.scss
View file @
4c21dfbc
section
.wiki
{
padding-top
:
25px
;
header
{
>
header
{
height
:
33px
;
margin-bottom
:
36px
;
padding-bottom
:
26px
;
...
...
@@ -406,6 +406,7 @@ section.wiki {
letter-spacing
:
0
!
important
;
&
:hover
{
color
:
$base-font-color
;
text-decoration
:
none
;
}
...
...
@@ -436,6 +437,44 @@ section.wiki {
margin-left
:
-480px
;
top
:
150px
;
&
.upload-modal
,
&
.search-file-modal
{
width
:
400px
;
min-height
:
0
;
margin-left
:
-200px
;
h4
{
margin-bottom
:
20px
;
font-weight
:
bold
;
}
.help-block
{
font-size
:
0
.8em
;
}
}
&
.search-file-modal
{
width
:
500px
;
margin-left
:
-250px
;
p
{
font-size
:
0
.8em
;
line-height
:
1
.4em
;
}
.form-search
{
margin
:
30px
0
15px
;
input
{
width
:
350px
;
}
button
{
height
:
35px
;
}
}
}
.modal-header
{
h1
,
p
{
color
:
#fff
;
...
...
@@ -472,10 +511,17 @@ section.wiki {
}
}
.modal-inner-wrapper
{
background
:
#fff
;
padding
:
20px
;
}
#previewWindow
body
{
background
:
#f00
!
important
;
}
...
...
@@ -544,6 +590,41 @@ section.wiki {
/*-----------------
Settings
-----------------*/
#settings_form
{
.well
{
margin-bottom
:
15px
;
@include
clearfix
;
}
.control-group
{
float
:
left
;
margin-bottom
:
0
;
clear
:
both
;
}
label
{
margin-left
:
15px
;
}
.controls
{
padding-top
:
4px
;
}
label
,
.controls
{
float
:
right
;
}
}
/*-----------------
New
-----------------*/
...
...
@@ -568,6 +649,71 @@ section.wiki {
/*-----------------
Attachments
-----------------*/
.attachment-options
{
height
:
40px
;
margin
:
40px
0
30px
;
}
.attachment-list
{
ul
{
list-style
:
none
;
padding
:
0
;
}
li
{
margin-bottom
:
15px
;
border
:
1px
solid
#DDD
;
background
:
#F9F9F9
;
@include
border-radius
(
5px
);
}
header
,
.attachment-details
{
padding
:
12px
15px
;
}
.attachment-details
{
background
:
#eee
;
@include
border-radius
(
0
0
5px
5px
);
}
h3
{
a
{
font-weight
:
bold
;
font-size
:
0
.9em
;
}
.badge
{
float
:
right
;
font-size
:
0
.6em
;
line-height
:
20px
;
color
:
#aaa
;
}
}
.attachment-description
{
font-size
:
0
.8em
;
}
table
{
width
:
100%
;
font-size
:
0
.8em
;
}
.attachment-actions
.btn
{
float
:
right
;
}
}
/*-----------------
...
...
lms/templates/wiki/includes/form.html
View file @
4c21dfbc
...
...
@@ -13,6 +13,7 @@
{% if field.is_hidden %}
{{ field }}
{% else %}
<div
id=
"div_{{ field.auto_id }}"
class=
"clearfix control-group{% if field.errors %} error{% endif %}"
>
{% if field.label %}
<label
for=
"{{ field.id_for_label }}"
class=
"control-label {% if field.field.required %}requiredField{% endif %}"
>
...
...
lms/templates/wiki/plugins/attachments/index.html
View file @
4c21dfbc
This diff is collapsed.
Click to expand it.
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