This commit is contained in:
Gregory Eremin
2013-07-10 16:46:37 +07:00
parent d7ff408863
commit 0a455e2b3e
17 changed files with 248 additions and 86 deletions
-8
View File
@@ -1,8 +0,0 @@
!!!
%html
%head
%title Pastemaster
%link{ rel: 'stylesheet', href: '/normalize.css?v2.1.2' }
%link{ rel: 'stylesheet', href: '/pastemaster.css?r1' }
%body
.container= yield
+13
View File
@@ -0,0 +1,13 @@
doctype html
html
head
title Pastemaster
link rel="stylesheet" href="/normalize.css?v2.1.2"
link rel="stylesheet" href="/assets/pastemaster.css?r1"
body
h1
strong Paste
| master
.container== yield
script type="text/javascript" src="http://code.jquery.com/jquery-2.0.3.min.js"
script type="text/javascript" src="/assets/pastemaster.js?r1"
+20
View File
@@ -0,0 +1,20 @@
doctype html
html
head
title 403 Forbidden
meta charset="utf-8"
style type="text/css"
| html { display: table; }
| body { display: table-cell; }
| html, body {
| width: 100%; height: 100%;
| margin: 0; padding: 0;
| text-align: center; vertical-align: middle;
| font-face: Helvetica, Arial, sans-serif;
| font-size: 2em;
| font-weight: 100;
| background-color: #fafafa;
| color: #444444;
| }
body
| 403 Forbidden
+20
View File
@@ -0,0 +1,20 @@
doctype html
html
head
title 404 Not Found
meta charset="utf-8"
style type="text/css"
| html { display: table; }
| body { display: table-cell; }
| html, body {
| width: 100%; height: 100%;
| margin: 0; padding: 0;
| text-align: center; vertical-align: middle;
| font-face: Helvetica, Arial, sans-serif;
| font-size: 2em;
| font-weight: 100;
| background-color: #fafafa;
| color: #444444;
| }
body
| 404 Not Found
-8
View File
@@ -1,8 +0,0 @@
%form{ action: '/', method: 'post', 'accept-charset' => 'UTF-8' }
.row{ style: 'display: none' }
%select{ name: 'type' }
%option{ value: 'text_plain' } Plain Text
.row
%textarea{ name: 'contents' }
.row.centered
%input{ type: 'submit' }
+4
View File
@@ -0,0 +1,4 @@
form#pasteform action="/" method="post" accept-charset="UTF-8"
textarea#contents name="contents"
input#submitbtn type="submit" value="Save"
a#submitlnk href="" role="submit" Save
-5
View File
@@ -1,5 +0,0 @@
%p
- if @paste
= @paste.contents
- else
.nohave Sorry no have mister
+1
View File
@@ -0,0 +1 @@
pre= @paste.contents