1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Added donation info to footer.

This commit is contained in:
Uncled1023 2016-09-22 14:46:52 -07:00
parent 0c71949223
commit 6ff2f5554c
3 changed files with 32 additions and 6 deletions

View File

@ -15,14 +15,14 @@ body { padding-top: 70px; }
height: auto !important;
height: 100%;
/* Negative indent footer by its height */
margin: 0 auto -90px;
margin: 0 auto -192px;
/* Pad bottom by footer height */
padding: 0 0 80px;
padding: 0 0 192px;
}
/* Set the fixed height of the footer here */
#footer {
height: 70px;
height: auto;
text-align: center;
padding: 15px 0;
margin-top: 20px;

BIN
Teknik/Images/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

View File

@ -4,6 +4,32 @@
<footer id="footer" class="footer navbar navbar-default">
<div class="container">
<div class="row">
<div class="col-sm-10 col-sm-offset-1">
<div class="text-center">
<p>
<small>
While we provide these services for free, sadly that doesn't make the cost magically go away. If you think we are doing a great job and would like to say thanks, we would greatly appreciate a small donation.
</small>
</p>
<form class="form-inline">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MBG93VKQ343P4">
<button type="button" class="btn btn-default btn-sm"><i class="fa fa-paypal"></i></button>
</a>
<a href="https://gratipay.com/~uncled1023/">
<button type="button" class="btn btn-default btn-sm"><i class="fa fa-gratipay"></i></button>
</a>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1"><i class="fa fa-bitcoin"></i></span>
<input type="text" class="form-control input-sm" name="bitcoin_address" value="@Model.Config.BitcoinAddress" readonly>
</div>
</div>
</form>
</div>
</div>
</div>
<br />
@{
Assembly assembly = ViewContext.Controller.GetType().Assembly;
FileVersionInfo fileVersionInfo = FileVersionInfo.GetVersionInfo(assembly.Location);
@ -14,17 +40,17 @@
string commitHash = commitStr.Split('.').Last();
}
<div class="row">
<div class="col-md-6 text-left text-muted">
<div class="col-sm-5 col-sm-offset-1 text-left text-muted">
&copy; Teknik 2013-2016 | <a href="@Url.SubRouteUrl("privacy", "Privacy.Index")">Privacy</a> | <a href="@Url.SubRouteUrl("tos", "TOS.Index")">TOS</a> | <a href="@Url.SubRouteUrl("transparency", "Transparency.Index")">Transparency</a>
</div>
<div class="col-md-6 text-right text-muted">
<div class="col-sm-5 text-right text-muted">
<div id="pagetime" style="display:none;">
Gen: <b><span id="generatetime">0.0</span>ms</b> Load: <b><span id="loadtime">0.0</span>ms</b>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center text-muted">
<div class="col-sm-10 col-sm-offset-1 text-center text-muted">
Version: @string.Format("{0}.{1}", verNum, commitVer) - Hash: <a href="http://git.teknik.io/Teknikode/Teknik/src/@commitHash">@commitHash.Truncate(10)</a>
</div>
</div>