Author: akazakov
Date: 2012-04-27 20:00:28 -0400 (Fri, 27 Apr 2012)
New Revision: 40603
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.properties
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.xml
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml
Log:
https://issues.jboss.org/browse/JBIDE-11511 HTML5 jQuery Mobile Template
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2012-04-27 23:55:49 UTC (rev
40602)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2012-04-28 00:00:28 UTC (rev
40603)
@@ -727,6 +727,10 @@
file="templates/xhtmldefault-templates.xml"
translations="$nl$/templates/xhtmldefault-templates.properties">
</include>
+ <include
+ file="templates/htmldefault-templates.xml"
+ translations="$nl$/templates/htmldefault-templates.properties">
+ </include>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.properties
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.properties
(rev 0)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.properties 2012-04-28
00:00:28 UTC (rev 40603)
@@ -0,0 +1,3 @@
+Templates.html.jQueryMobile = HTML5 jQuery Mobile Page
+Templates.html.jQueryMobile.desc = HTML5 jQuery Mobile Template
+Templates.html.jQueryMobile.content = <!DOCTYPE html> \n<html><head>
\n <title>jQuery Mobile Template</title> \n <meta
http-equiv="Content-Type" content="text/html; charset=utf-8" />
\n <meta name="viewport" \n content="width=device-width,
initial-scale=1, user-scalable=0" /> \n \n <link rel="stylesheet"
\n
href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.cs... />
\n \n <script type="text/javascript"
\n
src="http://code.jquery.com/jquery-1.7.2.min.js"></script...
\n <script type="text/javascript"
\n
src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js&...
\n <script type="text/javascript">
\n $$(document).on("pageinit", function(event){ \n alert("Ready To
Go"); \n }); \n </script> \n</head> \n \n<body> \n <div
data-role="page" id="page1"> \n <div
data-role="header"> \n <h1>jQuery Mobile</h1> \n </div>
\n \n <div data-role="content"> \n <ul id="listOfItems"
data-role="listview" data-inset="true"
\n data-filter="true"> \n!
<li><a href="">One</a></li> \n <li><a
href="">Two</a></li> \n <li><a
href="">Three</a></li> \n </ul> \n </div> \n
\n <div data-role="footer">
\n <
h4>www.jboss.org/developer</h4> \n </div> \n \n </div>
\n</body> \n</html> \n
\ No newline at end of file
Property changes on:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.xml
(rev 0)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.xml 2012-04-28
00:00:28 UTC (rev 40603)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates>
+
+<template name="%Templates.html.jQueryMobile"
description="%Templates.html.jQueryMobile.desc"
id="org.jboss.tools.jst.ui.html.jquery" context="html_new"
enabled="true">%Templates.html.jQueryMobile.content</template>
+
+</templates>
\ No newline at end of file
Property changes on:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/htmldefault-templates.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml 2012-04-27
23:55:49 UTC (rev 40602)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/templates/xhtmldefault-templates.xml 2012-04-28
00:00:28 UTC (rev 40603)
@@ -13,4 +13,4 @@
<template name="%Templates.xhtml.jsf.richfaces"
description="%Templates.xhtml.jsf.richfaces.desc"
id="org.jboss.tools.jsf.ui.richfaces" context="xhtml_new"
enabled="true">%Templates.xhtml.jsf.richfaces.content</template>
-</templates>
+</templates>
\ No newline at end of file