aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/tags/common/head.tagx
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-28 13:13:14 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-28 13:13:14 +0100
commitc9ff3d5495b0229d837fa0ec23486cc7b6b191d0 (patch)
treeb978427f431aa41c59115978c6a017db84b9f2ec /src/main/webapp/WEB-INF/tags/common/head.tagx
parent422b1caeaa9f7d069a9208ecb0d0249485b1a05e (diff)
downloadesper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.tar.gz
esper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.tar.bz2
esper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.tar.xz
esper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.zip
o Listing builds on the person view.
Diffstat (limited to 'src/main/webapp/WEB-INF/tags/common/head.tagx')
-rw-r--r--src/main/webapp/WEB-INF/tags/common/head.tagx36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/tags/common/head.tagx b/src/main/webapp/WEB-INF/tags/common/head.tagx
new file mode 100644
index 0000000..2384b20
--- /dev/null
+++ b/src/main/webapp/WEB-INF/tags/common/head.tagx
@@ -0,0 +1,36 @@
+<!--suppress JspAbsolutePathInspection -->
+<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page"
+ xmlns:c="http://java.sun.com/jsp/jstl/core">
+ <jsp:output omit-xml-declaration="yes"/>
+ <jsp:directive.attribute name="title" type="java.lang.String" required="false"/>
+ <jsp:directive.attribute name="app" type="java.lang.String" required="false"/>
+
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <title><c:if test="${not empty title }">${title } - </c:if>Yeah</title>
+
+ <link type="text/css" rel="stylesheet" href="/external/bootstrap-2.2.2/css/bootstrap.css"/>
+ <link type="text/css" rel="stylesheet" href="/external/angular-ui/ng-grid-1.5.0/ng-grid.css"/>
+ <link type="text/css" rel="stylesheet" href="/apps/app.css"/>
+
+ <script type="text/javascript" src="/external/headjs-0.99/head.min.js"><!-- --></script>
+ <script type="text/javascript">
+ head.js(
+ {jquery: "/external/jquery-1.8.3/jquery-1.8.3.js"},
+ {angularjs: "/external/angular-1.0.3/angular.js"},
+ {angularjsResource: "/external/angular-1.0.3/angular-resource.js"},
+ {angularUiNgGrid: "/external/angular-ui/ng-grid-1.6.0/ng-grid-1.6.0.debug.js"}
+ );
+ </script>
+ <script>var noCache = new Date().getTime();</script>
+
+ <jsp:doBody/>
+
+ <script type="text/javascript">
+ head.ready(function() {
+ angular.bootstrap(document, [<c:out value="${app}"/>]);
+ });
+ </script>
+ </head>
+
+</jsp:root>