Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explorer patch ( mongoose + gulpify + small cleanup ) #305

Merged
merged 10 commits into from Apr 15, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ Follow the project progress at: [ETC Block Explorer Development](https://github.
"symbol": "ETC",
"name": "Ethereum Classic",
"title": "Ethereum Classic Block Explorer",
"author": "Elaine",
"rss": "https://ethereumclassic.org",
"reddit": "https://www.reddit.com/r/EthereumClassic",
"twitter": "https://twitter.com/eth_classic",
"linkedin": "https://www.linkedin.com/company/ethereum-classic",
"github": "https://github.com/ethereumclassic",
"github-repo": "https://github.com/ethereumclassic/explorer",
"logo": "/img/explorer-logo.png",
"copyright": "2019 © Ethereum Classic.",
"poweredbyCustom": false,
Expand Down
2 changes: 1 addition & 1 deletion config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"symbol": "ETC",
"name": "Ethereum Classic",
"title": "Ethereum Classic Block Explorer",
"author": "Elaine, Cody, Hackmod, Bakon",
This conversation was marked as resolved.
Show resolved Hide resolved
"contact": "mailto:ethereumclassicanthony@gmail.com",
"about": "This is an open source Blockchain Explorer.",
"rss": "https://ethereumclassic.org",
"reddit": "https://www.reddit.com/r/EthereumClassic",
"twitter": "https://twitter.com/eth_classic",
"linkedin": "https://www.linkedin.com/company/ethereum-classic",
"github": "https://github.com/ethereumclassic",
"github-repo": "https://github.com/ethereumclassic/explorer",
"logo": "/img/explorer-logo.png",
"copyright": "2019 © Ethereum Classic.",
"poweredbyCustom": false,
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions public/css/etc-explorer.min.css

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

1 change: 1 addition & 0 deletions public/css/layout.min.css

Large diffs are not rendered by default.

28 changes: 16 additions & 12 deletions public/tpl/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,41 @@
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12 footer-block">
<h2>About</h2>
<p> {{settings.about}} </p>
<p> {{settings.about}} </p><br>
<span ng-bind-html="settings.poweredbyCustom" ng-if="settings.poweredbyCustom">{{settings.poweredbyCustom}}</span>
<span ng-if="!settings.poweredbyCustom && settings.poweredbyEtcImage"><a href="https://github.com/ethereumclassic/explorer" target="_blank"><img height="51px" src="{{settings.poweredbyEtcImage}}"></a></span>
<p ng-if="!settings.poweredbyCustom && !settings.poweredbyEtcImage && settings.poweredbyEtc"> Powered by <a href="https://github.com/ethereumclassic/explorer" target="_blank">ETC Explorer</a> </p>
<span ng-if="!settings.poweredbyCustom && settings.poweredbyEtcImage">
<a href="{{settings.github-repo}}" target="_blank"><img height="51px" src="{{settings.poweredbyEtcImage}}"></a>
</span>
<p ng-if="!settings.poweredbyCustom && !settings.poweredbyEtcImage && settings.poweredbyEtc">
Powered by <a href="{{settings.github-repo}}" target="_blank">ETC Explorer</a>
</p>
</div>
<div class="col-md-3 col-sm-6 col-xs-12 footer-block">
<h2>Follow Us On</h2>
<ul class="social-icons">
<li>
<a ng-show="settings.rss" href="{{settings.rss}}" data-original-title="rss" class="rss"></a>
<a ng-show="settings.rss" href="{{settings.rss}}" target="_blank" data-original-title="rss" class="rss"></a>
</li>
<li>
<a ng-show="settings.reddit" href="{{settings.reddit}}" data-original-title="reddit" class="reddit"></a>
<a ng-show="settings.reddit" href="{{settings.reddit}}" target="_blank" data-original-title="reddit" class="reddit"></a>
</li>
<li>
<a ng-show="settings.twitter" href="{{settings.twitter}}" data-original-title="twitter" class="twitter"></a>
<a ng-show="settings.twitter" href="{{settings.twitter}}" target="_blank" data-original-title="twitter" class="twitter"></a>
</li>
<li>
<a ng-show="settings.github" href="{{settings.github}}" data-original-title="github" class="github"></a>
<a ng-show="settings.github" href="{{settings.github}}" target="_blank" data-original-title="github" class="github"></a>
</li>
<li>
<a ng-show="settings.linkedin" href="{{settings.linkedin}}" data-original-title="linkedin" class="linkedin"></a>
<a ng-show="settings.linkedin" href="{{settings.linkedin}}" target="_blank" data-original-title="linkedin" class="linkedin"></a>
</li>
</ul>
</div>
<div ng-show="settings.symbol == 'ETC'" class="col-md-6 col-sm-12 col-xs-12 footer-block">
<div class="col-md-6 col-sm-12 col-xs-12 footer-block">
<h2>Help, it's Broken!</h2>
<address class="margin-bottom-40">
<br>Open an Issue: <a href="https://github.com/ethereumclassic/explorer/issues">github</a>
<br> <a href="mailto:elaine.ou@gmail.com">Email bug reports</a>
<br> <a href="https://twitter.com/eiaine">Twit</a>
<br>Open an Issue: <a href="{{settings.github-repo}}/issues" target="_blank">github</a>
<br> <a href="{{settings.contact}}" target="_blank">Email bug reports</a>
<br> <a href="{{settings.twitter}}" target="_blank">Twit</a>
</address>
</div>
</div>
Expand Down
13 changes: 9 additions & 4 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@
<!-- BEGIN HEAD -->
<head>
<title data-ng-bind="'<%= settings.name %> | ' + $state.current.data.pageTitle"></title>
<meta property="og:title" content="<%= settings.name %>">
<meta property="og:site_name" content="<%= settings.name %>">
<meta name="twitter:title" content="<%= settings.name %>">
<meta name="apple-mobile-web-app-title" content="<%= settings.name %>">
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="<%= settings.title %>" name="description"/>
<meta content="<%= settings.author %>" name="author" />
<meta name="description" content="<%= settings.title %>">
<meta property="og:description" content="<%= settings.title %>">
<meta name="twitter:description" content="<%= settings.title %>">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>

<base href="/">
Expand All @@ -29,8 +34,8 @@
<!-- BEGIN THEME STYLES -->
<link href="/css/components.min.css" id="style_components" rel="stylesheet" type="text/css" />
<link href="/css/plugins.min.css" rel="stylesheet" type="text/css" />
<link href="/css/layout.css" rel="stylesheet" type="text/css" />
<link href="/css/custom.css" rel="stylesheet" type="text/css" />
<link href="/css/layout.min.css" rel="stylesheet" type="text/css" />
<link href="/css/etc-explorer.min.css" rel="stylesheet" type="text/css" />
<link href="/css/green-haze.min.css" rel="stylesheet" type="text/css" />
<!-- END THEME STYLES -->
<!-- END HEAD -->
Expand Down