Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
!!!
|
||||
%html
|
||||
%head
|
||||
%title Pastemaster
|
||||
%link{ rel: 'stylesheet', href: '/normalize.css?v2.1.2' }
|
||||
%link{ rel: 'stylesheet', href: '/pastemaster.css?r1' }
|
||||
%body
|
||||
.container= yield
|
||||
@@ -0,0 +1,8 @@
|
||||
%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' }
|
||||
@@ -0,0 +1,5 @@
|
||||
%p
|
||||
- if @record
|
||||
= @record[:contents]
|
||||
- else
|
||||
Sorry no have mister
|
||||
Reference in New Issue
Block a user