Mercurial Hosting > luan
comparison http/src/luan/modules/http/run.luan @ 560:2f39468680be
remove SimplyHTML from shell
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 23 Jun 2015 07:57:10 -0600 |
parents | bfb2c30324c0 |
children | 1e69d9c21461 |
comparison
equal
deleted
inserted
replaced
559:bfb2c30324c0 | 560:2f39468680be |
---|---|
26 local function form() %> | 26 local function form() %> |
27 <html> | 27 <html> |
28 <head> | 28 <head> |
29 <title>Run Luan Code</title> | 29 <title>Run Luan Code</title> |
30 <style> | 30 <style> |
31 input[type="submit"]:hover { background: #236aa7 !important } | 31 body { |
32 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
33 text-align: center; | |
34 margin-top: 1em; | |
35 } | |
36 h2 { | |
37 margin-bottom: .3em; | |
38 font-weight: normal; | |
39 } | |
40 textarea { | |
41 font: inherit; | |
42 border-radius: 4px; | |
43 padding: .5em .8em; | |
44 } | |
45 input[type="submit"] { | |
46 margin-top: .3em; | |
47 color: white; | |
48 background: #337ab7; | |
49 border-color: #337ab7; | |
50 font: inherit; | |
51 padding: .5em; | |
52 border-radius: 4px; | |
53 } | |
54 input[type="submit"]:hover { | |
55 background: #236aa7 !important; | |
56 } | |
32 </style> | 57 </style> |
33 </head> | 58 </head> |
34 <body style=' | 59 <body> |
35 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | 60 <h2>Run Luan Code</h2> |
36 text-align: center; | |
37 margin-top: 1em; | |
38 '> | |
39 <h2 style=' | |
40 margin-bottom: .3em; | |
41 font-weight: normal; | |
42 '>Run Luan Code</h2> | |
43 <form name="form0" method="post"> | 61 <form name="form0" method="post"> |
44 <input type="hidden" name="content_type" value="text/plain" /> | 62 <input type="hidden" name="content_type" value="text/plain" /> |
45 <div> | 63 <div> |
46 <textarea name="code" rows="20" cols="90" wrap="off" autofocus style=' | 64 <textarea name="code" rows="20" cols="90" wrap="off" autofocus></textarea> |
47 font: inherit; | |
48 border-radius: 4px; | |
49 padding: .5em .8em; | |
50 '></textarea> | |
51 </div> | 65 </div> |
52 <div> | 66 <div> |
53 <input type="submit" value="Execute Luan Code" style=' | 67 <input type="submit" value="Execute Luan Code"/> |
54 margin-top: .3em; | |
55 color: white; | |
56 background: #337ab7; | |
57 border-color: #337ab7; | |
58 font: inherit; | |
59 padding: .5em; | |
60 border-radius: 4px; | |
61 '/> | |
62 </div> | 68 </div> |
63 </form> | 69 </form> |
64 </body> | 70 </body> |
65 </html> | 71 </html> |
66 <% end | 72 <% end |