diff options
Diffstat (limited to 'src/ffluci/view')
-rw-r--r-- | src/ffluci/view/cbi/footer.htm | 1 | ||||
-rw-r--r-- | src/ffluci/view/cbi/map.htm | 1 | ||||
-rw-r--r-- | src/ffluci/view/error500.htm | 5 | ||||
-rw-r--r-- | src/ffluci/view/header.htm | 8 |
4 files changed, 10 insertions, 5 deletions
diff --git a/src/ffluci/view/cbi/footer.htm b/src/ffluci/view/cbi/footer.htm index e8ef8fef5e..8fc212b88b 100644 --- a/src/ffluci/view/cbi/footer.htm +++ b/src/ffluci/view/cbi/footer.htm @@ -1,2 +1,3 @@ + <input type="submit" /> <input type="reset" /> </form> <%+footer%>
\ No newline at end of file diff --git a/src/ffluci/view/cbi/map.htm b/src/ffluci/view/cbi/map.htm index e6884f1045..83c377fb86 100644 --- a/src/ffluci/view/cbi/map.htm +++ b/src/ffluci/view/cbi/map.htm @@ -4,5 +4,4 @@ <br /> <% self:render_children() %> <br /> - <input type="submit" /> <input type="reset" /> </div> diff --git a/src/ffluci/view/error500.htm b/src/ffluci/view/error500.htm new file mode 100644 index 0000000000..8af22e8f20 --- /dev/null +++ b/src/ffluci/view/error500.htm @@ -0,0 +1,5 @@ +<%+header%> +<h1>500 Internal Server Error</h1> +<p>Sorry, the server encountered an unexpected error.</p> +<tt><%=message%></tt> +<%+footer%>
\ No newline at end of file diff --git a/src/ffluci/view/header.htm b/src/ffluci/view/header.htm index 2af577a078..cd2a64b55c 100644 --- a/src/ffluci/view/header.htm +++ b/src/ffluci/view/header.htm @@ -9,10 +9,10 @@ require("ffluci.http").htmlheader() <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" /> -<link rel="stylesheet" type="text/css" href="<%=media%>/css/<%=req.category%>_<%=req.module%>.css" /> -<title>FFLuCI</title> -<% if addheaders then write(addheaders) end %> + <link rel="stylesheet" type="text/css" href="<%=media%>/cascade.css" /> + <link rel="stylesheet" type="text/css" href="<%=media%>/css/<%=req.category%>_<%=req.module%>.css" /> + <link rel="stylesheet" type="text/css" href="<%=media%>/css/<%=req.category%>_<%=req.module%>/<%=req.action%>.css" /> + <title>FFLuCI</title> </head> <body> <div id="header"> |