Merge pull request #134 from VitaliyTr/master

added nav and budget page
This commit is contained in:
0xfff 2017-02-23 02:01:21 +01:00 committed by GitHub
commit 1540555996
18 changed files with 783 additions and 2 deletions

View file

@ -2,6 +2,138 @@
# For multiple paragraph content add two line breaks
pages:
masternodes:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash
hero-heading: Masternodes
hero-text: Masternodes are computers that run a dash wallet and make decisions, such as locking transactions with InstantSend, coordinate mixing of coins, and voting on budget funding.
hero-what-btn: Buy with fiat currency
hero-how-btn: Buy with cryptocurrency
hero-network-btn: Full Exchanges Listing
hero-p2p-btn: P2P
marsternode-text: Masternodes are required to have 1000 Dash collateral, a dedicated IP address, and be able to run 24 hours a day without a more than a 1 hr connection loss. Masternodes get paid 45% of the block reward on every block, which is distributed to masternodes one at a time. Typically, around 2 dash is paid to each masternode every 7 days.
what-heading: WHAT IS MASTERNODE?
what-text: |
In Evolution, you will be able to connect directly with merchants to make purchases or even setup auto debits to pay for subscription services. Every merchant that integrates Dash will be searchable on the blockchain. Youll be able to rate purchases so the community can decide which vendors are providing quality products and services.”chain and you can rate purchases so the community can decide whos providing a good service or not.
Masternodes are also given voting rights on proposals. Each masternode has 1 vote and this vote can be used on budget proposals or important decisions that affect Dash. For a complete list of current proposals please click here.
earn-heading: EARN A MASTERNODE?
earn-text: |
Masternodes cost money and effort to host so they are paid a share of the block reward to incentivize them. With current masternode numbers and rewards masternodes earn approximately a 11% return on 1000 Dash for the year of 2016. This reward falls off in subsequent years but as the value of Dash is rising and the supply of Dash goes down, masternodes should still be sufficiently incentivized.
This projection also doesnt count the fees that masternodes earn whenever someone uses its services (InstantSend and PrivateSend).
what-hero-heading: What is MasterNode?
instantiend-text: InstantSend (instant transactions). In contrast, Bitcoin takes about 10 minutes to confirm a payment.
private-send-text: (anonymous transactions). In contrast, Bitcoin transactions are totally public and traceable. Only the identity of the addresses is anonymous.
governance-text: (masternodes govern, while the blockchain funds development). In contrast, Bitcoin is controlled by a few big miners and funded by 3rd party centralised institutions with self interests.
evolution-text: a decentralized payment processor (think a decentralized Paypal).
host-heading: HOST A MASTERNODE
host-text-right: |
1000 Dash: Arguably the hardest part. Dash can be obtained from exchanges such as Poloniex, Bittrex and Shapeshifts service is also an excellent way. For the full list of places to obtain Dash click here.
A server or a VPS installed with Linux: For the purposes of this guide we will be used Ubuntu 14.04 LTS. We recommend cheap VPSes such as from Vultr and DigitalOcean though any decent provider will do. Generally a low specced one will do. I use the 5 USD ones from Vultr and they work fine.
A dedicated IP address: These usually come with the VPS/server.
host-text-left: |
A little time: When I first got into masternodes, there were only a few guides around and did not cover all the scenarios. It took days for me to figure out the best ways to do everything. However, the process now takes a few minutes. Here are a few guides that I hope will make the process a lot easier.
If you cant be bothered with setting up and maintaining your own and dont mind paying a little extra, you can go with paid masternode hosters which will greatly simplify the process. A few good ones can be found here.
host-btn: Start Masternode
host-table-heading: MasterNodes Network
p2p-text: |
Text about peer2peer Thanks to incentivization, Dashs network has grown to 4,100 masternodes since launch in 2014, meaning Dashs peer-to-peer network is one of the largest in the world.
More nodes means more secure services, and more capacity for end-users to access Digital Cash from anywhere in the world, 24/7.
Text about peer2peer Thanks to incentivization, Dashs network has grown to 4,100 masternodes since launch in 2014, meaning Dashs peer-to-peer network is one of the largest in the world.
More nodes means more secure services, and more capacity for end-users to access Digital Cash from anywhere in the world, 24/7.
p2p-btn: Network Stats
buy:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash
hero-heading: How to buy Dash
hero-text: Easy guides how to buy Dash on online exchanges
buy-fiat-btn: Buy with fiat currency
buy-crypto-btn: Buy with cryptocurrency
full-list: Full Exchanges Listing
how-heading: How to Buy and Sell Dash
how-fiat: How to Fiat
how-fiat-text: One of the greatest challenges of building a crypto currency platform is ensuring you crforms.
how-fiat-btn: Show Video
how-btc: How to BTC
how-btc-text: The system would work as a decentralized voting mechanism setup ipay them directly after approval of the work in a decentralized fashion.
how-btc-btn: Show Video
budget:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash
hero-heading: Budget System
hero-text: >
Decentralized Governance by Blockchain, or DGBB, is Dash's attempt to solve two important problems in cryptocurrency: governance and funding.
hero-how-to-btn: How to start
hero-guide-btn: Guides
hero-pools-btn: Pools
description-text-hero: >
Governance in a decentralized project is difficult,
because by definition there are no central authorities to make decisions for the project.
In Dash, such decisions are made by the network, that is, by the owners of masternodes. The DGBB system allows masternodes
to vote for or against proposals, which can then be implemented (or not) by Dash's developers. A key example is early in 2016,
when Dash's Core Team submitted a proposal to the network asking whether the blocksize should be increased to 2 MB. Within 24 hours,
consensus had been reached to approve this change. Compare this to Bitcoin, where debate on the blocksize has been raging for nearly three years.
description: >
The DGBB also provides a means for Dash to fund its own development. While other projects have to depend on donations or premined endowments,
Dash uses 10% of the block reward to fund its own development. Every time a block is mined, 45% of the reward goes to the miner, 45% goes to a
masternode, and the remaining 10% is not created until the end of the month. During the month, anybody can make a budget proposal to the network.
If that proposal is approved by at least 10% of the masternode network, then at the end of the month a series of "superblocks" will be created.
At that time, the block rewards that were not paid out (10% of each block) will be used to fund approved proposals. The network thus funds itself
by reserving 10% of the block reward for budget projects.
governance-heading: Goverment Tools
voting-header: How to Voting
voting-automatic: Automated Voting
voting-automatic-text: >
One of the greatest challenges of building a crypto currency platform is ensuring you create a decentralized system of governance to manage,
fund, maintain and expand the project. This key element is absent in every currency to date, the natural response is to create a not-for-profit
foundation that is tasked with maintaining the core protocol and promoting the coin but is not really connected to the coin holders in any meaningful way.
This approach has a few issues that have been made evident from the experience of older crypto currency platforms.
voting-guide-btn: Guide - Amanda B.
voting-manual-btn: Manual Voting (in QT Wallet)
voting-central-btn: DashCentral
voting-tools: Governance Tools
voting-tools-text: >
The system would work as a decentralized voting mechanism setup in the software, where budgets for specific projects are proposed,
then the masternodes as a whole vote on them. Each project, if it passes, is added to the total budget and paid directly from the blockchain
to the person doing the work. With this, we could hire core developers and pay them directly after approval of the work in a decentralized fashion.
decentralized-governance-link: Self-sustainable Decentralized Governance
masternode-budget-link: Masternode Budget API
using-link: >
Using Decentralized Governance: Proposals, Voting, and Budgets
dgb-link: DGBB Document templates
budget-finalization-link: Budget Finalization Procedure
exchange-heading: Full Exchange Listing
woocommerce:
title: Dash Official Website | Dash Crypto Currency
description: Dash is Digital Cash
@ -625,3 +757,4 @@ nav:
tos: Terms of Use
sitemap: Sitemap
sitesource: Source code
graphics: Graphics

