diff --git a/paste/static/css/pasteque.css b/paste/static/css/pasteque.css
new file mode 100644
index 0000000..9bb3229
--- /dev/null
+++ b/paste/static/css/pasteque.css
@@ -0,0 +1,16 @@
+html {
+ height: 100%;
+}
+
+body {
+ margin: 0;
+ height: 100%;
+}
+
+div {
+ height: 100%;
+}
+
+pre {
+ margin: 0;
+}
diff --git a/paste/templates/base.html b/paste/templates/base.html
index a07028e..a9fbffd 100644
--- a/paste/templates/base.html
+++ b/paste/templates/base.html
@@ -5,28 +5,14 @@
{% compress css %}
-
{% endcompress %}
-
+ {% block extrastyle %}{% endblock %}
+
{% block content %}{% endblock %}
{% block javascript %}{% endblock %}
diff --git a/paste/templates/paste/index.html b/paste/templates/paste/index.html
index 547e54d..110dace 100644
--- a/paste/templates/paste/index.html
+++ b/paste/templates/paste/index.html
@@ -3,56 +3,27 @@
{% load compress %}
{% block title %}{% trans 'Paste something' %}{% endblock %}
{% block content %}
- {% if error_message %}
{{ error_message }}
{% endif %}
-
-
-
You can also use:
-
curl {{ absolute_index_url }} -Fpython=@hello.py
- (attribute name is used for syntax highlighting, and shortcuts like "py" are allowed, see Language dropdown for language list.)
-
- You may even use a bash function:
-
wyz()
-{
- curl https://wyz.fr/ -F"${1##*.}=@$1"
-}
- Like this:
-
wyz FILE_TO_UPLOAD
-
-
+
pafpy()
+{
+ curl {{absolute_index_url}} -F"${1##*.}=@$1"
+}
+
+
+Demo :
+
+
$ pafpy test.py
+{{absolute_index_url}}D91F1CA
+
{% endblock %}
diff --git a/paste/templates/paste/show-pygments.html b/paste/templates/paste/show-pygments.html
index 0f42647..410484d 100644
--- a/paste/templates/paste/show-pygments.html
+++ b/paste/templates/paste/show-pygments.html
@@ -1,9 +1,10 @@
{% extends "base.html" %}
-
-{% block title %} {{ title }}{% endblock %}
-{% block nav %}
-
View raw
+{% block extrastyle %}
+
{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block nav %}{% endblock %}
{% block content %}
{{ highlighted|safe }}
{% endblock %}