Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 534614c

Browse files
committed
Bootstrap updated to the latest version - 4.0.0
1 parent 2c18d94 commit 534614c

File tree

12 files changed

+10648
-8130
lines changed

12 files changed

+10648
-8130
lines changed

module/Application/view/application/index/index.phtml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<div class="row">
1616

1717
<div class="col-md-4">
18-
<div class="panel panel-default">
19-
<div class="panel-heading">
20-
<h3 class="panel-title">Follow Development</h3>
18+
<div class="card">
19+
<div class="card-header">
20+
<h2 class="card-title">Follow Development</h2>
2121
</div>
22-
<div class="panel-body">
22+
<div class="card-body">
2323
<p>
2424
Zend Framework is under active development. If you are
2525
interested in following the development of ZF, you can check
@@ -35,11 +35,11 @@
3535
</div>
3636

3737
<div class="col-md-4">
38-
<div class="panel panel-default">
39-
<div class="panel-heading">
40-
<h3 class="panel-title">Discover Modules</h3>
38+
<div class="card">
39+
<div class="card-header">
40+
<h2 class="card-title">Discover Modules</h2>
4141
</div>
42-
<div class="panel-body">
42+
<div class="card-body">
4343
<p>
4444
The community is working on developing a community site to
4545
serve as a repository and gallery for ZF modules. The
@@ -54,11 +54,11 @@
5454
</div>
5555

5656
<div class="col-md-4">
57-
<div class="panel panel-default">
58-
<div class="panel-heading">
59-
<h3 class="panel-title">Help &amp; Support</h3>
57+
<div class="card">
58+
<div class="card-header">
59+
<h2 class="card-title">Help &amp; Support</h2>
6060
</div>
61-
<div class="panel-body">
61+
<div class="card-body">
6262
<p>
6363
If you need any help or support while developing with ZF,
6464
you may reach us via IRC: <a href="irc://irc.freenode.net/zftalk">#zftalk on Freenode</a>.

module/Application/view/layout/layout.phtml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,31 @@
1313
<!-- Le styles -->
1414
<?= $this->headLink(['rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/img/favicon.ico'])
1515
->prependStylesheet($this->basePath('css/style.css'))
16-
->prependStylesheet($this->basePath('css/bootstrap-theme.min.css'))
1716
->prependStylesheet($this->basePath('css/bootstrap.min.css'))
1817
?>
1918

2019
<!-- Scripts -->
21-
<?= $this->headScript()
20+
<?= $this->inlineScript()
2221
->prependFile($this->basePath('js/bootstrap.min.js'))
23-
->prependFile($this->basePath('js/jquery-3.1.0.min.js'))
22+
->prependFile($this->basePath('js/jquery-3.3.1.min.js'))
2423
?>
2524
</head>
2625
<body>
27-
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
26+
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark" role="navigation">
2827
<div class="container">
2928
<div class="navbar-header">
30-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
31-
<span class="icon-bar"></span>
32-
<span class="icon-bar"></span>
33-
<span class="icon-bar"></span>
29+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
30+
<span class="navbar-toggler-icon"></span>
3431
</button>
3532
<a class="navbar-brand" href="<?= $this->url('home') ?>">
3633
<img src="<?= $this->basePath('img/zf-logo-mark.svg') ?>" height="28" alt="Zend Framework <?= \Application\Module::VERSION ?>"/>&nbsp;Skeleton Application
3734
</a>
3835
</div>
39-
<div class="collapse navbar-collapse">
40-
<ul class="nav navbar-nav">
41-
<li class="active"><a href="<?= $this->url('home') ?>">Home</a></li>
36+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
37+
<ul class="navbar-nav mr-auto">
38+
<li class="nav-item active">
39+
<a class="nav-link" href="<?= $this->url('home') ?>">Home <span class="sr-only">(current)</span></a>
40+
</li>
4241
</ul>
4342
</div>
4443
</div>

0 commit comments

Comments
 (0)