Skip to content

Commit

Permalink
fix: provide most recent asset versions
Browse files Browse the repository at this point in the history
- Bootstrap 4.5.0
- jQuery 3.5.1
- FontAwesome 5.13.0

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
  • Loading branch information
weierophinney committed May 27, 2020
1 parent 9d920e5 commit 7585994
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
$this->headLink()
->prependStylesheet('https://use.fontawesome.com/releases/v5.12.1/css/all.css')
->prependStylesheet('https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css');
->prependStylesheet('https://use.fontawesome.com/releases/v5.13.0/css/all.css')
->prependStylesheet('https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css');
$this->inlineScript()
->prependFile('https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js')
->prependFile('https://code.jquery.com/jquery-3.5.0.min.js');
->prependFile('https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js')
->prependFile('https://code.jquery.com/jquery-3.5.1.min.js');
?>
<!DOCTYPE html>
<html>
Expand Down
8 changes: 4 additions & 4 deletions src/MezzioInstaller/Resources/templates/plates/layout.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title><?=$this->e($title)?> - mezzio</title>
<link rel="shortcut icon" href="https://getlaminas.org/images/favicon/favicon.ico" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" />
<link href="https://use.fontawesome.com/releases/v5.12.1/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" />
<link href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" rel="stylesheet" />
<style>
body { padding-top: 70px; }
.app { min-height: 100vh; }
Expand Down Expand Up @@ -74,8 +74,8 @@
</div>
</footer>

<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<?=$this->section('javascript')?>
</body>
</html>
8 changes: 4 additions & 4 deletions src/MezzioInstaller/Resources/templates/twig/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>{% block title %}{% endblock %} - mezzio</title>
<link rel="shortcut icon" href="https://getlaminas.org/images/favicon/favicon.ico" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" />
<link href="https://use.fontawesome.com/releases/v5.12.1/css/all.css" rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" />
<link href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" rel="stylesheet" />
<style>
body { padding-top: 70px; }
.app { min-height: 100vh; }
Expand Down Expand Up @@ -72,8 +72,8 @@
</div>
</footer>

<script src="https://code.jquery.com/jquery-3.5.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
{% block javascript %}{% endblock %}
</body>
</html>

0 comments on commit 7585994

Please sign in to comment.