Browse Source

Teach this more about CLI args

pull/2/head
Duke Leto 3 years ago
parent
commit
45ab95da43
  1. BIN
      clapping.gif
  2. 9
      index.html
  3. 4
      main.js

BIN
clapping.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

9
index.html

@ -80,8 +80,15 @@
You have selected <span class="bold">{{ flavor }}</span> as your flavor. A wise decision.
</div>
<div id="meme" class="animated fadeInDown">
<img src=putin.gif>
</div>
<div id="profile" class="profile animated fadeInDown" v-html="command">
</div>
<div id="clapping" class="clapping animated fadeInDown">
<center>
<img src=clapping.gif>
</center>
</div>
</div>
<div class="row donate">
@ -93,6 +100,6 @@
</div>
<script src='https://unpkg.com/vue'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
<script src='main.js?v=2'></script>
<script src='main.js?v=3'></script>
</body>
</html>

4
main.js

@ -18,6 +18,7 @@ new Vue({
customPath: 0,
customMinerToAddress: 0,
optionName: 'TUSH',
optionz2z: 1,
optionSupply: '21000000',
optionBlocktime: 60,
optionRpcAllowIp: '127.0.0.1',
@ -87,7 +88,8 @@ new Vue({
+ currentdate.getHours() + ":"
+ currentdate.getMinutes() + ":"
+ currentdate.getSeconds()
this.command = "<br/>hush-smart-chain -ac_name=" + this.name;
this.command = "<br/>hush-smart-chain -ac_name=" + this.optionName + " -ac_supply=" + this.optionSupply
+ " -ac_blocktime=" + this.optionBlocktime + " -ac_private=" + this.optionz2z;
/*
if (this.optionAllowList.length != 0) {
this.command = this.conf + "<br /><br />whitelist=" + this.optionAllowList

Loading…
Cancel
Save