view src/needed.html.luan @ 29:a04ef87cf4a0

drag and drop
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 23 Dec 2022 15:31:50 -0700
parents 0e882ff8d245
children d84e76175dd5
line wrap: on
line source

local Luan = require "luan:Luan.luan"
local error = Luan.error
local Io = require "luan:Io.luan"
local Http = require "luan:http/Http.luan"
local Shared = require "site:/lib/Shared.luan"
local head = Shared.head or error()
local needed_header = Shared.needed_header or error()


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
<%		head() %>
		<title>Needed Reactionary Software</title>
	</head>
	<body>
<%		needed_header() %>
		<div content>
			<h1>Needed Reactionary Software</h1>
			<ul links>
				<li><a href="/lucene.html">Lucene Fork</a></li>
				<li><a href="/drag.html">JavaScript Drag and Drop</a></li>
				<li><a href="/freedit.html">FreedIt - A Reddit Alternative</a></li>
				<li><a href="/wysiwyg.html">WYSIWYG Web Editor</a></li>
			</ul>
		</div>
	</body>
</html>
<%
end