summaryrefslogtreecommitdiffstats
path: root/app/dispatcherror-html.lsp
blob: a72c1482dcb1e30d4253de0ca3a2e12af631bcff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<% view, viewlibrary, page_info = ... %>

<style type="text/css">
	p.hiddendetail {
		display: none;
	}
	p.error a{
		display: block;
		font-weight: normal;
		font-size: 75%;
	}
</style>
<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script>
<script type="text/javascript">
	var clickIt = function(){
			$("p.hiddendetail").removeClass("hiddendetail").show("slow");
			$(this).fadeOut("slow");
	};
	$(document).ready(function(){
		$("p.errordetail").append('<a href="javascript:;">Show Detail</a>').find("a").click(clickIt);
		$("p.errordetail").addClass("error");
	});
</script>

<h1>Alpine Configuration Framework</h1>
<p class="errordetail">Dispatch error occured</p>
<p class="hiddendetail">'<%= html.html_escape(view.controller) %>' does not have a '<%= html.html_escape(view.action) %>' action.</p>