mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
config - removing dos newlines
This commit is contained in:
parent
6dca8fb964
commit
ea5fcf9281
11 changed files with 591 additions and 591 deletions
|
@ -1,19 +1,19 @@
|
|||
<div class="col-xs-12 col-md-3">
|
||||
<div class="b-graphic-tile">
|
||||
<div class="thumbnail">
|
||||
<div class="logo-container">
|
||||
<img src="/assets/img/graphics/{{ graphic.img-link }}"/>
|
||||
</div>
|
||||
<div class="caption">
|
||||
<h4>{{ graphic.format }}</h4>
|
||||
</div>
|
||||
<div class="wallet-links-container">
|
||||
{% for link in graphic.links %}
|
||||
<div class="link">
|
||||
<a href="/assets/img/graphics/{{link.url}}" target="_blank">{{link.label}} </a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-3">
|
||||
<div class="b-graphic-tile">
|
||||
<div class="thumbnail">
|
||||
<div class="logo-container">
|
||||
<img src="/assets/img/graphics/{{ graphic.img-link }}"/>
|
||||
</div>
|
||||
<div class="caption">
|
||||
<h4>{{ graphic.format }}</h4>
|
||||
</div>
|
||||
<div class="wallet-links-container">
|
||||
{% for link in graphic.links %}
|
||||
<div class="link">
|
||||
<a href="/assets/img/graphics/{{link.url}}" target="_blank">{{link.label}} </a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:960 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.buy.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.buy.hero-text %}</p>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="#" class="btn-white-solid">{% t pages.buy.buy-fiat-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.buy.buy-crypto-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.buy.full-list %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:960 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.buy.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.buy.hero-text %}</p>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="#" class="btn-white-solid">{% t pages.buy.buy-fiat-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.buy.buy-crypto-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.buy.full-list %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:960 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.governance.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.governance.hero-text %}</p>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="#" class="btn-white-solid">{% t pages.governance.hero-how-to-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.governance.hero-guide-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.governance.hero-pools-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:960 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.governance.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.governance.hero-text %}</p>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="#" class="btn-white-solid">{% t pages.governance.hero-how-to-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.governance.hero-guide-btn %}</a>
|
||||
<a href="#" class="btn-white-solid">{% t pages.governance.hero-pools-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/home.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:1280 %}
|
||||
{% srcset_source width:1024 %}
|
||||
{% srcset_source width:800 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
{% include base.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-7">
|
||||
<h1 class="hero__title">{% t pages.graphics.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.graphics.hero-text %}</p>
|
||||
<p class="hero__lead">
|
||||
{% t pages.graphics.licence %}
|
||||
<a href="{% t pages.graphics.licence-link %}">{% t pages.graphics.licence-link-text %}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/home.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:1280 %}
|
||||
{% srcset_source width:1024 %}
|
||||
{% srcset_source width:800 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
{% include base.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-7">
|
||||
<h1 class="hero__title">{% t pages.graphics.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.graphics.hero-text %}</p>
|
||||
<p class="hero__lead">
|
||||
{% t pages.graphics.licence %}
|
||||
<a href="{% t pages.graphics.licence-link %}">{% t pages.graphics.licence-link-text %}</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:960 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.masternodes.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.masternodes.hero-text %}</p>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/WIAc" class="btn-white-solid" target="_blank">{% t pages.masternodes.hero-what-btn %}</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/JgAGAg" class="btn-white-solid">{% t pages.masternodes.hero-how-btn %}</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/FoBgAw" class="btn-white-solid" target="_blank">{% t pages.masternodes.hero-masternode-mining-btn%}</a>
|
||||
<a href="{{ basenav }}/network/#section-network" class="btn-white-solid" >{% t pages.masternodes.hero-network-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/community.jpg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:960 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.masternodes.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.masternodes.hero-text %}</p>
|
||||
|
||||
<div class="hero__buttons">
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/WIAc" class="btn-white-solid" target="_blank">{% t pages.masternodes.hero-what-btn %}</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/JgAGAg" class="btn-white-solid">{% t pages.masternodes.hero-how-btn %}</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/FoBgAw" class="btn-white-solid" target="_blank">{% t pages.masternodes.hero-masternode-mining-btn%}</a>
|
||||
<a href="{{ basenav }}/network/#section-network" class="btn-white-solid" >{% t pages.masternodes.hero-network-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/woocommerce.jpeg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:1280 %}
|
||||
{% srcset_source width:1024 %}
|
||||
{% srcset_source width:800 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
{% include base.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.woocommerce.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.woocommerce.hero-text %}</p>
|
||||
<div class="hero__buttons">
|
||||
<a href="https://github.com/nmarley/dashpayments-for-woocommerce" class="btn-blue-solid btn-large" _target="blank">{% t pages.woocommerce.hero-btn %}</a>
|
||||
<a href="https://github.com/snogcel/dash-woocommerce-plugin/blob/master/dist/dash-woocommerce-plugin.zip" class="btn-blue-solid btn-large" _target="blank">{% t pages.woocommerce.hero-btn-download %}</a>
|
||||
</div>
|
||||
<p>{% t pages.woocommerce.hero-description %} <a href="https://github.com/nmarley/dashpayments-for-woocommerce#requirements" _target="blank">{% t pages.woocommerce.hero-description-link %}</a></p>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
<div class="hero" id="hero">
|
||||
<div class="hero__background">
|
||||
{% srcset hero/woocommerce.jpeg ppi:1,2 class="hero__background-image" %}
|
||||
{% srcset_source width:1920 %}
|
||||
{% srcset_source width:1280 %}
|
||||
{% srcset_source width:1024 %}
|
||||
{% srcset_source width:800 %}
|
||||
{% endsrcset %}
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
{% include nav-desktop.html %}
|
||||
{% include base.html %}
|
||||
|
||||
<!-- Hero content -->
|
||||
<div class="hero__content">
|
||||
<h1 class="hero__title">{% t pages.woocommerce.hero-heading %}</h1>
|
||||
<p class="hero__lead">{% t pages.woocommerce.hero-text %}</p>
|
||||
<div class="hero__buttons">
|
||||
<a href="https://github.com/nmarley/dashpayments-for-woocommerce" class="btn-blue-solid btn-large" _target="blank">{% t pages.woocommerce.hero-btn %}</a>
|
||||
<a href="https://github.com/snogcel/dash-woocommerce-plugin/blob/master/dist/dash-woocommerce-plugin.zip" class="btn-blue-solid btn-large" _target="blank">{% t pages.woocommerce.hero-btn-download %}</a>
|
||||
</div>
|
||||
<p>{% t pages.woocommerce.hero-description %} <a href="https://github.com/nmarley/dashpayments-for-woocommerce#requirements" _target="blank">{% t pages.woocommerce.hero-description-link %}</a></p>
|
||||
</div>
|
||||
|
||||
<!-- Hero stripe -->
|
||||
<div class="hero__stripe"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,37 +1,37 @@
|
|||
---
|
||||
layout: default
|
||||
title: pages.buy.title
|
||||
description: pages.buy.description
|
||||
---
|
||||
|
||||
|
||||
{% include hero/buy.html %}
|
||||
{% include base.html %}
|
||||
|
||||
|
||||
<div class="page page--home">
|
||||
|
||||
<!--
|
||||
DASH FEATURES
|
||||
PRIVATE | INSTANT | SECURE
|
||||
-->
|
||||
|
||||
<section class="">
|
||||
<div class="content">
|
||||
<h2 class="section__title">{% t pages.buy.how-heading %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h3>{% t pages.buy.how-fiat %}</h3>
|
||||
<p>{% t pages.buy.how-fiat-text %}</p>
|
||||
<a href="/network" class="btn-blue">{% t pages.buy.how-fiat-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h3>{% t pages.buy.how-btc %}</h3>
|
||||
<p>{% t pages.buy.how-btc-text %}</p>
|
||||
<a href="" class="btn-blue">{% t pages.buy.how-btc-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
---
|
||||
layout: default
|
||||
title: pages.buy.title
|
||||
description: pages.buy.description
|
||||
---
|
||||
|
||||
|
||||
{% include hero/buy.html %}
|
||||
{% include base.html %}
|
||||
|
||||
|
||||
<div class="page page--home">
|
||||
|
||||
<!--
|
||||
DASH FEATURES
|
||||
PRIVATE | INSTANT | SECURE
|
||||
-->
|
||||
|
||||
<section class="">
|
||||
<div class="content">
|
||||
<h2 class="section__title">{% t pages.buy.how-heading %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h3>{% t pages.buy.how-fiat %}</h3>
|
||||
<p>{% t pages.buy.how-fiat-text %}</p>
|
||||
<a href="/network" class="btn-blue">{% t pages.buy.how-fiat-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h3>{% t pages.buy.how-btc %}</h3>
|
||||
<p>{% t pages.buy.how-btc-text %}</p>
|
||||
<a href="" class="btn-blue">{% t pages.buy.how-btc-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,78 +1,78 @@
|
|||
---
|
||||
layout: default
|
||||
title: pages.governance.title
|
||||
description: pages.governance.description
|
||||
---
|
||||
|
||||
|
||||
{% include hero/governance.html %}
|
||||
{% include base.html %}
|
||||
|
||||
|
||||
<div class="page page--home">
|
||||
|
||||
<!--
|
||||
WHAT IS PLUGIN?
|
||||
-->
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="section__lead">{% tmd pages.governance.description-text-hero %}</div>
|
||||
<br>
|
||||
<p>{% t pages.governance.description %}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2 class="section__title">{% t pages.governance.governance-meaning %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/jHsVU1LBuAY" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="">
|
||||
<div class="content">
|
||||
<h2 class="section__title">{% t pages.governance.voting-header %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h2>{% t pages.governance.voting-automatic %}</h2>
|
||||
<p>{% t pages.governance.voting-automatic-text %}</p>
|
||||
<a href="https://youtu.be/52TzOgq15h8" class="btn-blue" target="_blank">
|
||||
{% t pages.governance.voting-guide-btn %}
|
||||
</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/DIBGB" class="btn-blue" target="_blank">
|
||||
{% t pages.governance.voting-manual-btn %}
|
||||
</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/EIBGB" class="btn-blue" target="_blank">
|
||||
{% t pages.governance.voting-central-btn %}
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h2>{% t pages.governance.voting-tools %}</h2>
|
||||
<p>{% t pages.governance.voting-tools-text %}</p>
|
||||
<a href="https://proposal.dash.org" class="btn-blue" target="_blank">{% t pages.governance.generator-link %}</a>
|
||||
<a href="https://www.dashcentral.org/" class="btn-blue" target="_blank">{% t pages.governance.dashcentral-link %}</a>
|
||||
<a href="http://dashvotetracker.com" class="btn-blue" target="_blank">{% t pages.governance.votetracker-link %}</a>
|
||||
<a href="https://www.dashninja.pl/budgets.html" class="btn-blue" target="_blank">{% t pages.governance.budget-monitoring-link %}</a>
|
||||
<a href="#" class="btn-blue" target="_blank">{% t pages.governance.proposal-status-link %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div class="content">
|
||||
<div>
|
||||
<h2 class="section__title">{% t pages.governance.proposal-service %}</h2>
|
||||
<img src="/assets/img/update/Voting.png" alt="">
|
||||
</div>
|
||||
<div>
|
||||
<a href="http://govobject-proposal.slayer.work/" target="_blank" class="btn-blue">{% t pages.update.proposal-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
---
|
||||
layout: default
|
||||
title: pages.governance.title
|
||||
description: pages.governance.description
|
||||
---
|
||||
|
||||
|
||||
{% include hero/governance.html %}
|
||||
{% include base.html %}
|
||||
|
||||
|
||||
<div class="page page--home">
|
||||
|
||||
<!--
|
||||
WHAT IS PLUGIN?
|
||||
-->
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="section__lead">{% tmd pages.governance.description-text-hero %}</div>
|
||||
<br>
|
||||
<p>{% t pages.governance.description %}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2 class="section__title">{% t pages.governance.governance-meaning %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/jHsVU1LBuAY" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="">
|
||||
<div class="content">
|
||||
<h2 class="section__title">{% t pages.governance.voting-header %}</h2>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h2>{% t pages.governance.voting-automatic %}</h2>
|
||||
<p>{% t pages.governance.voting-automatic-text %}</p>
|
||||
<a href="https://youtu.be/52TzOgq15h8" class="btn-blue" target="_blank">
|
||||
{% t pages.governance.voting-guide-btn %}
|
||||
</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/DIBGB" class="btn-blue" target="_blank">
|
||||
{% t pages.governance.voting-manual-btn %}
|
||||
</a>
|
||||
<a href="https://dashpay.atlassian.net/wiki/x/EIBGB" class="btn-blue" target="_blank">
|
||||
{% t pages.governance.voting-central-btn %}
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h2>{% t pages.governance.voting-tools %}</h2>
|
||||
<p>{% t pages.governance.voting-tools-text %}</p>
|
||||
<a href="https://proposal.dash.org" class="btn-blue" target="_blank">{% t pages.governance.generator-link %}</a>
|
||||
<a href="https://www.dashcentral.org/" class="btn-blue" target="_blank">{% t pages.governance.dashcentral-link %}</a>
|
||||
<a href="http://dashvotetracker.com" class="btn-blue" target="_blank">{% t pages.governance.votetracker-link %}</a>
|
||||
<a href="https://www.dashninja.pl/budgets.html" class="btn-blue" target="_blank">{% t pages.governance.budget-monitoring-link %}</a>
|
||||
<a href="#" class="btn-blue" target="_blank">{% t pages.governance.proposal-status-link %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div class="content">
|
||||
<div>
|
||||
<h2 class="section__title">{% t pages.governance.proposal-service %}</h2>
|
||||
<img src="/assets/img/update/Voting.png" alt="">
|
||||
</div>
|
||||
<div>
|
||||
<a href="http://govobject-proposal.slayer.work/" target="_blank" class="btn-blue">{% t pages.update.proposal-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -1,120 +1,120 @@
|
|||
---
|
||||
layout: default
|
||||
title: pages.graphics.title
|
||||
description: pages.graphics.description
|
||||
---
|
||||
{% include hero/graphics.html %}
|
||||
|
||||
{% assign logos = site.data.graphics-collection | where:"type","logo" %}
|
||||
{% assign merchants = site.data.graphics-collection | where:"type","merchants" %}
|
||||
{% assign buttons = site.data.graphics-collection | where:"type","buttons" %}
|
||||
|
||||
<div class="page">
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.logos-header %}</h2>
|
||||
<div class="row">
|
||||
{% for graphic in logos %}
|
||||
{% include graphics-tile.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.merchants-header %}</h2>
|
||||
<div class="row">
|
||||
{% for graphic in merchants %}
|
||||
{% include graphics-tile.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.dontaion-header %}</h2>
|
||||
<div class="row">
|
||||
{% for graphic in buttons %}
|
||||
{% include graphics-tile.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.indent-header %}</h2>
|
||||
|
||||
<div class="row bottom-space">
|
||||
|
||||
<div class="col-md-6">
|
||||
<h2>{% t pages.graphics.color-header %}</h2>
|
||||
<p>{% t pages.graphics.color-text %}</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_blue"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 30,113,184</p>
|
||||
<p>CMYK: 85,50,0,0</p>
|
||||
<p>Hex: #1d71b8</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_gray"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 227,227,227</p>
|
||||
<p>CMYK: 13,9,11,0</p>
|
||||
<p>Hex: #e3e3e3</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_black"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 0,0,0</p>
|
||||
<p>CMYK: 91,79,62,97</p>
|
||||
<p>Hex: #000000</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_white"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 255,255,255</p>
|
||||
<p>CMYK: 0,0,0,0</p>
|
||||
<p>Hex: #ffffff</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h2>{% t pages.graphics.typography-header %}</h2>
|
||||
<p>{% t pages.graphics.typography-text %}</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<p>Gunship Bold Italic</p>
|
||||
<span class="text-word-wrap graphic-exmaple-brand">ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890?!%</span>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<p>Montserrat Light</p>
|
||||
<span class="text-word-wrap graphic-exmaple-light">ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890?!%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
---
|
||||
layout: default
|
||||
title: pages.graphics.title
|
||||
description: pages.graphics.description
|
||||
---
|
||||
{% include hero/graphics.html %}
|
||||
|
||||
{% assign logos = site.data.graphics-collection | where:"type","logo" %}
|
||||
{% assign merchants = site.data.graphics-collection | where:"type","merchants" %}
|
||||
{% assign buttons = site.data.graphics-collection | where:"type","buttons" %}
|
||||
|
||||
<div class="page">
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.logos-header %}</h2>
|
||||
<div class="row">
|
||||
{% for graphic in logos %}
|
||||
{% include graphics-tile.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.merchants-header %}</h2>
|
||||
<div class="row">
|
||||
{% for graphic in merchants %}
|
||||
{% include graphics-tile.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.dontaion-header %}</h2>
|
||||
<div class="row">
|
||||
{% for graphic in buttons %}
|
||||
{% include graphics-tile.html %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<h2>{% t pages.graphics.indent-header %}</h2>
|
||||
|
||||
<div class="row bottom-space">
|
||||
|
||||
<div class="col-md-6">
|
||||
<h2>{% t pages.graphics.color-header %}</h2>
|
||||
<p>{% t pages.graphics.color-text %}</p>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_blue"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 30,113,184</p>
|
||||
<p>CMYK: 85,50,0,0</p>
|
||||
<p>Hex: #1d71b8</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_gray"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 227,227,227</p>
|
||||
<p>CMYK: 13,9,11,0</p>
|
||||
<p>Hex: #e3e3e3</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_black"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 0,0,0</p>
|
||||
<p>CMYK: 91,79,62,97</p>
|
||||
<p>Hex: #000000</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<div class="color-box color-box_white"></div>
|
||||
<div class="color-article">
|
||||
<p>RGB: 255,255,255</p>
|
||||
<p>CMYK: 0,0,0,0</p>
|
||||
<p>Hex: #ffffff</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h2>{% t pages.graphics.typography-header %}</h2>
|
||||
<p>{% t pages.graphics.typography-text %}</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<p>Gunship Bold Italic</p>
|
||||
<span class="text-word-wrap graphic-exmaple-brand">ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890?!%</span>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<p>Montserrat Light</p>
|
||||
<span class="text-word-wrap graphic-exmaple-light">ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890?!%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,190 +1,190 @@
|
|||
---
|
||||
layout: default
|
||||
title: pages.budget.title
|
||||
description: pages.budget.description
|
||||
---
|
||||
|
||||
|
||||
{% include hero/masternodes.html %}
|
||||
{% include base.html %}
|
||||
|
||||
|
||||
<div class="page page--home">
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="section__lead">{% tmd pages.masternodes.marsternode-text %}</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.what-heading %}</h2>
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/4GRrLiTCq5M" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.earn-heading %}</h2>
|
||||
<p>{% t pages.masternodes.earn-text %}</p>
|
||||
<table id="exchanges">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Exchange</th>
|
||||
<th>Volume (24h)</th>
|
||||
<th>Price</th>
|
||||
<th>Volume (%)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.host-heading %}</h2>
|
||||
<div class="bottom-space">{% tmd pages.masternodes.host-text %}</div>
|
||||
<a href="https://dashpay.atlassian.net/wiki/pages/viewpage.action?pageId=33947686" class="btn-blue" target="_blank">{% t pages.masternodes.host-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.hosting-services %}</h2>
|
||||
<div class="bottom-space">{% tmd pages.masternodes.hosting-services-text %}</div>
|
||||
<a href="https://dashpay.atlassian.net/wiki/pages/viewpage.action?pageId=1867885" class="btn-blue" target="_blank">{% t pages.masternodes.hosting-services-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="section__lead">
|
||||
<h2>{% t pages.masternodes.host-table-heading %}</h2>
|
||||
<table id="blocks">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Height</th>
|
||||
<th>Block Time</th>
|
||||
<th>Transactions</th>
|
||||
<th>Value Out</th>
|
||||
<th>Difficulty</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="">
|
||||
<div class="section__content">
|
||||
<h2 class="bottom-space">P2P</h2>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="bottom-space">{% tmd pages.masternodes.p2p-text %}</div>
|
||||
<a href="http://178.254.23.111/~pub/Dash/Dash_Info.html" class="btn-blue" target="_blank">{% t pages.masternodes.p2p-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<img src="/assets/img/masternodes/p2p.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
$( document ).ready(function(){
|
||||
|
||||
// Get the exchange data
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/exchange/",
|
||||
error: function(jqXHR, textStatus, errorThrown) {
|
||||
console.log(jqXHR);
|
||||
console.log(textStatus);
|
||||
console.log('errorThrown:');
|
||||
}
|
||||
})
|
||||
.done(function(response){
|
||||
var exchanges = response;
|
||||
|
||||
exchanges.map(function(exchange){
|
||||
if(exchange){
|
||||
console.log('exchange',exchange);
|
||||
var name = exchange.exchange,
|
||||
url = exchange.url
|
||||
volume = "$" + formatCurrency(exchange.volume,0),
|
||||
price = "$" + formatCurrency(exchange.price),
|
||||
change = formatNumber(exchange.percent_change);
|
||||
|
||||
$("#exchanges>tbody").append('<tr><td data-header="Exchange"><a target="_blank" href="' + url + '">' + name + '</a></td><td data-header="Volume (24h)">' + volume + '</td><td data-header="Price">' + price + '</td><td data-header="Volume (%)">' + change + '%</td></tr>');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Get the current number of masternodes.
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/masternodes/stats/"
|
||||
})
|
||||
.done(function(response){
|
||||
console.log('masternode stats', response.stats);
|
||||
var masternodes_count = formatNumber(response.stats['count']),
|
||||
masternodes_max = formatNumber(response.stats['max']);
|
||||
|
||||
$("#masternodes_count").text(masternodes_count);
|
||||
$("#masternodes_max").text(masternodes_max);
|
||||
});
|
||||
|
||||
// Get the budget proposals
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/budgets/"
|
||||
})
|
||||
.done(function(response){
|
||||
var proposals = response.proposals;
|
||||
|
||||
proposals.map(function(proposal){
|
||||
var title = proposal.title ? proposal.title : proposal.name,
|
||||
url = proposal.dw_url,
|
||||
owner = proposal.owner_username,
|
||||
votes_yes = proposal.yes,
|
||||
votes_no = proposal.no,
|
||||
required_votes = proposal.remaining_yes_votes_until_funding,
|
||||
amount_monthly = formatCurrency(proposal.monthly_amount)
|
||||
will_be_funded = proposal.will_be_funded ? "yes" : "no";
|
||||
|
||||
$("#budgets>tbody").append('<tr><td data-header="Title"><a href="' + url + '" target="_blank">' + title + '</a></td><td data-header="Owner">' + owner + '</td><td data-header="Votes (yes/no)">' + votes_yes + '/' + votes_no + '</td><td data-header="Votes Required">' + required_votes + '</td><td data-header="Monthly Amount">' + amount_monthly + '</td><td data-header="Will be Funded">' + will_be_funded + '</td></tr>');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
// Get the blockchain info
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/chain/latestBlocks/"
|
||||
})
|
||||
.done(function(response){
|
||||
var blocks = response.blocks;
|
||||
|
||||
blocks.map(function(block){
|
||||
var height = block.height,
|
||||
age = moment.unix(block.time).format("LLL"),
|
||||
txs = block.txlength,
|
||||
out = block.cbvalue,
|
||||
difficulty = block.difficulty;
|
||||
|
||||
$("#blocks>tbody").append('<tr><td data-header="Height">' + height + '</td><td data-header="Block Time">' + age + '</td><td data-header="Transactions">' + txs + '</td><td data-header="Value Out">' + out + '</td><td data-header="Difficulty">' + difficulty + '</td></tr>');
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
</script>
|
||||
---
|
||||
layout: default
|
||||
title: pages.budget.title
|
||||
description: pages.budget.description
|
||||
---
|
||||
|
||||
|
||||
{% include hero/masternodes.html %}
|
||||
{% include base.html %}
|
||||
|
||||
|
||||
<div class="page page--home">
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="section__lead">{% tmd pages.masternodes.marsternode-text %}</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.what-heading %}</h2>
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/4GRrLiTCq5M" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.earn-heading %}</h2>
|
||||
<p>{% t pages.masternodes.earn-text %}</p>
|
||||
<table id="exchanges">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Exchange</th>
|
||||
<th>Volume (24h)</th>
|
||||
<th>Price</th>
|
||||
<th>Volume (%)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.host-heading %}</h2>
|
||||
<div class="bottom-space">{% tmd pages.masternodes.host-text %}</div>
|
||||
<a href="https://dashpay.atlassian.net/wiki/pages/viewpage.action?pageId=33947686" class="btn-blue" target="_blank">{% t pages.masternodes.host-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<h2 class="bottom-space">{% t pages.masternodes.hosting-services %}</h2>
|
||||
<div class="bottom-space">{% tmd pages.masternodes.hosting-services-text %}</div>
|
||||
<a href="https://dashpay.atlassian.net/wiki/pages/viewpage.action?pageId=1867885" class="btn-blue" target="_blank">{% t pages.masternodes.hosting-services-btn %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="section__content">
|
||||
<div class="section__lead">
|
||||
<h2>{% t pages.masternodes.host-table-heading %}</h2>
|
||||
<table id="blocks">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Height</th>
|
||||
<th>Block Time</th>
|
||||
<th>Transactions</th>
|
||||
<th>Value Out</th>
|
||||
<th>Difficulty</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="">
|
||||
<div class="section__content">
|
||||
<h2 class="bottom-space">P2P</h2>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="bottom-space">{% tmd pages.masternodes.p2p-text %}</div>
|
||||
<a href="http://178.254.23.111/~pub/Dash/Dash_Info.html" class="btn-blue" target="_blank">{% t pages.masternodes.p2p-btn %}</a>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<img src="/assets/img/masternodes/p2p.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
$( document ).ready(function(){
|
||||
|
||||
// Get the exchange data
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/exchange/",
|
||||
error: function(jqXHR, textStatus, errorThrown) {
|
||||
console.log(jqXHR);
|
||||
console.log(textStatus);
|
||||
console.log('errorThrown:');
|
||||
}
|
||||
})
|
||||
.done(function(response){
|
||||
var exchanges = response;
|
||||
|
||||
exchanges.map(function(exchange){
|
||||
if(exchange){
|
||||
console.log('exchange',exchange);
|
||||
var name = exchange.exchange,
|
||||
url = exchange.url
|
||||
volume = "$" + formatCurrency(exchange.volume,0),
|
||||
price = "$" + formatCurrency(exchange.price),
|
||||
change = formatNumber(exchange.percent_change);
|
||||
|
||||
$("#exchanges>tbody").append('<tr><td data-header="Exchange"><a target="_blank" href="' + url + '">' + name + '</a></td><td data-header="Volume (24h)">' + volume + '</td><td data-header="Price">' + price + '</td><td data-header="Volume (%)">' + change + '%</td></tr>');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Get the current number of masternodes.
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/masternodes/stats/"
|
||||
})
|
||||
.done(function(response){
|
||||
console.log('masternode stats', response.stats);
|
||||
var masternodes_count = formatNumber(response.stats['count']),
|
||||
masternodes_max = formatNumber(response.stats['max']);
|
||||
|
||||
$("#masternodes_count").text(masternodes_count);
|
||||
$("#masternodes_max").text(masternodes_max);
|
||||
});
|
||||
|
||||
// Get the budget proposals
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/budgets/"
|
||||
})
|
||||
.done(function(response){
|
||||
var proposals = response.proposals;
|
||||
|
||||
proposals.map(function(proposal){
|
||||
var title = proposal.title ? proposal.title : proposal.name,
|
||||
url = proposal.dw_url,
|
||||
owner = proposal.owner_username,
|
||||
votes_yes = proposal.yes,
|
||||
votes_no = proposal.no,
|
||||
required_votes = proposal.remaining_yes_votes_until_funding,
|
||||
amount_monthly = formatCurrency(proposal.monthly_amount)
|
||||
will_be_funded = proposal.will_be_funded ? "yes" : "no";
|
||||
|
||||
$("#budgets>tbody").append('<tr><td data-header="Title"><a href="' + url + '" target="_blank">' + title + '</a></td><td data-header="Owner">' + owner + '</td><td data-header="Votes (yes/no)">' + votes_yes + '/' + votes_no + '</td><td data-header="Votes Required">' + required_votes + '</td><td data-header="Monthly Amount">' + amount_monthly + '</td><td data-header="Will be Funded">' + will_be_funded + '</td></tr>');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
// Get the blockchain info
|
||||
$.ajax({
|
||||
url: "{{ site.api }}/chain/latestBlocks/"
|
||||
})
|
||||
.done(function(response){
|
||||
var blocks = response.blocks;
|
||||
|
||||
blocks.map(function(block){
|
||||
var height = block.height,
|
||||
age = moment.unix(block.time).format("LLL"),
|
||||
txs = block.txlength,
|
||||
out = block.cbvalue,
|
||||
difficulty = block.difficulty;
|
||||
|
||||
$("#blocks>tbody").append('<tr><td data-header="Height">' + height + '</td><td data-header="Block Time">' + age + '</td><td data-header="Transactions">' + txs + '</td><td data-header="Value Out">' + out + '</td><td data-header="Difficulty">' + difficulty + '</td></tr>');
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
;(function ($) {
|
||||
'use strict';
|
||||
$(document).ready(function () {
|
||||
$('.js-subscribe').on('click',function () {
|
||||
$(this).toggleClass('hidden');
|
||||
$('.js-mailing-form').toggleClass('hidden');
|
||||
});
|
||||
});
|
||||
}(jQuery));
|
||||
;(function ($) {
|
||||
'use strict';
|
||||
$(document).ready(function () {
|
||||
$('.js-subscribe').on('click',function () {
|
||||
$(this).toggleClass('hidden');
|
||||
$('.js-mailing-form').toggleClass('hidden');
|
||||
});
|
||||
});
|
||||
}(jQuery));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue