Did you know?

This commit is contained in:
Martin Mahner 2012-04-15 11:58:25 +02:00
parent 0f5e1b1c62
commit fa6d0f7b2e
3 changed files with 20 additions and 12 deletions

View file

@ -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 %}

View file

@ -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;
}

View file

@ -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>