Skip to content

Commit

Permalink
Minor fixes (l33d4n#4)
Browse files Browse the repository at this point in the history
- Update meta title
- Load local js file
- Remove unused html code
- Fix committerGravatar img src
  • Loading branch information
l33d4n authored Jan 22, 2021
1 parent f97b3b5 commit a95e4a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 25 deletions.
26 changes: 2 additions & 24 deletions activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TurtleCoin Open Issues</title>
<title>TurtleCoin GitHub Activity Stream</title>
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
<meta name="msapplication-TileColor" content="#43b380">
<meta name="theme-color" content="#43b380">
Expand Down Expand Up @@ -151,28 +151,6 @@ <h5 class="subheader">Repositories</h5>
</div>
<div id="main" class="col-lg-9">
<div class="card" id="feed">
<div class="card-header">
<h3 class="card-title">turtlecoin/turtlecoin-wallet-backend-js <span class="badge badge-pill bg-green">5</span></h3>
</div>
<div class="list list-row list-hoverable">

<div class="list-item">
<div class="item">
<a href="#" class="text-body h3 d-inline-block mb-0" data-toggle="tooltip" data-placement="top" title="- Allow for using the LedgerNote library instead of CryptoNote library if LedgerTransport is provided
- Add more WalletError num entries for Ledger based operations ... ">Hook up Ledger Wallet Integration</a>
<small class="d-block text-muted mt-n1">#93 opened on 2020-08-21 by brandonlehmann</small>
</div>
<a href="#" class="list-item-actions show">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"></path>
<path d="M4 21v-13a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-9l-4 4"></path>
<line x1="8" y1="9" x2="16" y2="9"></line>
<line x1="8" y1="13" x2="14" y2="13"></line>
</svg>2
</a>
</div>

</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -210,7 +188,7 @@ <h3 class="card-title">turtlecoin/turtlecoin-wallet-backend-js <span class="badg
<script src="./dist/js/dark-mode.js"></script>
<!-- GitHub Activity -->
<script src="./dist/js/github-activity.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.2/mustache.min.js"></script>
<script src="./dist/js/mustache.min.js"></script>
<script>
document.body.style.display = "block"
</script>
Expand Down
2 changes: 1 addition & 1 deletion dist/js/github-activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var GitHubActivity = (function() {
}
if (i < 2) {
d.shaLink = methods.renderGitHubLink(data.repo.name + '/commit/' + d.sha, d.sha.substring(0, 6), 'gha-sha');
d.committerGravatar = Mustache.render('<img class="avatar avatar-sm mr-1" src="https://gravatar.com/avatar/{{hash}}?s=30&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png" width="16" />', { hash: md5(d.author.email) });
d.committerGravatar = Mustache.render('<span class="avatar avatar-sm mr-1" style="background-image: url({{url}})"></span>', { url: data.actor.avatar_url });
} else {
// Delete the rest of the commits after the first 2, and then break out of the each loop.
p.commits.splice(2, p.size);
Expand Down
1 change: 1 addition & 0 deletions dist/js/mustache.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a95e4a1

Please sign in to comment.