Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Commit

Permalink
Added missing files. Removed unnecessary .gitignore files.
Browse files Browse the repository at this point in the history
  • Loading branch information
joergrech committed Dec 15, 2013
1 parent d6c21e4 commit a81f911
Show file tree
Hide file tree
Showing 14 changed files with 93 additions and 61 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@

# eclipse specific
plugin.xml
.classpath
.project
/.classpath
/.project
.settings
/target-eclipse
org.eclipse.core.resources.prefs
org.eclipse.jdt.groovy.core.prefs

# IDEA specific
.idea
Expand Down
2 changes: 0 additions & 2 deletions .settings/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion grails-app/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions grails-app/domain/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions grails-app/services/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions grails-app/utils/.gitignore

This file was deleted.

5 changes: 5 additions & 0 deletions grails-app/views/_menu/_search.gsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<g:form controller="tech" action="search" method="post" class="navbar-form navbar-left" >
<div class="form-group fieldcontain text-center">
<input name="query" type="text" class="form-control" placeholder="${message(code: 'search.navbar.placeholder', default: 'Search ...')}" value="${query}">
</div>
</g:form>
36 changes: 36 additions & 0 deletions grails-app/views/home/nextSteps.gsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<html>

<head>
<title>Next Steps</title>
<meta name="layout" content="kickstart" />
</head>

<body>

<h1>Next Steps</h1>

<section id="intro" class="first">
<h3>Authentication via Spring Security</h3>
<p>
If you want to provide an authentication system I recommend
<a href="http://grails.org/plugin/spring-security-core">Spring Security</a>.
Kickstart comes with views for the login (/login/auth.gsp) and auth denied (/login/denied.gsp) views.
</p>
<ol>
<li>Install <a href="http://grails.org/plugin/spring-security-core">spring-security-core</a> in BuildConfig.groovy, e.g.: <pre>compile ":spring-security-core:1.2.7.3"</pre> </li>
<li>Clean and compile your app to load the plugin</li>
<li>Execute the <a href="http://grails-plugins.github.com/grails-spring-security-core/docs/manual/ref/Scripts/s2-quickstart.html">s2-quickstart script</a> to generate the required domain classes <pre>grails s2-quickstart com.yourapp User Role</pre></li>
<ul>
<li>BUT replace "com.yourapp" with your package structure (e.g., "com.${meta(name:'app.name')}.security")</li>
<li>Do not overwrite the views auth.gsp and denied.gsp (or copy them from the Kickstart plugin)</li>
</ul>
<li>Set security configuration in your Config.groovy (see <a href="http://grails-plugins.github.com/grails-spring-security-core/docs/manual/guide/5%20Configuring%20Request%20Mappings%20to%20Secure%20URLs.html#5.2%20Simple%20Map%20in%20Config.groovy">here</a>)</li>
</ol>
</section>

<%--TODO: Search via elasticsearch--%>

</body>

</html>

52 changes: 24 additions & 28 deletions grails-app/views/siteinfo/about.gsp
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
<html>

<head>
<title><g:message code="default.about.title" args="[meta(name:'app.name')]"/></title>
<meta name="layout" content="kickstart" />
</head>

<body>

<section id="intro">
<h1><g:message code="default.welcome.title" args="[meta(name:'app.name')]"/></h1>
<p class="lead">
${meta(name:'app.name')}
is the hottest System since sliced bread!
</p>
</section>

<section id="additional">
<h1><g:message code="default.welcome.title" args="['Kickstart']"/></h1>
<p>Kickstart is an extension for Grails in order to start with a
good looking template for your project. It uses the Bootstrap web
page template by Twitter and provides adapted scaffolding templates
for standard web pages.</p>
</section>

</body>

</html>
<html>

<head>
<title><g:message code="default.about.title" args="[meta(name:'app.name')]"/></title>
<meta name="layout" content="kickstart" />
</head>

<body>

<section id="intro">
<h1><g:message code="default.welcome.title" args="[meta(name:'app.name')]"/></h1>
</section>

<section id="additional">
<h1><g:message code="default.welcome.title" args="['Kickstart']"/></h1>
<p>Kickstart is an extension for Grails in order to start with a
good looking template for your project. It uses the Bootstrap web
page template by Twitter and provides adapted scaffolding templates
for standard web pages.</p>
</section>

</body>

</html>
24 changes: 24 additions & 0 deletions grails-app/views/siteinfo/terms.gsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<html>

<head>
<title><g:message code="default.terms.title" args="[meta(name:'app.name')]"/></title>
<meta name="layout" content="kickstart" />
</head>

<body>

<section id="intro">
<h1><g:message code="default.terms.title" args="[meta(name:'app.name')]"/></h1>
</section>

<section id="additional">
<h1><g:message code="default.welcome.title" args="['Kickstart']"/></h1>
<p>Kickstart is an extension for Grails in order to start with a
good looking template for your project. It uses the Bootstrap web
page template by Twitter and provides adapted scaffolding templates
for standard web pages.</p>
</section>

</body>

</html>
4 changes: 0 additions & 4 deletions src/java/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions test/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions test/integration/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions test/unit/.gitignore

This file was deleted.

0 comments on commit a81f911

Please sign in to comment.