Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rendelosch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
DevTeam
Rendelosch
Commits
24d31f15
Commit
24d31f15
authored
1 year ago
by
Gábor Tóth
Browse files
Options
Downloads
Patches
Plain Diff
Add bootstrap navbar
parent
bed8680a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Rendelosch/Pages/Index.cshtml
+1
-1
1 addition, 1 deletion
Rendelosch/Pages/Index.cshtml
Rendelosch/Pages/Shared/_Layout.cshtml
+57
-3
57 additions, 3 deletions
Rendelosch/Pages/Shared/_Layout.cshtml
with
58 additions
and
4 deletions
Rendelosch/Pages/Index.cshtml
+
1
−
1
View file @
24d31f15
@page
@model Rendelosch.Pages.Index
@{
ViewData["Title"] = "
Re
nde
losch
";
ViewData["Title"] = "
I
nde
x
";
}
<div
class=
"container-lg"
>
...
...
This diff is collapsed.
Click to expand it.
Rendelosch/Pages/Shared/_Layout.cshtml
+
57
−
3
View file @
24d31f15
...
...
@@ -7,19 +7,73 @@
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin=
"anonymous"
>
</head>
<body>
<nav
class=
"navbar navbar-expand-lg bg-body-tertiary"
>
<div
class=
"container-fluid"
>
<a
class=
"navbar-brand"
href=
"#"
>
<img
src=
"/favicon.ico"
alt=
"Logo"
width=
"30"
height=
"30"
class=
"d-inline-block align-text-top"
>
Rendelosch
</a>
<button
class=
"navbar-toggler"
type=
"button"
data-bs-toggle=
"collapse"
data-bs-target=
"#navbarSupportedContent"
aria-controls=
"navbarSupportedContent"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
</button>
<div
class=
"collapse navbar-collapse"
id=
"navbarSupportedContent"
>
<ul
class=
"navbar-nav me-auto mb-2 mb-lg-0"
>
<li
class=
"nav-item"
>
<!-- TDOO show which page is active currently - create Tag Helper? -->
<a
class=
"nav-link"
asp-page=
"Index"
>
Home
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-page=
"Privacy"
>
Privacy
</a>
</li>
<li
class=
"nav-item dropdown"
>
<a
class=
"nav-link dropdown-toggle"
href=
"#"
role=
"button"
data-bs-toggle=
"dropdown"
aria-expanded=
"false"
>
Dropdown
</a>
<ul
class=
"dropdown-menu"
>
<li>
<a
class=
"dropdown-item"
href=
"#"
>
Action
</a>
</li>
<li>
<a
class=
"dropdown-item"
href=
"#"
>
Another action
</a>
</li>
<li>
<hr
class=
"dropdown-divider"
>
</li>
<li>
<a
class=
"dropdown-item"
href=
"#"
>
Something else here
</a>
</li>
</ul>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link disabled"
aria-disabled=
"true"
>
Disabled
</a>
</li>
</ul>
<form
class=
"d-flex"
role=
"search"
>
<input
class=
"form-control me-2"
type=
"search"
placeholder=
"Search"
aria-label=
"Search"
>
<button
class=
"btn btn-outline-success"
type=
"submit"
>
Search
</button>
</form>
</div>
</div>
</nav>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"column col-2"
>
<a
asp-page=
"Index"
><h4>
Index
</h4></a>
<a
asp-page=
"Index"
>
<h4>
Index
</h4>
</a>
</div>
<div
class=
"column col-2"
>
<a
asp-page=
"Privacy"
><h4>
Privacy
</h4></a>
<a
asp-page=
"Privacy"
>
<h4>
Privacy
</h4>
</a>
</div>
</div>
</div>
@RenderBody()
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity=
"sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity=
"sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js"
integrity=
"sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"
crossorigin=
"anonymous"
></script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment