mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 23:15:05 +00:00
Initial commit
This commit is contained in:
14
GerenciaProjetos/Views/Home/Index.cshtml
Normal file
14
GerenciaProjetos/Views/Home/Index.cshtml
Normal file
@ -0,0 +1,14 @@
|
||||
@{
|
||||
ViewData["Title"] = "Dashboard";
|
||||
}
|
||||
|
||||
<h3>@ViewData["Title"]</h3>
|
||||
<p>Manage your account settings, and set up social network integration.</p>
|
||||
|
||||
<section class="py-3">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
a
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
14
GerenciaProjetos/Views/Home/Privacy.cshtml
Normal file
14
GerenciaProjetos/Views/Home/Privacy.cshtml
Normal file
@ -0,0 +1,14 @@
|
||||
@{
|
||||
ViewData["Title"] = "Política de Privacidade";
|
||||
}
|
||||
|
||||
<h3>@ViewData["Title"]</h3>
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
||||
|
||||
<section class="py-3">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
a
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
25
GerenciaProjetos/Views/Shared/Error.cshtml
Normal file
25
GerenciaProjetos/Views/Shared/Error.cshtml
Normal file
@ -0,0 +1,25 @@
|
||||
@model ErrorViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Error";
|
||||
}
|
||||
|
||||
<h1 class="text-danger">Error.</h1>
|
||||
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
||||
|
||||
@if (Model.ShowRequestId)
|
||||
{
|
||||
<p>
|
||||
<strong>Request ID:</strong> <code>@Model.RequestId</code>
|
||||
</p>
|
||||
}
|
||||
|
||||
<h3>Development Mode</h3>
|
||||
<p>
|
||||
Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
|
||||
</p>
|
||||
<p>
|
||||
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
|
||||
It can result in displaying sensitive information from exceptions to end users.
|
||||
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
|
||||
and restarting the app.
|
||||
</p>
|
25
GerenciaProjetos/Views/Shared/_CookieConsentPartial.cshtml
Normal file
25
GerenciaProjetos/Views/Shared/_CookieConsentPartial.cshtml
Normal file
@ -0,0 +1,25 @@
|
||||
@using Microsoft.AspNetCore.Http.Features
|
||||
|
||||
@{
|
||||
var consentFeature = Context.Features.Get<ITrackingConsentFeature>();
|
||||
var showBanner = !consentFeature?.CanTrack ?? false;
|
||||
var cookieString = consentFeature?.CreateConsentCookie();
|
||||
}
|
||||
|
||||
@if (showBanner)
|
||||
{
|
||||
<div id="cookieConsent" class="alert alert-info alert-dismissible fade show" role="alert">
|
||||
Use this space to summarize your privacy and cookie use policy. <a asp-area="" asp-controller="Home" asp-action="Privacy">Learn More</a>.
|
||||
<button type="button" class="accept-policy close" data-dismiss="alert" aria-label="Close" data-cookie-string="@cookieString">
|
||||
<span aria-hidden="true">Accept</span>
|
||||
</button>
|
||||
</div>
|
||||
<script>
|
||||
(function () {
|
||||
var button = document.querySelector("#cookieConsent button[data-cookie-string]");
|
||||
button.addEventListener("click", function (event) {
|
||||
document.cookie = button.dataset.cookieString;
|
||||
}, false);
|
||||
})();
|
||||
</script>
|
||||
}
|
159
GerenciaProjetos/Views/Shared/_Layout.cshtml
Normal file
159
GerenciaProjetos/Views/Shared/_Layout.cshtml
Normal file
@ -0,0 +1,159 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - GerenciaProjetos</title>
|
||||
|
||||
<environment include="Development">
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
|
||||
</environment>
|
||||
<environment exclude="Development">
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
||||
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"
|
||||
crossorigin="anonymous"
|
||||
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"/>
|
||||
</environment>
|
||||
<link rel="stylesheet" href="~/css/site.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-dark bg-dark border-bottom box-shadow mb-3">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Dashboard</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse">
|
||||
<ul class="navbar-nav flex-grow-1">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<div class="container">
|
||||
<!--<partial name="_CookieConsentPartial" />-->
|
||||
<main role="main" class="pb-3">
|
||||
@RenderBody()
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="text-center">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="https://twitter.com/tribufucom" target="_blank" style="color: #00aced;">
|
||||
<i class="fab fa-2x fa-twitter"></i>
|
||||
</a>
|
||||
</li>
|
||||
@if (true)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="https://www.youtube.com/channel/UC_lQ7lHpEQTNt65v-r2JcOg?ab_channel=GuiNerd" target="_blank" style="color: #e62117;">
|
||||
<i class="fab fa-2x fa-youtube"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (true)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="https://steamcommunity.com/groups/tribufucom" target="_blank" style="color: #231f20;">
|
||||
<i class="fab fa-2x fa-steam"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (false)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="#" target="_blank" style="color: #ff4500;">
|
||||
<i class="fab fa-2x fa-reddit"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (false)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="#" target="_blank" style="color: #3d6594;">
|
||||
<i class="fab fa-2x fa-facebook-square"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (true)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="https://github.com/TribuFu" target="_blank" style="color: #24292e;">
|
||||
<i class="fab fa-2x fa-github"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (true)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="https://www.instagram.com/tribufucom/" target="_blank" style="color: #e13d62;">
|
||||
<i class="fab fa-2x fa-instagram"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (true)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="https://www.linkedin.com/company/tribufu/" target="_blank" style="color: #3d6594;">
|
||||
<i class="fab fa-2x fa-linkedin"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
@if (false)
|
||||
{
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" href="#" target="_blank" style="color: #bd081c;">
|
||||
<i class="fab fa-2x fa-pinterest"></i>
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
@if (true)
|
||||
{
|
||||
<ul class="list-inline" style="margin-bottom:0em;">
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" asp-area="" asp-controller="Home" asp-action="Privacy" asp-route-id="">Privacidade</a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a class="text-decoration-none" asp-area="" asp-controller="Home" asp-action="" asp-route-id="">Contate Nos</a>
|
||||
</li>
|
||||
</ul>
|
||||
<small style="color:#8d9aa6;">Copyright © TribuFu @DateTime.Now.Year</small>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<environment include="Development">
|
||||
<script src="~/lib/jquery/dist/jquery.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.js"></script>
|
||||
</environment>
|
||||
<environment exclude="Development">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"
|
||||
asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
|
||||
asp-fallback-test="window.jQuery"
|
||||
crossorigin="anonymous"
|
||||
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=">
|
||||
</script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"
|
||||
asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
|
||||
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"
|
||||
crossorigin="anonymous"
|
||||
integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o">
|
||||
</script>
|
||||
</environment>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
|
||||
@RenderSection("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,18 @@
|
||||
<environment include="Development">
|
||||
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script>
|
||||
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
|
||||
</environment>
|
||||
<environment exclude="Development">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js"
|
||||
asp-fallback-src="~/lib/jquery-validation/dist/jquery.validate.min.js"
|
||||
asp-fallback-test="window.jQuery && window.jQuery.validator"
|
||||
crossorigin="anonymous"
|
||||
integrity="sha256-F6h55Qw6sweK+t7SiOJX+2bpSAa3b/fnlrVCJvmEj1A=">
|
||||
</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validation-unobtrusive/3.2.11/jquery.validate.unobtrusive.min.js"
|
||||
asp-fallback-src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"
|
||||
asp-fallback-test="window.jQuery && window.jQuery.validator && window.jQuery.validator.unobtrusive"
|
||||
crossorigin="anonymous"
|
||||
integrity="sha256-9GycpJnliUjJDVDqP0UEu/bsm9U+3dnQUH8+3W10vkY=">
|
||||
</script>
|
||||
</environment>
|
3
GerenciaProjetos/Views/_ViewImports.cshtml
Normal file
3
GerenciaProjetos/Views/_ViewImports.cshtml
Normal file
@ -0,0 +1,3 @@
|
||||
@using GerenciaProjetos
|
||||
@using GerenciaProjetos.Models
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
3
GerenciaProjetos/Views/_ViewStart.cshtml
Normal file
3
GerenciaProjetos/Views/_ViewStart.cshtml
Normal file
@ -0,0 +1,3 @@
|
||||
@{
|
||||
Layout = "_Layout";
|
||||
}
|
Reference in New Issue
Block a user