Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
bfdbef4f
Commit
bfdbef4f
authored
Nov 21, 2014
by
svilayphiou
Browse files
merge
parent
2bef2862
Changes
2
Hide whitespace changes
Inline
Side-by-side
relearn/templates/base.html
View file @
bfdbef4f
{% load wikify relearn_tags %}
<!DOCTYPE HTML>
<html
{%
if
meta.language
%}
lang=
"{{ meta.language.0 }}"
{%
endif
%}
moznomarginboxes
mozdisallowselectionprint
>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
{%
if
meta.language
%}
lang=
"{{ meta.language.0 }}"
{%
endif
%}
moznomarginboxes
mozdisallowselectionprint
>
<head>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=utf-8"
>
...
...
@@ -54,7 +54,9 @@
{% if pad %}
{% if mode == 'r' %}
<a
class=
"active button read-button screen-only"
>
Read
</a>
{% if user.is_authenticated %}
<a
class=
"button screen-only write-button"
href=
"{% url 'pad-write' pad.display_slug %}"
>
Write
</a>
{% endif %}
{% else %}
<a
class=
"button screen-only read-button"
href=
"{% url 'pad-read' 'r' pad.display_slug %}"
>
Read
</a>
<a
class=
"active button screen-only write-button"
>
Write
</a>
...
...
relearn/templates/pad-read.html
View file @
bfdbef4f
...
...
@@ -3,17 +3,17 @@
{% block extra_styles %}
{% ifequal mode "p" %}
<link
rel=
"stylesheet/less"
href=
"/offset-print/"
type=
"text/css"
media=
"all"
>
<link
rel=
"stylesheet/less"
href=
"{{ STATIC_URL }}less/print.less"
type=
"text/css"
media=
"all"
>
<link
rel=
"stylesheet/less"
href=
"{% url 'css-print' %}"
type=
"text/css"
media=
"all"
>
{% else %}
<link
rel=
"stylesheet/less"
href=
"{% url 'css' %}"
type=
"text/css"
media=
"screen"
>
<link
rel=
"stylesheet/less"
href=
"
{% url '
css-print
' %}
"
type=
"text/css"
media=
"print"
>
<link
rel=
"stylesheet/less"
href=
"
/
css-print
/
"
type=
"text/css"
media=
"print"
>
{% endifequal %}
{% endblock %}
{% block head_meta %}
<meta
property=
"og:type"
content=
"article"
/>
{% if meta %}
{% if meta.authors %}
...
...
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