Skip to content
Snippets Groups Projects
Commit 97d52756 authored by Renaud Le Gac's avatar Renaud Le Gac
Browse files

The new way to handle view.

parent 821e07eb
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- $Id$ -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" lang="en" content="{{=response.author}}" />
<meta name="keywords" content="{{=response.keywords}}" />
<meta name="description" content="{{=response.description}}" />
<title>{{=response.title or URL(r=request)}}</title>
<!-- load css and js files -->
{{for el in response.files:
if el.endswith('css'):}}<link rel="stylesheet" type="text/css" href="{{=el}}"/>
{{elif el.endswith('appbase.js') or el.endswith('dbui.min.js'):}}
<script type="text/javascript">
Ext.namespace('App');
App.name = '{{=request.application}}';
App.debug = {{=str(debug).lower()}};
App.withMathJax = {{=str(withMathJax).lower()}};
</script>
<script type="text/javascript" src="{{=el}}"></script>
{{elif el.endswith('js'):}}<script type="text/javascript" src="{{=el}}"></script>
{{pass
pass}}
<!-- API definition for Ext.Direct -->
<script type="text/javascript" src="/{{=request.application}}/plugin_dbui/call/get_api"></script>
</head>
<body>
<div id='appmain'></div>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment