diff --git a/{{cookiecutter.app_name}}/assets/js/main.js b/{{cookiecutter.app_name}}/assets/js/main.js index bb66bea..ed90e69 100644 --- a/{{cookiecutter.app_name}}/assets/js/main.js +++ b/{{cookiecutter.app_name}}/assets/js/main.js @@ -7,6 +7,7 @@ // JavaScript modules require('jquery'); require('font-awesome-webpack'); +require('popper.js'); require('bootstrap'); // Your own code diff --git a/{{cookiecutter.app_name}}/package.json b/{{cookiecutter.app_name}}/package.json index da1d4d0..f1aa713 100644 --- a/{{cookiecutter.app_name}}/package.json +++ b/{{cookiecutter.app_name}}/package.json @@ -21,9 +21,10 @@ }, "homepage": "https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.app_name}}#readme", "dependencies": { - "bootstrap": "^3.3.7", + "bootstrap": "^4.1.3", "font-awesome": "^4.7.0", - "jquery": "^3.2.1" + "jquery": "^3.2.1", + "popper.js": "^1.14.3" }, "devDependencies": { "babel-core": "^6.25.0", @@ -45,6 +46,7 @@ "style-loader": "^0.23.0", "url-loader": "^1.0.1", "webpack": "^2.6.1", - "webpack-dev-server": "^3.1.5" + "webpack-dev-server": "^3.1.5", + "sync-exec": "^0.6.2" } } diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html index 725edb4..b0a83de 100644 --- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html +++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html @@ -32,28 +32,26 @@ {% endwith %}
{% block header %}{% endblock %}
-
-
- {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} -
-
- {% for category, message in messages %} -
- × - {{message}} -
- {% endfor %} -
-
- {% endif %} - {% endwith %} +
+{% with messages = get_flashed_messages(with_categories=true) %} +{% if messages %} +
+
+ {% for category, message in messages %} +
+ × + {{message}} +
+ {% endfor %} +
+
+{% endif %} +{% endwith %} - {% block content %}{% endblock %} -
+{% block content %}{% endblock %} + -
{% include "footer.html" %} diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/nav.html b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/nav.html index faeec2d..29deea0 100644 --- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/nav.html +++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/nav.html @@ -1,49 +1,50 @@ {% raw %} -