5a4794240b
Disable colouring when lang token is "colorless".
2017-05-16 23:07:00 +01:00
aa9e1f884f
Rename text html page to pastie and get rid of paste.
...
So confusing! :s
2017-05-16 23:01:19 +01:00
1769446a0e
Fix some missing bits in the html.
2017-05-16 18:51:57 +01:00
00f32d43d3
Fix displaying error messages in error response.
2017-05-15 21:46:35 +01:00
5baaa8c8a8
Move installable html into the website/ subdirectory.
2017-05-14 18:14:52 +01:00
72cadf20f2
Update html.
2017-05-14 14:50:16 +01:00
4d31323bb1
Redirect to error.cgi when saving fails.
...
Not working yet, still getting there.
2017-05-12 22:46:54 +01:00
73323c9ee7
Add plain text mode
2017-04-27 09:33:47 +01:00
06920f8d84
Return pasties into a proper html page.
...
I don't think html escaping is needed, since pasties
go through the colorizer first.
I don't really like the workaround to not call on_send() when
I don't want the html output, it's a bit omg what's going on
there... I'll have to rewrite that bit.
2017-04-25 22:56:19 +01:00
b423522af8
Enable language and expiry in pasties.
2017-04-25 00:21:44 +01:00
1bc059bfe4
Export the list of supported languages to mustache.
2017-04-21 22:18:43 +01:00
73c3d2f04d
Use partials in html.
2017-04-21 19:01:13 +01:00
e92866251b
Import html files
2017-04-18 20:09:49 +01:00