FELIX-1988 Apply 16.license_plugin.patch by Valentin Valchev (thanks)
FELIX-1910 Refactor LicenseServlet to support on-demand loading of licenses (part of 16.license_plugin.patch)

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@911770 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/templates/license.html b/webconsole/src/main/resources/templates/license.html
new file mode 100644
index 0000000..2d59c89
--- /dev/null
+++ b/webconsole/src/main/resources/templates/license.html
@@ -0,0 +1,28 @@
+<script type="text/javascript" src="res/ui/license.js"></script>
+<script type="text/javascript">
+// <![CDATA[
+var bundleData = ${__data__};
+// i18n
+var i18n = {
+	status_ok    : '${license.status.ok}', // The following bundles contains license files.
+	status_none  : '${license.status.none}', // No bundles with license files available
+	resources    : '${license.resources}', // 'Bundle Resources'
+	resources_emb: '${license.resources.embedded}' // 'Embedded {0}'
+}
+// ]]>
+</script>
+
+<!-- status line -->
+<p class="statline">${license.status.ok}</p>
+
+<div id="licenseContent">
+	<div id="licenseLeft" class="ui-widget-content ui-corner-all">
+		<!-- here comes the bundles links -->
+	</div>
+	<div id="licenseRight">
+		<div id="licenseButtons">&nbsp;</div> 
+		<br />
+		<iframe id="licenseDetails" name="licenseDetails" frameborder="0" class="ui-widget-content"></iframe>
+	</div>
+	<div class="ui-helper-clearfix">&nbsp;</div>
+</div>