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