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 | |
| parent | 016ee202b5fb4b4c77eaffd68f58c59b80e63a7e (diff) | |
| download | pasteme-8f6199c8c46a53557c8a45e172ede5f4402fb10a.tar.gz pasteme-8f6199c8c46a53557c8a45e172ede5f4402fb10a.tar.bz2 pasteme-8f6199c8c46a53557c8a45e172ede5f4402fb10a.zip | |
Improved theme: icons and banner
| -rw-r--r-- | static/banner.png | bin | 0 -> 16908 bytes | |||
| -rw-r--r-- | static/base.css | 14 | ||||
| -rw-r--r-- | static/enter-icon.png | bin | 0 -> 11228 bytes | |||
| -rw-r--r-- | views/base.tpl | 1 | ||||
| -rw-r--r-- | views/paste.tpl | 4 | ||||
| -rw-r--r-- | views/root.tpl | 9 | 
6 files changed, 24 insertions, 4 deletions
| diff --git a/static/banner.png b/static/banner.pngBinary files differ new file mode 100644 index 0000000..3540882 --- /dev/null +++ b/static/banner.png diff --git a/static/base.css b/static/base.css index c671db7..b4d32aa 100644 --- a/static/base.css +++ b/static/base.css @@ -6,6 +6,20 @@ body {      color: #aaaaaa;  } +#content { +    width:  650px; +    height: 600px; +    border: 3px solid #C1C2C3; +    padding: 5px; +    -moz-border-radius: 3px; +    -webkit-border-radius: 3px; +    border-radius: 5px; +    top-margin: 10px; +} + +#banner.img { +} +  #floatingmenu {      display: block;      position: absolute; diff --git a/static/enter-icon.png b/static/enter-icon.pngBinary files differ new file mode 100644 index 0000000..d6bc459 --- /dev/null +++ b/static/enter-icon.png 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> | 
