Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added components for the second menu, sitemenu

  • Loading branch information...
commit e2d1332aa8f9aabec223a4e7ab904e1a5386841a 1 parent 38373bf
Jettro Coenradie authored
6 grails-app/controllers/nl/gridshore/scheduling/sitemenu/AboutController.groovy
... ... @@ -0,0 +1,6 @@
  1 +package nl.gridshore.scheduling.sitemenu
  2 +
  3 +class AboutController {
  4 + static navigation = [group:'sitemenu',order:10]
  5 + def index = { }
  6 +}
6 grails-app/controllers/nl/gridshore/scheduling/sitemenu/ContactController.groovy
... ... @@ -0,0 +1,6 @@
  1 +package nl.gridshore.scheduling.sitemenu
  2 +
  3 +class ContactController {
  4 + static navigation = [group:'sitemenu',order:20]
  5 + def index = { }
  6 +}
10 grails-app/views/about/index.gsp
... ... @@ -0,0 +1,10 @@
  1 +<%@ page contentType="text/html;charset=UTF-8" %>
  2 +<html>
  3 + <head>
  4 + <title>About page</title>
  5 + <meta name="layout" content="main"/>
  6 + </head>
  7 + <body>
  8 + This is the about page
  9 + </body>
  10 +</html>
10 grails-app/views/contact/index.gsp
... ... @@ -0,0 +1,10 @@
  1 +<%@ page contentType="text/html;charset=UTF-8" %>
  2 +<html>
  3 + <head>
  4 + <title>Contact page</title>
  5 + <meta name="layout" content="main"/>
  6 + </head>
  7 + <body>
  8 + This is the contact page
  9 + </body>
  10 +</html>
17 test/unit/nl/gridshore/scheduling/sitemenu/AboutControllerTests.groovy
... ... @@ -0,0 +1,17 @@
  1 +package nl.gridshore.scheduling.sitemenu
  2 +
  3 +import grails.test.*
  4 +
  5 +class AboutControllerTests extends ControllerUnitTestCase {
  6 + protected void setUp() {
  7 + super.setUp()
  8 + }
  9 +
  10 + protected void tearDown() {
  11 + super.tearDown()
  12 + }
  13 +
  14 + void testSomething() {
  15 +
  16 + }
  17 +}
17 test/unit/nl/gridshore/scheduling/sitemenu/ContactControllerTests.groovy
... ... @@ -0,0 +1,17 @@
  1 +package nl.gridshore.scheduling.sitemenu
  2 +
  3 +import grails.test.*
  4 +
  5 +class ContactControllerTests extends ControllerUnitTestCase {
  6 + protected void setUp() {
  7 + super.setUp()
  8 + }
  9 +
  10 + protected void tearDown() {
  11 + super.tearDown()
  12 + }
  13 +
  14 + void testSomething() {
  15 +
  16 + }
  17 +}

0 comments on commit e2d1332

Please sign in to comment.
Something went wrong with that request. Please try again.