Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0c38c60

Browse files
Se agrega navbar de bootstrap con opcion de cerrar sesion
1 parent 7517f18 commit 0c38c60

File tree

1 file changed

+34
-6
lines changed

1 file changed

+34
-6
lines changed

‎app/views/Main/main.php

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,41 @@
88
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
99
</head>
1010
<body>
11-
<!-- Main jumbotron for a primary marketing message or call to action -->
12-
<div class="jumbotron">
13-
<div class="container text-center">
14-
<h1>Sesión iniciada</h1>
15-
<h3><?= $email ?></h3>
16-
<a href="/php-mvc/main/logout">Cerrar sesión</a>
11+
12+
<nav class="navbar navbar-default">
13+
<div class="container">
14+
<div class="navbar-header">
15+
<a class="navbar-brand" href="#">Developero</a>
16+
</div>
17+
18+
<ul class="nav navbar-nav navbar-right">
19+
<li class="dropdown">
20+
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?= $email ?> <span class="caret"></span></a>
21+
<ul class="dropdown-menu">
22+
<li><a href="/php-mvc/main/logout">Cerrar sesión</a></li>
23+
</ul>
24+
</li>
25+
</ul>
26+
1727
</div>
28+
</nav>
29+
30+
<div class="container">
31+
32+
<!-- Main jumbotron for a primary marketing message or call to action -->
33+
<div class="jumbotron">
34+
<div class="container text-center">
35+
<h1>Sesión iniciada</h1>
36+
<p>Puedes modificar esta página como desees.</p>
37+
</div>
38+
</div>
39+
1840
</div>
41+
42+
<!-- Jquery -->
43+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
44+
45+
<!-- Latest compiled and minified JavaScript -->
46+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
1947
</body>
2048
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /