diff options
author | Cédric Picard <cedric.picard@efrei.net> | 2014-11-29 02:54:40 +0100 |
---|---|---|
committer | Cédric Picard <cedric.picard@efrei.net> | 2014-11-29 02:54:40 +0100 |
commit | 8f6199c8c46a53557c8a45e172ede5f4402fb10a (patch) | |
tree | d9ab728378e8d51168c2a0fa47205a7cbbad4b08 /views | |
parent | 016ee202b5fb4b4c77eaffd68f58c59b80e63a7e (diff) | |
download | pasteme-8f6199c8c46a53557c8a45e172ede5f4402fb10a.tar.gz pasteme-8f6199c8c46a53557c8a45e172ede5f4402fb10a.tar.bz2 pasteme-8f6199c8c46a53557c8a45e172ede5f4402fb10a.zip |
Improved theme: icons and banner
Diffstat (limited to 'views')
-rw-r--r-- | views/base.tpl | 1 | ||||
-rw-r--r-- | views/paste.tpl | 4 | ||||
-rw-r--r-- | views/root.tpl | 9 |
3 files changed, 10 insertions, 4 deletions
diff --git a/views/base.tpl b/views/base.tpl index f3c3744..9f3046b 100644 --- a/views/base.tpl +++ b/views/base.tpl @@ -5,6 +5,7 @@ <link rel="stylesheet" href="/static/base.css" /> </head> <body> +<img id="banner" alt="Pasteme" src="/static/banner.png"><br/> {{!base}} </body> </html> diff --git a/views/paste.tpl b/views/paste.tpl index b23badb..574717a 100644 --- a/views/paste.tpl +++ b/views/paste.tpl @@ -1,6 +1,6 @@ % rebase('base.tpl', title='Paste snippets') {{!content}} <div id="floatingmenu"> -<a href="/"><img src="static/esc-icon.png"/></a> -<a href="/{{pid}}/raw"><img src="static/download-icon.png"/></a> + <a href="/"><img alt="return" src="static/esc-icon.png"/></a><br/> + <a href="/{{pid}}/raw"><img alt="raw" src="static/download-icon.png"/></a> </div> diff --git a/views/root.tpl b/views/root.tpl index b9acec8..44a6028 100644 --- a/views/root.tpl +++ b/views/root.tpl @@ -4,8 +4,13 @@ You are on a simple paste deposit service. Please copy your text on the box below: <form action="/" method="POST"> - <textarea id="content" name="content"></textarea> -<button for="content">Paste</button> +<div id=floatingmenu> + <button for="content" style="border:0;background:transparent"> + <img alt="paste" src="/static/enter-icon.png"/> + </button> +</div> + + </form> |