Added main layout.

Added twitter-bootstrap plugin.
Minor changes.
This commit is contained in:
Prominence
2016-06-23 18:31:07 +03:00
parent fe06a6d5d3
commit e36e2bdff5
10 changed files with 57 additions and 25 deletions
@@ -1,11 +1,32 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Test</title>
<meta name="layout" content="main"/>
<title><g:message code="plugin.translations.overview.page.title" /></title>
<r:require modules="bootstrap"/>
</head>
<body>
<g:message code="test.message" />
<g:if test="${bundles}">
<ol>
<g:each in="${bundles}" var="bundle">
<li>${bundle.name}<li>
<ul>
<g:each in="${bundle.propertiesList}" var="properties">
<li>${properties.name}</li>
${properties.text.eachLine { line ->
print('----------> ' + line + '<br/>')
}}
</g:each>
</ul>
</g:each>
</ol>
</g:if>
<g:else>
There is no bundles!
</g:else>
<button class="btn btn-default" type="button">
Test bootstrap button
</button>
</body>
</html>
@@ -1,24 +1,11 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="main"/>
<title>bundles</title>
</head>
<body>
<g:if test="${bundles}">
<g:each in="${bundles}" var="bundle">
${bundle.name} <br />
<g:each in="${bundle.propertiesList}" var="properties">
-> ${properties.name} <br />
${properties.text.eachLine { line ->
print('----------> ' + line + '<br/>')
}}
</g:each>
</g:each>
</g:if>
<g:else>
There is no bundles!
</g:else>
</body>
</html>