Browse Source

Added footer to identity server

tags/3.0.0^2
Teknikode 8 months ago
parent
commit
bed3d95d9e

+ 41
- 2
IdentityServer/Content/common.css View File

@@ -1,6 +1,45 @@
body {
margin-top: 15px;
html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}

body {
padding-top: 25px;
}

/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by its height */
margin: 0 auto -27px;
/* Pad bottom by footer height */
padding: 0 0 27px;
}

/* Set the fixed height of the footer here */
#footer {
height: auto;
font-size: 14px;
line-height: 17px;
text-align: center;
padding: 5px 0;
margin: 0;
border-radius: 0;
background-color: #333;
color: #f5f5f5;
border: none;
min-height: 12px;
}

#footer .btn, #footer .input-group-addon, #footer .form-control {
background-color: #444;
color: #dedede;
border-color: #4a4a4a;
}

.navbar-header {
position: relative;
top: -4px;

+ 9
- 0
IdentityServer/Views/Shared/_Footer.cshtml View File

@@ -0,0 +1,9 @@
<footer id="footer" class="footer navbar navbar-default">
<div class="container">
<div class="row">
<div class="col-sm-12 text-right text-muted">
&copy; Teknik 2013-2019&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://privacy.teknik.io/">Privacy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://tos.teknik.io/">Terms of Service</a>
</div>
</div>
</div>
</footer>

+ 1
- 0
IdentityServer/Views/Shared/_Layout.cshtml View File

@@ -51,5 +51,6 @@
<div id="wrap">
@RenderBody()
</div>
@await Html.PartialAsync("_Footer")
</body>
</html>

Loading…
Cancel
Save