mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:35:50 +00:00
AA: Set Grunt to not minify HTML and include Bootstrap JS on distribution build
This commit is contained in:
parent
58a020f0d4
commit
855394a6a6
9 changed files with 1799 additions and 26 deletions
|
@ -198,10 +198,7 @@ module.exports = function(grunt) {
|
|||
wiredep: {
|
||||
app: {
|
||||
ignorePath: /^\/|\.\.\//,
|
||||
src: ['<%= config.app %>/index.html'],
|
||||
exclude: [
|
||||
'bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js'
|
||||
]
|
||||
src: ['<%= config.app %>/index.html']
|
||||
},
|
||||
sass: {
|
||||
src: ['<%= config.app %>/styles/{,*/}*.{scss,sass}'],
|
||||
|
@ -442,7 +439,7 @@ module.exports = function(grunt) {
|
|||
// 'rev',
|
||||
'usemin',
|
||||
// For Development - Prevent minification
|
||||
'htmlmin'
|
||||
// 'htmlmin'
|
||||
]);
|
||||
|
||||
grunt.registerTask('default', [
|
||||
|
|
|
@ -316,6 +316,7 @@
|
|||
<!-- build:js(.) scripts/vendor.js -->
|
||||
<!-- bower:js -->
|
||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||
<script src="bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js"></script>
|
||||
<!-- endbower -->
|
||||
<!-- endbuild -->
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<li><a href="#" data-toggle="modal" data-target="#addOwnerModal"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></a></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle img-profile" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||
<img class="img-circle img-circle-small" src="../images/avatar.jpg" width="30" height="30">
|
||||
<img class="img-circle img-circle-small" src="images/avatar.jpg" width="30" height="30">
|
||||
</a>
|
||||
<ul class="dropdown-menu navbar-dropdown-menu">
|
||||
<li><a href="#">View Profile</a></li>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<div class="container">
|
||||
<div class="media media-welcome">
|
||||
<div class="media-left">
|
||||
<img src="../images/owner-default.png" class="img-circle media-object" width="90" height="90">
|
||||
<img src="images/owner-default.png" class="img-circle media-object" width="90" height="90">
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<div class="pull-right stats stats-lg">
|
||||
|
@ -178,7 +178,7 @@
|
|||
<div class="row thumbnail-wrapper">
|
||||
<div class="col-md-3">
|
||||
<div class="thumbnail">
|
||||
<img src="../images/pet-default.png" class="img-circle" alt="Generic placeholder image">
|
||||
<img src="images/pet-default.png" class="img-circle" alt="Generic placeholder image">
|
||||
<div class="caption">
|
||||
<h3 class="caption-heading">Basil</h3>
|
||||
<p class="caption-meta">08 August 2012</p>
|
||||
|
@ -617,7 +617,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Add Pet Visit Modal -->
|
||||
<div class="modal modal-owner fade" id="addPetVisitModal" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
|
|
302
src/main/webapp/static/dist/dashboard.html
vendored
302
src/main/webapp/static/dist/dashboard.html
vendored
File diff suppressed because one or more lines are too long
235
src/main/webapp/static/dist/discover.html
vendored
235
src/main/webapp/static/dist/discover.html
vendored
File diff suppressed because one or more lines are too long
323
src/main/webapp/static/dist/index.html
vendored
323
src/main/webapp/static/dist/index.html
vendored
File diff suppressed because one or more lines are too long
741
src/main/webapp/static/dist/owner_details.html
vendored
741
src/main/webapp/static/dist/owner_details.html
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
204
src/main/webapp/static/dist/show.html
vendored
204
src/main/webapp/static/dist/show.html
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue