Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
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
django-wiki
Commits
c551a691
Commit
c551a691
authored
Nov 13, 2014
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #263 and style article list header
parent
93464ba7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
12 deletions
+24
-12
wiki/plugins/images/templates/wiki/plugins/images/render.html
+10
-12
wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
+8
-0
wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css
+0
-0
wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less
+6
-0
No files found.
wiki/plugins/images/templates/wiki/plugins/images/render.html
View file @
c551a691
...
@@ -3,20 +3,18 @@
...
@@ -3,20 +3,18 @@
NB! Watch out for line breaks, markdown might add
<br
/>
s and
<p>
s.
NB! Watch out for line breaks, markdown might add
<br
/>
s and
<p>
s.
{% endcomment %}{% with image.current_revision.imagerevision as revision %}{% spaceless %}
{% endcomment %}{% with image.current_revision.imagerevision as revision %}{% spaceless %}
<div>
<div
class=
"thumbnail{% if align %} pull-{{ align }}{% endif %}"
style=
"width: 250px;"
>
<div
class=
"thumbnail{% if align %} pull-{{ align }}{% endif %}"
style=
"width: 250px;"
>
{% thumbnail revision.image "250x250" as thumb %}
{% thumbnail revision.image "250x250" as thumb %}
<a
href=
"{{ revision.image.url }}"
>
<a
href=
"{{ revision.image.url }}"
>
<img
src=
"{{ thumb.url }}"
alt=
"{{ revision.get_filename }}"
/>
<img
src=
"{{ thumb.url }}"
alt=
"{{ revision.get_filename }}"
/>
</a>
</a>
{% empty %}
{% empty %}
<div
class=
"caption"
>
<em>
{% trans "Image not found" %}
</em>
</div>
{% endthumbnail %}
<div
class=
"caption"
>
<div
class=
"caption"
>
{{ caption|safe }}
<em>
{% trans "Image not found" %}
</em>
</div>
</div>
{% endthumbnail %}
<div
class=
"caption"
>
{{ caption|safe }}
</div>
</div>
</div>
</div>
{% endspaceless %}{% endwith %}
{% endspaceless %}{% endwith %}
wiki/static/wiki/bootstrap/css/wiki-bootstrap.css
View file @
c551a691
...
@@ -4093,6 +4093,14 @@ label {
...
@@ -4093,6 +4093,14 @@ label {
.wiki-article
div
.article-list
{
.wiki-article
div
.article-list
{
max-width
:
340px
;
max-width
:
340px
;
clear
:
left
;
clear
:
left
;
display
:
inline-block
;
/* Fix height problem when next to floating elements */
}
.wiki-article
div
.toc
.nav-header
,
.wiki-article
div
.article-list
.nav-header
{
padding
:
3px
10px
;
border-bottom
:
1px
solid
#DDD
;
font-weight
:
bold
;
}
}
.wiki-article
div
.toc
ul
,
.wiki-article
div
.toc
ul
,
.wiki-article
div
.article-list
ul
{
.wiki-article
div
.article-list
ul
{
...
...
wiki/static/wiki/bootstrap/css/wiki-bootstrap.min.css
View file @
c551a691
This source diff could not be displayed because it is too large. You can
view the blob
instead.
wiki/static/wiki/bootstrap/less/wiki/wiki-bootstrap.less
View file @
c551a691
...
@@ -48,6 +48,12 @@ label { font-size: 16px; font-weight: normal; color: #777;}
...
@@ -48,6 +48,12 @@ label { font-size: 16px; font-weight: normal; color: #777;}
.wiki-article div.article-list {
.wiki-article div.article-list {
max-width: 340px;
max-width: 340px;
clear: left;
clear: left;
display: inline-block; /* Fix height problem when next to floating elements */
.nav-header {
padding: 3px 10px;
border-bottom: 1px solid #DDD;
font-weight: bold;
}
}
}
.wiki-article div.toc ul,
.wiki-article div.toc ul,
...
...
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