mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Did you know?
This commit is contained in:
parent
0f5e1b1c62
commit
fa6d0f7b2e
3 changed files with 20 additions and 12 deletions
|
@ -7,6 +7,11 @@
|
|||
{% block content %}
|
||||
<h2>{% trans "New snippet" %}</h2>
|
||||
{% include "dpaste/snippet_form.html" %}
|
||||
|
||||
<p class="hint"><em>Did you know:</em>
|
||||
There is a <a href="https://github.com/bartTC/dpasteGUI/wiki">dpaste GUI application</a> for OSX
|
||||
and also a <a href="/about/">rudimentary API</a>.
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block script_footer %}
|
||||
|
|
|
@ -16,6 +16,19 @@ a:hover{
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
p.hint{
|
||||
color: #333;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
p.hint em{
|
||||
color: black;
|
||||
background-color: #c9f8b4;
|
||||
display: inline-block;
|
||||
padding: 2px 3px;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
hr.clear{
|
||||
clear: both;
|
||||
border: none;
|
||||
|
@ -183,7 +196,7 @@ form.snippetform label{
|
|||
|
||||
form.snippetform #id_content{
|
||||
width: 80%;
|
||||
height: 290px;
|
||||
height: 320px;
|
||||
font-family: monospace;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
|
|
@ -25,18 +25,8 @@
|
|||
<div id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
{% comment %}
|
||||
<form action="/i18n/setlang/" method="post" class="setlang">
|
||||
{% csrf_token %}
|
||||
<select name="language">
|
||||
{% for lang in LANGUAGES %}
|
||||
<option {% ifequal LANGUAGE_CODE lang.0 %}selected="selected"{% endifequal %} value="{{ lang.0 }}">{{ lang.1 }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
{% endcomment %}
|
||||
<a href="{% url snippet_userlist %}">{% trans "Recent snippets" %}</a>
|
||||
<a href="{% url snippet_userprefs %}">{% trans "Settings" %}</a>
|
||||
<a href="{% url about %}">{% trans "About" %}</a>
|
||||
|
|
Loading…
Reference in a new issue