From ac9bbe488a9db26dac0b97daf5d28c71c8285ed8 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 17 Feb 2014 15:03:27 +0000 Subject: Initial commit of jQuery Mobile skin based on work from vkrishn Includes custom theme created by upgrading jquery.mobile.theme-1.2.0.css to 1.4.0 compatibility. --- template-welcome-read-html.lsp | 117 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 template-welcome-read-html.lsp (limited to 'template-welcome-read-html.lsp') diff --git a/template-welcome-read-html.lsp b/template-welcome-read-html.lsp new file mode 100644 index 0000000..a7fc4f8 --- /dev/null +++ b/template-welcome-read-html.lsp @@ -0,0 +1,117 @@ +<% local viewtable, viewlibrary, pageinfo, session = ... + html=require("acf.html") %> +Status: 200 OK +Content-Type: text/html +<% if (session.id) then + io.write( html.cookie.set("sessionid", session.id) ) + else + io.write (html.cookie.unset("sessionid")) + end +%> + + + + + + + +<% +local hostname = "" +if viewlibrary and viewlibrary.dispatch_component then + local result = viewlibrary.dispatch_component("alpine-baselayout/hostname/read", nil, true) + if result and result.value then + hostname = result.value + end +end +%> +<%= html.html_escape(hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action) %> + +themes/jquery.mobile.icons.min.css" /> +themes/jqmobile-skin.min.css" /> + +jqmobile.css"/> + + + + + + + +
+ +
+ + <% if pageinfo.controller == 'welcome' then %> + + <% end %> + +
+ <% if session.userinfo and session.userinfo.userid then %> + + <% end %> + + <% if not (session.userinfo and session.userinfo.userid) then %> + <% pageinfo.viewfunc(viewtable, viewlibrary, pageinfo, session) %> + <% end %> +
+ +
+ + + +
+ + + + + -- cgit v1.2.3