pastebin cleanups
parent
10c3c5ff27
commit
00d19637c1
|
@ -24,10 +24,12 @@
|
|||
<td><% "modes" render-template %></td>
|
||||
</tr>
|
||||
|
||||
<!--
|
||||
<tr>
|
||||
<th align="right">Channel:</th>
|
||||
<td><input type="TEXT" name="channel" value="#concatenative" /></td>
|
||||
</tr>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<th align="right" valign="top">Content:</th>
|
||||
|
|
|
@ -4,13 +4,9 @@ furnace webapps.pastebin calendar sequences ; %>
|
|||
<tr>
|
||||
<td>
|
||||
<a href="<% model get paste-link write %>">
|
||||
<%
|
||||
"summary" get
|
||||
dup empty? [ drop "- no title -" ] when
|
||||
write
|
||||
%>
|
||||
<% "summary" get write %>
|
||||
</a>
|
||||
</td>
|
||||
<td><% "author" get write %></td>
|
||||
<td><% "date" get timestamp>string print %></td>
|
||||
<td><% "date" get timestamp>string write %></td>
|
||||
</tr>
|
||||
|
|
|
@ -85,8 +85,8 @@ SYMBOL: store
|
|||
] keep paste-link permanent-redirect ;
|
||||
|
||||
\ submit-paste {
|
||||
{ "summary" v-required }
|
||||
{ "author" v-required }
|
||||
{ "summary" "- no summary -" v-default }
|
||||
{ "author" "- no author -" v-default }
|
||||
{ "channel" "#concatenative" v-default }
|
||||
{ "mode" "factor" v-default }
|
||||
{ "contents" v-required }
|
||||
|
@ -99,7 +99,7 @@ SYMBOL: store
|
|||
|
||||
\ annotate-paste {
|
||||
{ "n" v-required v-number }
|
||||
{ "summary" v-required }
|
||||
{ "summary" "- no summary -" v-default }
|
||||
{ "author" v-required }
|
||||
{ "mode" "factor" v-default }
|
||||
{ "contents" v-required }
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<table>
|
||||
<tr><th>Paste by:</th><td><% "author" get write %></td></tr>
|
||||
<tr><th>Channel:</th><td><% "channel" get write %></td></tr>
|
||||
<!-- <tr><th>Channel:</th><td><% "channel" get write %></td></tr> -->
|
||||
<tr><th>Created:</th><td><% "date" get timestamp>string write %></td></tr>
|
||||
<tr><th>File type:</th><td><% "mode" get write %></td></tr>
|
||||
</table>
|
||||
|
|
|
@ -23,11 +23,6 @@ pre.code {
|
|||
padding:5px;
|
||||
font-size:150%;
|
||||
color:#000000;
|
||||
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
.navbar {
|
||||
|
|
Loading…
Reference in New Issue