View file

@ -49,7 +49,7 @@
<li><a href="{{ basenav }}/team/">{% t nav.team %}</a></li>
<li><a href="{{ basenav }}/update/">{% t nav.update %}</a></li>
<li><a href="https://www.dashfoundation.io/" target="_blank">{% t nav.foundation %}</a></li>
<li><a href="mailto:contact@dash.org">{% t nav.contact %}</a></li>
<li><a href="{{ basenav }}/contact/">{% t nav.contact %}</a></li>
</ul>
</section>
@ -73,6 +73,7 @@
<a href="/sitemap.xml">{% t nav.sitemap %}</a>
<a href="https://github.com/dashpay/dash-website" target="_blank">{% t nav.sitesource %}</a>
<a href="{{ basenav }}/contact/">{% t nav.contact %}</a>
<a href="{{ basenav }}/graphics/">{% t nav.graphics %}</a>
</div>
<div class="footer__legal">
<div class="content">

View file

@ -0,0 +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.budget.hero-heading %}</h1>
<p class="hero__lead">{% t pages.budget.hero-text %}</p>
<div class="hero__buttons">
<a href="#" class="btn-white-solid">{% t pages.budget.hero-how-to-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.budget.hero-guide-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.budget.hero-pools-btn %}</a>
</div>
</div>
<!-- Hero stripe -->
<div class="hero__stripe"></div>
</div>

