Mercurial Hosting > luan
comparison lucene/src/luan/modules/lucene/Web_search.luan @ 340:fb18724521d2
rename Html.simple_html_page to simply_html_page
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 31 Mar 2015 02:35:40 -0600 |
parents | 78a6a71afbfd |
children | 2f5cc9c2cbf0 |
comparison
equal
deleted
inserted
replaced
339:673eebd83b74 | 340:fb18724521d2 |
---|---|
9 local String = require "luan:String" | 9 local String = require "luan:String" |
10 local Html = require "luan:Html" | 10 local Html = require "luan:Html" |
11 | 11 |
12 | 12 |
13 local function form() | 13 local function form() |
14 Html.simple_html_page{ | 14 Html.simply_html_page{ |
15 head = function() %> | 15 head = function() %> |
16 <title>Lucene Query</title> | 16 <title>Lucene Query</title> |
17 <% end; | 17 <% end; |
18 body = function() %> | 18 body = function() %> |
19 <div container> | 19 <div container> |
57 } | 57 } |
58 end | 58 end |
59 | 59 |
60 | 60 |
61 local function result(query,sort,headers,table) | 61 local function result(query,sort,headers,table) |
62 Html.simple_html_page{ | 62 Html.simply_html_page{ |
63 body = function() %> | 63 body = function() %> |
64 <div container> | 64 <div container> |
65 <h3 margin-top="1.5em">Lucene Query Results</h3> | 65 <h3 margin-top="1.5em">Lucene Query Results</h3> |
66 <div row> | 66 <div row> |
67 <div colspan=2 align="right"> | 67 <div colspan=2 align="right"> |