Permalink
Browse files

Fresh setup on a newly created Grail 2.3.5 plugin project. Update to

Grails 2.3.5. Removed dependency for Font-Awesome (Bootstrap uses
Glyphicon's Icon-Font now). Correction of "alert-error" into
"alert-danger" - changed in Bootstrap 3 (Tip by Leo Bartoloni). Fix for
display:none in scaffolding (Merged by "stlhrt")
  • Loading branch information...
1 parent 4eacca3 commit b0f9e5c9e7cc020286d32c16dc7fe0361169fa70 @joergrech committed Jan 26, 2014
Showing with 2,630 additions and 8,239 deletions.
  1. +10 −55 .classpath
  2. +1 −1 .project
  3. +1 −1 .settings/org.eclipse.jdt.groovy.core.prefs
  4. +2 −2 .settings/org.grails.ide.eclipse.core.prefs
  5. +1 −2 KickstartWithBootstrapGrailsPlugin.groovy
  6. +8 −4 README.mediawiki
  7. +5 −2 application.properties
  8. +10 −9 grails-app/conf/BuildConfig.groovy
  9. +11 −4 grails-app/conf/Config.groovy
  10. +13 −1 grails-app/conf/KickstartConfig.groovy
  11. +46 −41 grails-app/conf/KickstartResources.groovy
  12. +1 −1 grails-app/views/_DemoPage/create.gsp
  13. +1 −1 grails-app/views/_DemoPage/edit.gsp
  14. +10 −10 grails-app/views/_common/buttons/_editSymbolLink.gsp
  15. +10 −10 grails-app/views/_common/buttons/_showSymbolLink.gsp
  16. +10 −10 grails-app/views/_common/modals/_deleteSymbolLink.gsp
  17. +11 −11 grails-app/views/_common/modals/_deleteTextLink.gsp
  18. +12 −12 grails-app/views/_common/modals/_registerTextLink.gsp
  19. +42 −42 grails-app/views/_errors/403.gsp
  20. +42 −42 grails-app/views/_errors/404.gsp
  21. +1 −1 grails-app/views/_errors/500.gsp
  22. +42 −42 grails-app/views/_errors/503.gsp
  23. +25 −42 grails-app/views/_menu/_admin.gsp
  24. +11 −11 grails-app/views/_menu/_controller.gsp
  25. +5 −7 grails-app/views/_menu/_info.gsp
  26. +29 −29 grails-app/views/_menu/_language.gsp
  27. +1 −1 grails-app/views/_menu/_navbar.gsp
  28. +1 −1 grails-app/views/_menu/_search.gsp
  29. +3 −3 grails-app/views/_menu/_submenubar.gsp
  30. +68 −68 grails-app/views/_menu/_user.gsp
  31. +93 −144 grails-app/views/home/index.gsp
  32. +24 −8 grails-app/views/home/nextSteps.gsp
  33. +7 −7 grails-app/views/layouts/_footer.gsp
  34. +2 −2 grails-app/views/layouts/kickstart.gsp
  35. +60 −0 grails-app/views/login/auth.gsp
  36. +44 −0 grails-app/views/login/denied.gsp
  37. +0 −3 grails-app/views/siteinfo/systeminfo.gsp
  38. +2 −1 scripts/Kickstart.groovy
  39. +5 −0 scripts/_Uninstall.groovy
  40. +10 −0 scripts/_Upgrade.groovy
  41. +0 −3 src/templates/artifacts/ScaffoldingController.groovy
  42. +1 −1 src/templates/scaffolding/create.gsp
  43. +1 −1 src/templates/scaffolding/edit.gsp
  44. +2 −4 src/templates/war/web.xml
  45. +34 −0 web-app/WEB-INF/applicationContext.xml
  46. +14 −0 web-app/WEB-INF/sitemesh.xml
  47. +8 −0 web-app/bootstrap/.gitattributes
  48. +1 −0 web-app/bootstrap/.gitignore
  49. +2 −3 web-app/bootstrap/.travis.yml
  50. +20 −2 web-app/bootstrap/CONTRIBUTING.md
  51. +105 −12 web-app/bootstrap/Gruntfile.js
  52. +2 −1 web-app/bootstrap/README.md
  53. +6 −6 web-app/bootstrap/_config.yml
  54. +16 −2 web-app/bootstrap/_includes/footer.html
  55. +4 −0 web-app/bootstrap/_includes/nav-getting-started.html
  56. +1 −0 web-app/bootstrap/about.html
  57. +22 −3 web-app/bootstrap/bower.json
  58. +0 −37 web-app/bootstrap/browserstack.json
  59. +235 −210 web-app/bootstrap/components.html
  60. +1 −1 web-app/bootstrap/composer.json
  61. +7 −8 web-app/bootstrap/css.html
  62. +1 −1 web-app/bootstrap/customize.html
  63. +1 −63 web-app/bootstrap/dist/css/bootstrap-theme.css
  64. +2 −4 web-app/bootstrap/dist/css/bootstrap-theme.min.css
  65. +401 −381 web-app/bootstrap/dist/css/bootstrap.css
  66. +2 −4 web-app/bootstrap/dist/css/bootstrap.min.css
  67. +32 −28 web-app/bootstrap/dist/js/bootstrap.js
  68. +2 −4 web-app/bootstrap/dist/js/bootstrap.min.js
  69. +3 −2 web-app/bootstrap/docs-assets/css/docs.css
  70. +1 −1 web-app/bootstrap/docs-assets/js/application.js
  71. +2 −2 web-app/bootstrap/docs-assets/js/customizer.js
  72. +376 −146 web-app/bootstrap/docs-assets/js/filesaver.js
  73. +202 −106 web-app/bootstrap/docs-assets/js/holder.js
  74. +21 −14 web-app/bootstrap/docs-assets/js/jszip.js
  75. +2 −2 web-app/bootstrap/docs-assets/js/raw-files.js
  76. +1 −1 web-app/bootstrap/examples/jumbotron/index.html
  77. +2 −1 web-app/bootstrap/examples/justified-nav/index.html
  78. +14 −10 web-app/bootstrap/examples/non-responsive/non-responsive.css
  79. +2 −1 web-app/bootstrap/examples/offcanvas/offcanvas.css
  80. BIN web-app/bootstrap/examples/screenshots/jumbotron.jpg
  81. +1 −1 web-app/bootstrap/examples/signin/index.html
  82. +1 −1 web-app/bootstrap/examples/sticky-footer-navbar/index.html
  83. +1 −1 web-app/bootstrap/examples/sticky-footer-navbar/sticky-footer-navbar.css
  84. +1 −1 web-app/bootstrap/examples/sticky-footer/index.html
  85. +1 −1 web-app/bootstrap/examples/sticky-footer/sticky-footer.css
  86. +45 −9 web-app/bootstrap/getting-started.html
  87. +37 −25 web-app/bootstrap/javascript.html
  88. +1 −1 web-app/bootstrap/js/affix.js
  89. +1 −1 web-app/bootstrap/js/alert.js
  90. +11 −5 web-app/bootstrap/js/button.js
  91. +5 −5 web-app/bootstrap/js/carousel.js
  92. +1 −1 web-app/bootstrap/js/collapse.js
  93. +5 −5 web-app/bootstrap/js/dropdown.js
  94. +1 −1 web-app/bootstrap/js/modal.js
  95. +1 −1 web-app/bootstrap/js/popover.js
  96. +2 −2 web-app/bootstrap/js/scrollspy.js
  97. +1 −1 web-app/bootstrap/js/tab.js
  98. +6 −0 web-app/bootstrap/js/tests/unit/button.js
  99. +1 −1 web-app/bootstrap/js/tooltip.js
  100. +1 −1 web-app/bootstrap/js/transition.js
  101. +6 −6 web-app/bootstrap/less/badges.less
  102. +7 −33 web-app/bootstrap/less/button-groups.less
  103. +2 −5 web-app/bootstrap/less/buttons.less
  104. +1 −0 web-app/bootstrap/less/carousel.less
  105. +3 −8 web-app/bootstrap/less/dropdowns.less
  106. +11 −0 web-app/bootstrap/less/forms.less
  107. +5 −5 web-app/bootstrap/less/glyphicons.less
  108. +12 −26 web-app/bootstrap/less/grid.less
  109. +1 −1 web-app/bootstrap/less/input-groups.less
  110. +8 −2 web-app/bootstrap/less/jumbotron.less
  111. +6 −0 web-app/bootstrap/less/labels.less
  112. +37 −50 web-app/bootstrap/less/mixins.less
  113. +2 −5 web-app/bootstrap/less/modals.less
  114. +41 −53 web-app/bootstrap/less/navbar.less
  115. +0 −20 web-app/bootstrap/less/navs.less
  116. +11 −1 web-app/bootstrap/less/panels.less
  117. +0 −12 web-app/bootstrap/less/progress-bars.less
  118. +17 −22 web-app/bootstrap/less/tables.less
  119. +9 −3 web-app/bootstrap/less/thumbnails.less
  120. +54 −52 web-app/bootstrap/less/type.less
  121. +15 −10 web-app/bootstrap/less/variables.less
  122. +15 −4 web-app/bootstrap/package.json
  123. +1 −1 web-app/datepicker/README.md
  124. BIN web-app/images/apple-touch-icon-retina.png
  125. BIN web-app/images/apple-touch-icon.png
  126. BIN web-app/{kickstart/img/grails.png → images/brand_logo.png}
  127. BIN web-app/images/favicon.ico
  128. BIN web-app/images/frontpage/empty.png
  129. BIN web-app/images/grails_logo.jpg
  130. BIN web-app/images/grails_logo.png
  131. BIN web-app/images/icons/apple-touch-icon-retina.png
  132. BIN web-app/images/icons/apple-touch-icon.png
  133. BIN web-app/images/leftnav_btm.png
  134. BIN web-app/images/leftnav_midstretch.png
  135. BIN web-app/images/leftnav_top.png
  136. BIN web-app/images/skin/database_add.png
  137. BIN web-app/images/skin/database_delete.png
  138. BIN web-app/images/skin/database_edit.png
  139. BIN web-app/images/skin/database_save.png
  140. BIN web-app/images/skin/database_table.png
  141. BIN web-app/images/skin/exclamation.png
  142. BIN web-app/images/skin/house.png
  143. BIN web-app/images/skin/information.png
  144. BIN web-app/images/skin/shadow.jpg
  145. BIN web-app/images/skin/sorted_asc.gif
  146. BIN web-app/images/skin/sorted_desc.gif
  147. BIN web-app/images/spinner.gif
  148. BIN web-app/images/springsource.png
  149. +1 −1 web-app/{less → kickstart/css}/dummy.css
  150. +12 −1 web-app/kickstart/css/kickstart.css
  151. +0 −34 web-app/less/bootstrap/accordion.less
  152. +0 −79 web-app/less/bootstrap/alerts.less
  153. +0 −63 web-app/less/bootstrap/bootstrap.less
  154. +0 −24 web-app/less/bootstrap/breadcrumbs.less
  155. +0 −229 web-app/less/bootstrap/button-groups.less
  156. +0 −228 web-app/less/bootstrap/buttons.less
  157. +0 −158 web-app/less/bootstrap/carousel.less
  158. +0 −32 web-app/less/bootstrap/close.less
  159. +0 −61 web-app/less/bootstrap/code.less
  160. +0 −22 web-app/less/bootstrap/component-animations.less
  161. +0 −237 web-app/less/bootstrap/dropdowns.less
  162. +0 −690 web-app/less/bootstrap/forms.less
  163. +0 −21 web-app/less/bootstrap/grid.less
  164. +0 −25 web-app/less/bootstrap/hero-unit.less
  165. +0 −84 web-app/less/bootstrap/labels-badges.less
  166. +0 −16 web-app/less/bootstrap/layouts.less
  167. +0 −55 web-app/less/bootstrap/media.less
  168. +0 −702 web-app/less/bootstrap/mixins.less
  169. +0 −95 web-app/less/bootstrap/modals.less
  170. +0 −497 web-app/less/bootstrap/navbar.less
  171. +0 −409 web-app/less/bootstrap/navs.less
  172. +0 −43 web-app/less/bootstrap/pager.less
  173. +0 −123 web-app/less/bootstrap/pagination.less
  174. +0 −133 web-app/less/bootstrap/popovers.less
  175. +0 −122 web-app/less/bootstrap/progress-bars.less
  176. +0 −216 web-app/less/bootstrap/reset.less
  177. +0 −28 web-app/less/bootstrap/responsive-1200px-min.less
  178. +0 −193 web-app/less/bootstrap/responsive-767px-max.less
  179. +0 −19 web-app/less/bootstrap/responsive-768px-979px.less
  180. +0 −189 web-app/less/bootstrap/responsive-navbar.less
  181. +0 −59 web-app/less/bootstrap/responsive-utilities.less
  182. +0 −48 web-app/less/bootstrap/responsive.less
  183. +0 −53 web-app/less/bootstrap/scaffolding.less
  184. +0 −197 web-app/less/bootstrap/sprites.less
  185. +0 −244 web-app/less/bootstrap/tables.less
  186. +0 −53 web-app/less/bootstrap/thumbnails.less
  187. +0 −70 web-app/less/bootstrap/tooltip.less
  188. +0 −247 web-app/less/bootstrap/type.less
  189. +0 −30 web-app/less/bootstrap/utilities.less
  190. +0 −301 web-app/less/bootstrap/variables.less
  191. +0 −29 web-app/less/bootstrap/wells.less
  192. BIN web-app/less/img/glyphicons-halflings-white.png
  193. BIN web-app/less/img/glyphicons-halflings.png
View
@@ -11,92 +11,47 @@
<classpathentry kind="src" path="test/integration"/>
<classpathentry kind="src" path="test/unit"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="src" path=".link_to_grails_plugins/font-awesome-resources-3.2.1.2/grails-app/assets">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/font-awesome-resources-3.2.1.2/grails-app/conf">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/font-awesome-resources-3.2.1.2/grails-app/i18n">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/font-awesome-resources-3.2.1.2/grails-app/resourceMappers">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/jquery-1.8.3/grails-app/conf">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/jquery-1.8.3/grails-app/i18n">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/jquery-1.8.3/grails-app/services">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/jquery-1.8.3/grails-app/taglib">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/jquery-1.8.3/src/groovy">
- <attributes>
- <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
- </attributes>
- </classpathentry>
<classpathentry kind="src" path=".link_to_grails_plugins/lesscss-resources-1.3.3/grails-app/resourceMappers">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/release-2.2.1/src/groovy">
+ <classpathentry kind="src" path=".link_to_grails_plugins/release-3.0.1/src/groovy">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/release-2.2.1/src/java">
+ <classpathentry kind="src" path=".link_to_grails_plugins/release-3.0.1/src/java">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/resources-1.2/grails-app/conf">
+ <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/resources-1.2.1/grails-app/conf">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2/grails-app/i18n">
+ <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2.1/grails-app/i18n">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2/grails-app/resourceMappers">
+ <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2.1/grails-app/resourceMappers">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2/grails-app/taglib">
+ <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2.1/grails-app/taglib">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2/src/groovy">
+ <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2.1/src/groovy">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2/src/java">
+ <classpathentry kind="src" path=".link_to_grails_plugins/resources-1.2.1/src/java">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
@@ -106,12 +61,12 @@
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry excluding="BuildConfig.groovy|*DataSource.groovy|UrlMappings.groovy|Config.groovy|BootStrap.groovy|spring/resources.groovy" kind="src" path=".link_to_grails_plugins/webxml-1.4.1/grails-app/conf">
+ <classpathentry kind="src" path=".link_to_grails_plugins/scaffolding-2.0.1/src/groovy">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
</classpathentry>
- <classpathentry kind="src" path=".link_to_grails_plugins/webxml-1.4.1/src/groovy">
+ <classpathentry kind="src" path=".link_to_grails_plugins/scaffolding-2.0.1/src/java">
<attributes>
<attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
</attributes>
View
@@ -26,7 +26,7 @@
<link>
<name>.link_to_grails_plugins</name>
<type>2</type>
- <location>C:/Users/Rech/repos/KickstartWithBootstrap/target/plugins</location>
+ <locationURI>GRAILS_ROOT/2.3.5/projects/kickstartWithBootstrap/plugins</locationURI>
</link>
</linkedResources>
</projectDescription>
@@ -1,3 +1,3 @@
eclipse.preferences.version=1
-groovy.compiler.level=20
+groovy.compiler.level=21
groovy.script.filters=**/*.dsld,y,scripts/**/*.groovy,y,src/main/resources/**/*.groovy,y,src/test/resources/**/*.groovy,y
@@ -1,3 +1,3 @@
eclipse.preferences.version=1
-org.grails.ide.eclipse.core.org.grails.ide.eclipse.core.install.name=Grails 2.2.4
-org.grails.ide.eclipse.core.use.default.install=true
+org.grails.ide.eclipse.core.org.grails.ide.eclipse.core.install.name=Grails 2.3.5
+org.grails.ide.eclipse.core.use.default.install=false
@@ -3,7 +3,7 @@ import kickstart.CustomDateEditorRegistrar
class KickstartWithBootstrapGrailsPlugin {
def title = "Kickstart with Bootstrap - Good looking websites!"
- def version = "1.0.3"
+ def version = "1.1.0"
def license = "APACHE"
def description = """\
Kickstart is a plugin for Grails to start your project with a good looking frontend. \
@@ -12,7 +12,6 @@ frontend framework initiated by Twitter."""
def grailsVersion = "2.3 > * "
def pluginExcludes = [
- 'src/templates/**',
'web-app/WEB-INF/**'
]
View
@@ -84,12 +84,16 @@ Please note that the '''datepicker''' can handle dates after the year 9999 while
** Copyright 2011-2013 Joerg Rech
** see http://joerg-rech.com and follow @JoergRech
-== Backlog ==
-'''1.0.3''' Fix for Date binding (currently, the date binding does not work)<br/>
-'''1.0.2''' Fix for DatePicker (currently, the datepicker requires jQuery 1.8.3)<br/>
-'''1.0.1''' Fix for index vs list actions (currently, both are supported) <br/>
+== Backlog: Work required / Problems ==
+'''1.x.1''' Fix for Date binding (currently, the date binding does not work)<br/>
+'''1.x.2''' Fix for DatePicker (currently, the datepicker requires jQuery 1.8.3)<br/>
+'''1.x.3''' Fix for index vs list actions (currently, both are supported) <br/>
== Changelog ==
+'''1.1.0''' Fresh setup on a newly created Grail 2.3.5 plugin project. Update to Grails 2.3.5.<br/>
+'''1.0.5''' Removed dependency for Font-Awesome (Bootstrap uses Glyphicon's Icon-Font now)<br/>
+'''1.0.4''' Correction of "alert-error" into "alert-danger" - changed in Bootstrap 3 (Tip by Leo Bartoloni)<br/>
+'''1.0.3''' Fix for display:none in scaffolding (Merged by "stlhrt") <br/>
'''1.0.0''' Upgrade to Grail 2.3.4 <br/>
'''0.9.9.1''' Fixed missing search view. Integrated cleanup by Burt Beckwith. <br/>
'''0.9.9''' Upgraded to Bootstrap 3.0.2. <br/>
View
@@ -1,2 +1,5 @@
-app.grails.version=2.2.4
-app.name=kickstartWithBootstrapGrailsPlugin
+#Grails Metadata file
+#Sat Jan 25 08:08:58 CET 2014
+app.grails.version=2.3.5
+#app.name=kickstart
+app.name=kickstartWithBootstrap
@@ -1,4 +1,6 @@
-grails.project.work.dir = 'target'
+grails.project.class.dir = "target/classes"
+grails.project.test.class.dir = "target/test-classes"
+grails.project.test.reports.dir = "target/test-reports"
grails.project.dependency.resolution = {
@@ -15,14 +17,13 @@ grails.project.dependency.resolution = {
}
plugins {
- build ":release:2.2.1", { export = false }
- build ":rest-client-builder:1.0.3", { export = false }
+ build( ":release:3.0.1",
+ ":rest-client-builder:1.0.3") {
+ export = false
+ }
+ compile ":scaffolding:2.0.1" // Needed since Grails 2.3
- runtime ":jquery:1.8.3" // needed for the Bootstrap datepicker
-// runtime ":jquery:1.10.2.2" // WARN: does not work with Bootstrap Datepicker !
- runtime ":resources:1.2" // needed for Bootstrap's less files
-
- compile ":lesscss-resources:1.3.3" // needed for Bootstrap's less files
- compile ":font-awesome-resources:3.2.1.2" // needed for Bootstrap's image replacement
+ runtime ":resources:1.2.1" // Needed for Bootstrap's less files
+ compile ":lesscss-resources:1.3.3" // Needed for Bootstrap's less files
}
}
@@ -1,8 +1,5 @@
import org.apache.log4j.Level
-// configuration for plugin testing - will not be included in the plugin zip
-grails.app.context ="/"
-
// hide dbconsole resource files (css, js, etc.) from the resource plugin
grails.resources.adhoc.patterns = ['/dbconsole/**']
@@ -22,5 +19,15 @@ log4j = {
layout: pattern(conversionPattern: '%m%n')
}
- info 'grails.app.filters'
+ error 'org.codehaus.groovy.grails.web.servlet', // controllers
+ 'org.codehaus.groovy.grails.web.pages', // GSP
+ 'org.codehaus.groovy.grails.web.sitemesh', // layouts
+ 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
+ 'org.codehaus.groovy.grails.web.mapping', // URL mapping
+ 'org.codehaus.groovy.grails.commons', // core / classloading
+ 'org.codehaus.groovy.grails.plugins', // plugins
+ 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
+ 'org.springframework',
+ 'org.hibernate',
+ 'net.sf.ehcache.hibernate'
}
@@ -19,5 +19,17 @@ log4j = {
layout: pattern(conversionPattern: '%m%n')
}
- info 'grails.app.filters'
+ error 'org.codehaus.groovy.grails.web.servlet', // controllers
+ 'org.codehaus.groovy.grails.web.pages', // GSP
+ 'org.codehaus.groovy.grails.web.sitemesh', // layouts
+ 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
+ 'org.codehaus.groovy.grails.web.mapping', // URL mapping
+ 'org.codehaus.groovy.grails.commons', // core / classloading
+ 'org.codehaus.groovy.grails.plugins', // plugins
+ 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
+ 'org.springframework',
+ 'org.hibernate',
+ 'net.sf.ehcache.hibernate'
+
+ info 'grails.app.filters'
}
@@ -1,41 +1,46 @@
-// Settings for the resources and less-css plugins to "compile" less files into css
-
-modules = {
-
-// if ( (grails.resources?.processing?.enabled != [:] && grails.resources.processing.enabled.booleanValue() == false) ) {
- /* Bootstrap definitions without less (if resource processing is switched off) */
- 'bootstrap' {
-// dependsOn 'jquery'
- resource url: [dir: 'bootstrap/js/tests/vendor',file: 'jquery.js']
- resource url: [dir: 'bootstrap/dist/js', file: 'bootstrap.js']
- resource url: [dir: 'bootstrap/dist/css', file: 'bootstrap.css']
-// resource url: [dir: 'bootstrap/dist/css', file: 'bootstrap-theme.css']
-// resource url: [dir: 'bootstrap/dist/css', file: 'bootstrap-responsive.css']
- }
- log.info "| Using CSS files instead of generating from LESS files! (resource processing was switched off)"
-// } else {
-// /* Bootstrap definitions with less */
-// 'bootstrap' {
-//// dependsOn 'jquery'
-// resource url: [dir: 'bootstrap/assets/js', file: 'jquery.js']
-// resource url: [dir: 'bootstrap/dist/js', file: 'bootstrap.js']
-// resource url: [dir: 'bootstrap/less', file: 'bootstrap.less']
-//// resource url: [dir: 'bootstrap/less', file: 'responsive.less']
-// resource url: "less/dummy.css" // empty css: see https://github.com/paulfairless/grails-lesscss-resources/issues/25
-// }
-// log.info "| Using LESS files to generate CSS files!"
-// }
-
- // Utility resources (must be loaded after bootstrap skin resources)
- // Duplication necessary as switching skins causes new skin to be loaded after utilities!
- 'bootstrap_utils' {
- dependsOn 'bootstrap, font-awesome'
- resource url: [dir: 'datepicker/js', file: 'bootstrap-datepicker.js']
- resource url: [dir: 'kickstart/js', file: 'kickstart.js']
- resource url: [dir: 'kickstart/js', file: 'checkboxes.js']
- resource url: [dir: 'datepicker/css', file: 'datepicker.css']
- resource url: [dir: 'kickstart/css', file: 'docs.css']
- resource url: [dir: 'kickstart/css', file: 'kickstart.css']
- resource url: "less/dummy.css" // empty css: see https://github.com/paulfairless/grails-lesscss-resources/issues/25
- }
-}
+// Settings for the resources and less-css plugins to "compile" less files into css
+
+modules = {
+
+ /* Bootstrap definitions without less (if resource processing is switched off) */
+ 'bootstrap' {
+ resource url: [dir: 'bootstrap/js/tests/vendor',file: 'jquery.js']
+ resource url: [dir: 'bootstrap/dist/js', file: 'bootstrap.js']
+ resource url: [dir: 'bootstrap/dist/css', file: 'bootstrap.css']
+ }
+ log.info "| Using CSS files instead of generating from LESS files! (resource processing was switched off)"
+
+ /* Utility resources (must be loaded after bootstrap skin resources) */
+ 'bootstrap_utils' {
+ dependsOn 'bootstrap'
+ resource url: [dir: 'datepicker/js', file: 'bootstrap-datepicker.js']
+ resource url: [dir: 'datepicker/css', file: 'datepicker.css']
+ resource url: [dir: 'kickstart/js', file: 'kickstart.js']
+ resource url: [dir: 'kickstart/js', file: 'checkboxes.js']
+ resource url: [dir: 'kickstart/css', file: 'docs.css']
+ resource url: [dir: 'kickstart/css', file: 'kickstart.css']
+ }
+
+// if (!(grails.resources?.processing?.enabled != [:] && grails.resources.processing.enabled.booleanValue() == false) ) {
+ /* Bootstrap definitions with less */
+ 'bootstrap_less' {
+ resource url: [dir: 'bootstrap/js/tests/vendor',file: 'jquery.js']
+ resource url: [dir: 'bootstrap/dist/js', file: 'bootstrap.js']
+ resource url: [dir: 'bootstrap/less', file: 'bootstrap.less']
+ resource url: [dir: 'kickstart/css', file: 'dummy.css'] // empty css: see https://github.com/paulfairless/grails-lesscss-resources/issues/25
+ }
+ log.info "| Using LESS files to generate CSS files!"
+
+ /* Utility resources (must be loaded after bootstrap skin resources) */
+ 'bootstrap_less_utils' {
+ dependsOn 'bootstrap_less'
+ resource url: [dir: 'datepicker/js', file: 'bootstrap-datepicker.js']
+ resource url: [dir: 'datepicker/css', file: 'datepicker.css']
+ resource url: [dir: 'kickstart/js', file: 'kickstart.js']
+ resource url: [dir: 'kickstart/js', file: 'checkboxes.js']
+ resource url: [dir: 'kickstart/css', file: 'docs.css']
+ resource url: [dir: 'kickstart/css', file: 'kickstart.css']
+ }
+// }
+
+}
@@ -14,7 +14,7 @@
<section id="create-_DemoPage" class="first">
<g:hasErrors bean="${_DemoPageInstance}">
- <div class="alert alert-error">
+ <div class="alert alert-danger">
<g:renderErrors bean="${_DemoPageInstance}" as="list" />
</div>
</g:hasErrors>
@@ -14,7 +14,7 @@
<section id="edit-_DemoPage" class="first">
<g:hasErrors bean="${_DemoPageInstance}">
- <div class="alert alert-error">
+ <div class="alert alert-danger">
<g:renderErrors bean="${_DemoPageInstance}" as="list" />
</div>
</g:hasErrors>
@@ -1,10 +1,10 @@
-<!--
-This button is used to call the show page.
--->
-
-<!-- Button -->
-<span class="">
- <g:link action="edit" id="${item ? item.id : params.id}" role="button" class="btn btn-success btn-sm" title="${message(code: 'default.button.edit.label', default: 'Edit')}">
- <i class="icon-pencil icon-large"></i>
- </g:link>
-</span>
+<!--
+This button is used to call the show page.
+-->
+
+<!-- Button -->
+<span class="">
+ <g:link action="edit" id="${item ? item.id : params.id}" role="button" class="btn btn-success btn-sm" title="${message(code: 'default.button.edit.label', default: 'Edit')}">
+ <i class="glyphicon glyphicon-pencil"></i>
+ </g:link>
+</span>
Oops, something went wrong.

0 comments on commit b0f9e5c

Please sign in to comment.