26
_includes/hero/buy.html Normal file
View file

@ -0,0 +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>

View file

@ -3,6 +3,10 @@
<div class="hero" id="hero">
<div class="hero__background">
{% srcset hero/mailboxes.jpg ppi:1,2 class="hero__background-image" %}
{% srcset_source width:1920 %}
{% srcset_source width:960 %}
{% endsrcset %}
</div>
<!-- Navigation -->

View file

@ -0,0 +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="#" class="btn-white-solid">{% t pages.masternodes.hero-what-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.masternodes.hero-how-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.masternodes.hero-network-btn %}</a>
<a href="#" class="btn-white-solid">{% t pages.masternodes.hero-p2p-btn %}</a>
</div>
</div>
<!-- Hero stripe -->
<div class="hero__stripe"></div>
</div>

View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 85 85" style="enable-background:new 0 0 85 85;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<path class="st0" d="M71.8,12.7H15.6c-6.1,0-11.2,5.6-11.2,12.4v34.2c0,6.8,5,12.4,11.2,12.4h56.2C78,71.6,83,66,83,59.2V25.1
C82.9,18.3,77.9,12.7,71.8,12.7z M15.6,17.1h56.2c3.7,0,6.8,3.6,6.8,8v2.1H8.8v-2.1C8.8,20.7,11.9,17.1,15.6,17.1z M71.8,67.2H15.6
c-3.7,0-6.8-3.6-6.8-8V31.5h69.7v27.7C78.6,63.6,75.5,67.2,71.8,67.2z"/>
<circle class="st0" cx="51.9" cy="22" r="2.7"/>
<circle class="st0" cx="60.3" cy="22" r="2.7"/>
<circle class="st0" cx="69.3" cy="22" r="2.7"/>
<path class="st0" d="M30.9,53.6h18.5l2.9-8.5H33.8l1.4-4.2h20.5c0.6,0,1.1,0.1,1.6,0.4c0.5,0.2,0.8,0.6,1.1,1
c0.3,0.4,0.4,0.9,0.5,1.4c0.1,0.5,0,1.1-0.2,1.7l-2.8,8C55.7,54,55.4,54.5,55,55c-0.4,0.5-0.9,1-1.5,1.4c-0.5,0.4-1.1,0.7-1.8,1
c-0.6,0.2-1.2,0.4-1.8,0.4H29.4L30.9,53.6"/>
<polygon class="st0" points="27.1,51.5 39.9,51.5 41.3,47.2 28.5,47.2 "/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 85 85" style="enable-background:new 0 0 85 85;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1D75BC;}
</style>
<path class="st0" d="M70.6,49.2c0,0.3,0,0.6-0.1,0.9c0,0.1,0,0.1,0,0.2c-0.4,0-0.7-0.1-1.1-0.1c-6.8,0-12.2,5.5-12.2,12.2
s5.5,12.2,12.2,12.2s12.2-5.5,12.2-12.2c0-4.3-2.3-8.2-5.8-10.4c0-0.3,0.1-0.6,0.1-0.9c0-0.2,0-0.4,0.1-0.5c0-0.4,0.1-0.7,0.1-1.1
c0-0.2,0-0.4,0-0.5c0-0.5,0-1.1,0-1.5c0-10.1-4.5-19.4-12.4-25.7c-1.2-1-3-0.7-4,0.5c-1,1.2-0.7,3,0.5,4c6.6,5.2,10.4,13,10.4,21.2
c0,0.5,0,0.9,0,1.3C70.6,48.9,70.6,49.1,70.6,49.2z M76,62.4c0,3.7-3,6.7-6.7,6.7s-6.7-3-6.7-6.7s3-6.7,6.7-6.7
C73.1,55.8,76,58.8,76,62.4z M43.1,5.1c-2.3,0-4.4,0.6-6.3,1.8c-3.7,2.3-5.9,6.2-5.9,10.3c-1.4,0.6-2.8,1.3-4.1,2.1
c-8.6,5.2-14.3,14-15.6,24c-0.2,1.5,0.9,3,2.4,3.2c0.1,0,0.3,0,0.4,0c1.4,0,2.6-1,2.8-2.4c1.1-8.3,5.8-15.5,12.9-19.8
c0.8-0.5,1.6-0.9,2.4-1.4c0.2,0.4,0.4,0.6,0.5,0.9c2.3,3.7,6.1,5.9,10.4,5.9c2.3,0,4.4-0.6,6.3-1.8c2.8-1.7,4.8-4.3,5.6-7.6
c0.8-3.2,0.3-6.5-1.4-9.3C51.4,7.3,47.4,5.1,43.1,5.1z M49.6,18.8c-0.5,1.7-1.5,3.2-3,4.1c-1,0.6-2.3,1-3.4,1
c-2.3,0-4.5-1.2-5.7-3.2c-1.9-3.2-0.9-7.2,2.3-9.1c1-0.6,2.3-1,3.4-1c2.3,0,4.5,1.2,5.7,3.2C49.7,15.4,50,17.1,49.6,18.8z
M11.7,73.2c1.8,1,3.9,1.5,5.9,1.5s4.1-0.5,5.9-1.5c0.3,0.2,0.5,0.4,0.7,0.5c0.2,0.1,0.3,0.3,0.5,0.4c0.3,0.2,0.6,0.4,0.9,0.6
c0.2,0.1,0.3,0.2,0.5,0.3c0.5,0.3,0.9,0.5,1.4,0.8l0,0l0,0c5,2.8,10.4,4.1,15.9,4.1c4.2,0,8.5-0.8,12.5-2.5c1.4-0.6,2.1-2.3,1.5-3.7
c-0.6-1.4-2.3-2.1-3.7-1.5c-7.7,3.2-16.3,2.7-23.6-1.4l0,0c-0.4-0.2-0.7-0.5-1.2-0.6c-0.1-0.1-0.3-0.2-0.4-0.3
c-0.3-0.2-0.5-0.4-0.7-0.5c-0.1,0-0.1-0.1-0.1-0.1c0.2-0.3,0.4-0.6,0.5-0.9c3.3-5.9,1.2-13.3-4.7-16.7c-1.8-1-3.9-1.5-5.9-1.5
c-4.4,0-8.6,2.4-10.6,6.2c-1.6,2.9-2,6.1-1.1,9.3C6.8,69,8.8,71.6,11.7,73.2z M11.8,59.3c1.2-2.1,3.4-3.4,5.8-3.4
c1.1,0,2.3,0.3,3.2,0.8c3.2,1.8,4.3,5.9,2.5,9c-1.2,2.1-3.4,3.4-5.8,3.4c-1.1,0-2.3-0.3-3.2-0.8c-1.5-0.9-2.7-2.3-3.2-4
C10.8,62.6,10.9,60.9,11.8,59.3z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 85 85" style="enable-background:new 0 0 85 85;" xml:space="preserve">
<style type="text/css">
.st0{fill:#EF4136;}
.st1{fill:#EF4237;}
</style>
<path class="st0" d="M18.9,58.8c-7.5,0-13.5-6.1-13.5-13.5v-2.7h5.4v2.7c0,4.5,3.6,8.1,8.1,8.1h13.5V42.5l13.5,13.5L32.4,69.6V58.8
H18.9z"/>
<path class="st0" d="M66.9,28.8c7.5,0,13.5,6.1,13.5,13.5V45H75v-2.7c0-4.5-3.6-8.1-8.1-8.1H53.4V45L39.8,31.5l13.5-13.5v10.9H66.9z
"/>
<g>
<path class="st1" d="M42.9,10.4C60.6,10.4,75,24.8,75,42.5S60.6,74.6,42.9,74.6S10.8,60.2,10.8,42.5S25.2,10.4,42.9,10.4 M42.9,5
C22.2,5,5.4,21.8,5.4,42.5s16.8,37.5,37.5,37.5s37.5-16.8,37.5-37.5S63.6,5,42.9,5L42.9,5z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 946 B

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 85 85" style="enable-background:new 0 0 85 85;" xml:space="preserve">
<style type="text/css">
.st0{fill:#009444;}
</style>
<path class="st0" d="M29.8,37.2h0.9v-3.8c0-6.2,5.1-11.3,11.3-11.3s11.3,5.1,11.3,11.3v3.8h0.9c1.6,0,2.8,1.3,2.8,2.8v16.9
c0,1.6-1.3,2.8-2.8,2.8H29.8c-1.6,0-2.8-1.3-2.8-2.8V40C27,38.4,28.2,37.2,29.8,37.2z M42,52.2c2.1,0,3.8-1.7,3.8-3.8
s-1.7-3.8-3.8-3.8s-3.8,1.7-3.8,3.8S39.9,52.2,42,52.2z M38.2,37.2h7.5v-3.8c0-2.1-1.7-3.8-3.8-3.8s-3.8,1.7-3.8,3.8V37.2z"/>
<g>
<path class="st0" d="M63.4,13.3c4.4,0,7.9,3.6,7.9,7.9V63c0,4.4-3.6,7.9-7.9,7.9H21.7c-4.4,0-7.9-3.6-7.9-7.9V21.3
c0-4.4,3.6-7.9,7.9-7.9H63.4 M63.4,8.2H21.7c-7.2,0-13,5.9-13,13V63c0,7.2,5.9,13,13,13h41.7c7.2,0,13-5.9,13-13V21.3
C76.4,14.1,70.5,8.2,63.4,8.2L63.4,8.2z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1 KiB

229
budget/index.html Normal file
View file

@ -0,0 +1,229 @@
---
layout: default
title: pages.budget.title
description: pages.budget.description
---
{% include hero/budget.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.budget.description-text-hero %}</div>
<br>
<p>{% t pages.budget.description %}</p>
</div>
</section>
<!--
DASH FEATURES
PRIVATE | INSTANT | SECURE
-->
<section id="" class="section section--cta">
<div class="section__content"> <!--section__content -->
<div>
<h2>{% t pages.community.discussion-heading %}<a class="permalink" title="Permalink" id="discussion"></a></h2>
{% tmd pages.community.discussion-text %}
</div>
<div class="ctabox ctabox--gray-light-bg" data-js-ctabox>
<div class="ctabox__inner">
<article class="ctabox__cta" data-js-ctabox-item>
<a href="https://www.dash.org/forum" target="_blank" class="ctabox__link">
<div class="ctabox__imagewrapper">
<img src="/assets/img/community/dashforum_logo.png" class="ctabox__image" >
</div>
<div class="ctabox__text">
<h4 class="ctabox__title">CREATE PROPOSAL</h4>
<p>
Budget
<br>
Proposal
<br>
Generator
</p>
</div>
</a>
</article>
<article class="ctabox__cta" data-js-ctabox-item>
<a href="https://www.reddit.com/r/dashpay/" target="_blank" class="ctabox__link">
<div class="ctabox__imagewrapper">
<img src="/assets/img/community/reddit_logo.png" class="ctabox__image" >
</div>
<div class="ctabox__text">
<h4 class="ctabox__title">DASHCENTRAL</h4>
<p>
Budget Monitoring
<br>Create Proposal
<br> Monitoring MN
</p>
</div>
</a>
</article>
<article class="ctabox__cta" data-js-ctabox-item>
<a href="https://bitcointalk.org/index.php?topic=421615.0" target="_blank" class="ctabox__link">
<div class="ctabox__imagewrapper">
<img src="/assets/img/community/bitcointalk_logo.png" class="ctabox__image" >
</div>
<div class="ctabox__text">
<h4 class="ctabox__title">MONITORING</h4>
<p>
Budget
<br>
Voting Monitoring
</p>
</div>
</a>
</article>
<article class="ctabox__cta" data-js-ctabox-item>
<a href="https://forum.bitcoin.com/dash/" target="_blank" class="ctabox__link">
<div class="ctabox__imagewrapper">
<img src="/assets/img/community/bitcoindotcom_logo.png" class="ctabox__image" >
</div>
<div class="ctabox__text">
<h4 class="ctabox__title">VOTING STATUS</h4>
<p></p>
</div>
</a>
</article>
</div>
</div>
</div>
</section>
<section class="">
<div class="content">
<h2 class="section__title">{% t pages.budget.voting-header %}</h2>
<div class="row">
<div class="col-sm-6">
<h2>{% t pages.budget.voting-automatic %}</h2>
<p>{% t pages.budget.voting-automatic-text %}</p>
<a href="/network" class="btn-blue">{% t pages.budget.voting-guide-btn %}</a>
<a href="/network" class="btn-blue">{% t pages.budget.voting-manual-btn %}</a>
<a href="/network" class="btn-blue">{% t pages.budget.voting-central-btn %}</a>
</div>
<div class="col-sm-6">
<h2>{% t pages.budget.voting-tools %}</h2>
<p>{% t pages.budget.voting-tools-text %}</p>
<a href="">{% t pages.budget.decentralized-governance-link %}</a>
<a href="">{% t pages.budget.masternode-budget-link %}</a>
<a href="">{% t pages.budget.using-link %}</a>
<a href="">{% t pages.budget.dgb-link %}</a>
<a href="">{% t pages.budget.budget-finalization-link %}</a>
</div>
</div>
</div>
</section>
<section class="section section--currency" id="section-blockchain">
<h2 class="section__title">{% t pages.budget.exchange-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>
</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>

37
buy-sell/index.html Normal file
View file

@ -0,0 +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>

214
masternodes/index.html Normal file
View file

@ -0,0 +1,214 @@
---
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>{% t pages.masternodes.what-heading %}</h2>
<p>{% t pages.masternodes.what-text %}</p>
</div>
<div class="col-sm-6">
<h2>{% 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 text-center">
<div class="col-sm-3">
<img src="/assets/img/masternodes/pay.svg" height="100" alt="Instant">
<h2>InstantSend</h2>
<p>{% t pages.masternodes.instantiend-text %}</p>
</div>
<div class="col-sm-3">
<img src="/assets/img/masternodes/private.svg" height="100" alt="Private">
<h2>PrivateSend</h2>
<p>{% t pages.masternodes.private-send-text %}</p>
</div>
<div class="col-sm-3">
<img src="/assets/img/masternodes/masternode.svg" height="100" alt="Secure">
<h2>Decentralised <br>Governance</h2>
<p>{% t pages.masternodes.governance-text %}</p>
</div>
<div class="col-sm-3">
<img src="/assets/img/masternodes/evol.svg" height="100" alt="Secure">
<h2>Dash Evolution</h2>
<p>{% t pages.masternodes.evolution-text %}</p>
</div>
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<h2>{% t pages.masternodes.host-heading %}</h2>
<div class="row">
<div class="col-sm-6">
{% tmd pages.masternodes.host-text-right %}
</div>
<div class="col-sm-6">
<div class="bottom-space">{% tmd pages.masternodes.host-text-left %}</div>
<a href="#" class="btn-blue">{% t pages.masternodes.host-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="#" class="btn-blue">{% 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>

0
mining/index.html Normal file
View file

View file

@ -460,7 +460,6 @@ a.blog_link {
padding-top: 55px;
margin-bottom: 55px;
}
.ctabox__image {
background-color: #fff;
}
@ -471,3 +470,13 @@ a.blog_link {
font-family: $font-family-brand;
font-weight: $font-weight-bold;
}
.section__title{
font-weight: 300;
font-size: 3.35294rem;
line-height: 1.2;
letter-spacing: -0.015em;
margin-bottom: 10px;
text-align: center;
margin-bottom: 40px;
}