mirror of
https://github.com/Prominence/grails-translations-plugin.git
synced 2026-07-03 02:36:46 +03:00
Added main layout.
Added twitter-bootstrap plugin. Minor changes.
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user