Home Page Makeover

The application home page can be found in the root view directory: TekDays/grails-app/views/index.gsp.

Let’s open this file now to see what we have to work with:

security.2/TekDays/grails-app/views/index.gsp
 
<!DOCTYPE html>
 
<html>
 
<head>
 
<meta​ name=​"layout"​ content=​"main"​​/>
 
<title>​Welcome to Grails​</title>
 
<!-- embedded CSS omitted for the sake of space -->
 
</head>
 
<body>
 
<a​ href=​"#page-body"​ class=​"skip"​​>​​<g:message
 
code=​"default.link.skip.label"​ default=​"Skip to content​&hellip;​"​​/>​​</a>
 
<div​ id=​"status"​ role=​"complementary"​​>
 
<h1>​Application Status​</h1>
 
<ul>
 
<li>​App version: ​<g:meta​ name=​"app.version"​​/>​​</li>
 
<li>​Grails version: ​ ...

Get Grails 2: A Quick-Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.