Files
marechai/cicm_web/Views/Shared/_Layout.cshtml

162 lines
5.6 KiB
Plaintext
Raw Normal View History

2018-04-14 04:41:04 +01:00
@using Microsoft.Extensions.PlatformAbstractions
2018-04-11 05:55:27 +01:00
@{
/******************************************************************************
// Canary Islands Computer Museum Website
// ----------------------------------------------------------------------------
//
// Filename : _Layout.cshtml
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// --[ Description ] ----------------------------------------------------------
//
// Page layout
//
// --[ License ] --------------------------------------------------------------
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta content="width=device-width, initial-scale=1.0"
name=viewport />
<title>Canary Islands Computer Museum - @ViewData["Title"]</title>
<environment include=Development>
<link href=~/lib/bootstrap/dist/css/bootstrap.css
rel=stylesheet />
<link href=~/css/site.css
rel=stylesheet />
</environment>
<environment exclude=Development>
<link asp-fallback-href=~/lib/bootstrap/dist/css/bootstrap.min.css
asp-fallback-test-class=sr-only
asp-fallback-test-property=position
asp-fallback-test-value=absolute
href=https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css
rel=stylesheet />
<link asp-append-version=true
href=~/css/site.min.css
rel=stylesheet />
</environment>
</head>
<body>
<nav class="bg-dark navbar navbar-dark navbar-expand-lg">
<a class=navbar-brand
href=#>
CICM
</a>
<button aria-controls=navbarSupportedContent
aria-expanded=false
aria-label="Toggle navigation"
class=navbar-toggler
data-target=#navbarSupportedContent
data-toggle=collapse
type=button>
<span class=navbar-toggler-icon>
</span>
</button>
<div class="collapse navbar-collapse"
id=navbarSupportedContent>
<ul class="mr-auto navbar-nav">
<li class=nav-item>
<a asp-action=Index
asp-area=""
asp-controller=Home
class=nav-link>
Home
</a>
</li>
<li class="dropdown nav-item">
<a aria-expanded=false
aria-haspopup=true
class="dropdown-toggle nav-link"
data-toggle=dropdown
href=#
id=navbarDropdown
role=button>
Database
</a>
<div aria-labelledby=navbarDropdown
class=dropdown-menu>
2018-04-14 04:41:04 +01:00
<a asp-action=Index
asp-controller=Computer
class=dropdown-item>
2018-04-11 05:55:27 +01:00
Computers
</a>
<div class=dropdown-divider>
</div>
<a class=dropdown-item
href=#>
Consoles
</a>
</div>
</li>
<li class=nav-item>
<a asp-action=About
asp-area=""
asp-controller=Home
class=nav-link>
About
</a>
</li>
<li class=nav-item>
<a asp-action=Contact
asp-area=""
asp-controller=Home
class=nav-link>
Contact
</a>
</li>
</ul>
</div>
</nav>
<div class="body-content container">
@RenderBody()
<hr />
<footer>
2018-04-14 04:41:04 +01:00
<p>&copy; 2018 Natalia Portillo, @(PlatformServices.Default.Application.ApplicationVersion)</p>
2018-04-11 05:55:27 +01:00
</footer>
</div>
<environment include=Development>
<script src=~/lib/jquery/dist/jquery.js></script>
<script src=~/lib/bootstrap/dist/js/bootstrap.js></script>
<script asp-append-version=true
src=~/js/site.js></script>
</environment>
<environment exclude=Development>
<script asp-fallback-src=~/lib/jquery/dist/jquery.min.js
asp-fallback-test=window.jQuery
crossorigin=anonymous
src=https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.3.1.min.js>
</script>
<script asp-fallback-src=~/lib/bootstrap/dist/js/bootstrap.min.js
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"
crossorigin=anonymous
src=https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/bootstrap.min.js>
</script>
<script asp-append-version=true
src=~/js/site.min.js></script>
</environment>
@RenderSection("Scripts", false)
</body>
</html>