raselpixel007

Untitled

Dec 19th, 2018
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.19 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:mf="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Dashboard - Dreambox</title>
  6.  
  7.  
  8. <!--Connecting adaptivity-->
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <!-- Bootstrap Reboot CSS -->
  11. <link rel="stylesheet" href="assets/css/bootstrap-reboot.min.css">
  12. <!-- Bootstrap CSS -->
  13. <link rel="stylesheet" href="assets/css/bootstrap.min.css">
  14. <!-- Font -->
  15. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  16. <!-- Main CSS -->
  17.  
  18. <link rel="stylesheet" href="assets/css/main.css">
  19. <meta id="_csrf" name="_csrf" th:content="${_csrf.token}"/>
  20. <meta id="_csrf_header" name="_csrf_header" th:content="${_csrf.headerName}"/>
  21.  
  22. <link rel="stylesheet" href="assets/dashboard/css/sweet-alert.css" type="text/css" />
  23. <style>
  24. .money__box {
  25. width: 616px;
  26. background: #1D2025;
  27. padding: 10px 15px;
  28. }
  29. .money__box {
  30. width: 560px;
  31. background: #1D2025;
  32. padding: 10px 15px;
  33. }
  34. .purse__one {
  35. display: -webkit-flex;
  36. display: -moz-flex;
  37. display: -ms-flex;
  38. display: -o-flex;
  39. display: flex;
  40. width: 100%;
  41. }
  42. .money {
  43. margin-bottom: 30px;
  44. margin-top: 30px;
  45. width: 50%;
  46. }
  47. .table td, .table th {
  48. padding: .3rem;
  49. vertical-align: top;
  50. border-top: 1px solid #dee2e6;
  51. }
  52. .pouch__text {
  53. font-size: 11px;
  54. display: block;
  55. margin-bottom: 5px;
  56. padding-left: 20px;
  57. }
  58. .pouch__wrap {
  59. padding-left: 20px;
  60. }
  61.  
  62.  
  63. .table thead th {
  64. color: #fff;
  65. }
  66. .copy_address{
  67. position: absolute;
  68. right: 0;top: 8px
  69. }
  70. article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
  71. display: block;
  72. width: 1300px;
  73. margin: 0 auto;
  74. }
  75.  
  76. .pouch__adr {
  77. margin-right: 10px;
  78. background: #2A2B30;
  79. padding: 10px 10px;
  80. display: block;
  81. margin-left: 7px;
  82. width: 70%;
  83. }
  84. .fs-08 {
  85. width: 100%;
  86. }
  87. .pouch__num {
  88. font-size: 14px;
  89. background: #2A2B30;
  90. padding: 3px 10px;
  91. display: block;
  92. width: 210px;
  93. text-align: center;
  94. margin-right: 10px;
  95. }
  96. input#BITCOINamount, input#ETHEREUMamount {
  97. background-color: #2A2B31;
  98. border: none;
  99. font-size: 18px;
  100. color: #fff;
  101. padding: 2px 0px;
  102. }
  103. .pouch__num {
  104. font-size: 16px;
  105. background: #2A2B30;
  106. padding: 3px 10px;
  107. display: block;
  108. width: 135px;
  109. text-align: center;
  110. margin-right: 10px;
  111. color: #fff;
  112. }
  113. input.form-control.fs-08 {
  114. background-color: #2A2B31;
  115. border: none;
  116. padding: 0px;
  117. color: #fff;
  118. }
  119.  
  120. .btn-danger {
  121. color: #fff;
  122. background-color: #1D2024;
  123. border-color: #fff;
  124. border-radius: 54px;
  125. font-size: 12px;
  126. }
  127. .pouch__block {
  128. position: relative;
  129. }
  130. a.pouch__btn.but {
  131. position: absolute;
  132. right: 0px;
  133. top: 8px;
  134. }
  135. .purse__block {
  136. display: none;
  137. }
  138. .purse__name {
  139. display: none;
  140. }
  141. a.pirse__user {
  142. display: none;
  143. }
  144. .logo {
  145. background: #18191D;
  146. padding: 30.5px 25px;
  147. padding-right: 30px;
  148. }
  149.  
  150. input#BITCOIN_copy_clip, input#ETHEREUM_copy_clip {
  151. border: none;
  152. /*color: #43425D;*/
  153. color: #fff;
  154. font-size: 14px;
  155. }
  156.  
  157. button, input {
  158. overflow: visible;
  159. }
  160. button, input, optgroup, select, textarea {
  161. margin: 0;
  162. font-family: inherit;
  163. }
  164. button.btn.btn-danger.deposit-btn {
  165. margin-left: 50px;
  166. }
  167. input.form-control.fs-08::placeholder {
  168. color: #c3c3c3;
  169. opacity: 1;
  170. font-weight: 500;
  171. font-size: 15px;
  172. }
  173.  
  174. input.form-control.fs-08:-ms-input-placeholder {
  175. color: #c3c3c3;
  176.  
  177. }
  178.  
  179. input.form-control.fs-08::-ms-input-placeholder {
  180. color: #c3c3c3;
  181. }
  182. input.amount-ph::placeholder {
  183. color: #c3c3c3 !important;
  184. opacity: 1;
  185. font-weight: 500;
  186. font-size: 18px;
  187.  
  188. }
  189.  
  190. input.amount-ph:-ms-input-placeholder {
  191. color: #c3c3c3 !important;
  192. }
  193.  
  194. input.amount-ph::-ms-input-placeholder {
  195. color: #c3c3c3 !important;
  196. }
  197. tr.odd {
  198. font-size: 12px;
  199. }
  200.  
  201. div#withdrawal-nav-content-ETHEREUM .pouch__text:after {
  202. visibility: visible;
  203. position: absolute;
  204. top: 0px;
  205. left: 4%;
  206. content: "Send ETH";
  207. }
  208. div#withdrawal-nav-content-ETHEREUM .pouch__text {
  209. visibility: hidden;
  210. position: relative;
  211. }
  212.  
  213. .money__top.static-text {
  214. position: relative;
  215. }
  216.  
  217. span.btc-text {
  218. color: #fff;
  219. position: absolute;
  220. top: 131px;
  221. left: 10%;
  222. }
  223.  
  224. span.etc-text {
  225. color: #fff;
  226. position: absolute;
  227. top: 169px;
  228. left: 10%;
  229. }
  230.  
  231.  
  232. @media only screen
  233. and (max-width: 800px)
  234. and (min-width: 320px){
  235. article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
  236. display: block;
  237. width: auto;
  238. margin: 0 auto;
  239. }
  240. .money__box {
  241. position: relative;
  242. left: -25%;
  243. }
  244. .mb-0, .my-0 {
  245. position: relative;
  246. left: -40%;
  247. }
  248. .money__top {
  249. position: relative;
  250. left: -25%;
  251. background-color: #18191D !important;
  252. }
  253.  
  254. }
  255.  
  256. .dropdown {
  257. position: relative;
  258. }
  259. div#myDropdown {
  260. display: none;
  261. position: absolute;
  262. z-index: 999;
  263. }
  264.  
  265. div#myDropdown.show {
  266. display: block !important;
  267. }
  268.  
  269. div#myDropdown ul {
  270. margin-left: 3px;
  271. padding: 0px;
  272. background-color: #3E3E48;
  273. }
  274.  
  275. div#myDropdown ul li {
  276. list-style: none;
  277. }
  278. div#myDropdown ul li a{
  279. padding: 5px 10px 5px 5px;
  280. display: block;
  281. }
  282. div#myDropdown ul li:hover a{
  283. background-color: #2B2A30;
  284. }
  285. .dropdown button {
  286. border: none;
  287. padding: 8px 13px;
  288. border-radius: 5px;
  289. color: #fff;
  290. background-color: #2B2A30;
  291. cursor: pointer;
  292. width: 100px
  293. }
  294. div#myDropdown ul li a img {
  295. width: 20px;
  296. margin-right: 7px;
  297. }
  298.  
  299. .purse__sup {
  300. display: -webkit-flex;
  301. display: -moz-flex;
  302. display: -ms-flex;
  303. display: -o-flex;
  304. display: flex;
  305. align-items: center;
  306. background: #2B2A30;
  307. padding: 10px 10px;
  308. width: 115px;
  309. border-radius: 5px;
  310. }
  311. .purse__box {
  312. display: -webkit-flex;
  313. display: -moz-flex;
  314. display: -ms-flex;
  315. display: -o-flex;
  316. display: flex;
  317. align-items: center;
  318. justify-content: space-between;
  319. width: 590px;
  320. margin-left: auto;
  321. }
  322.  
  323. .but {
  324. width: 105px;
  325. }
  326. </style>
  327. </head>
  328. <body>
  329. <section class="purse" id="purse">
  330. <div class="container-fluid container-fluid_plain">
  331. <div class="row no-gutters">
  332. <div class="col-lg-12">
  333. <!-- top start -->
  334. <div class="purse__dom">
  335. <div class="logo">
  336. <img src="assets/img/logo.png" alt="" class="logo__img">
  337. </div>
  338. <div class="purse__top">
  339. <h1 class="purse__title">
  340. Dream Box
  341. </h1>
  342. <div class="purse__box">
  343. <form action="#" class="form-scan">
  344. <input type="search" class="form-scan__inpt" th:placeholder="#{dashboard.deposit_manage.deposit.search}">
  345. <button data-submit="" class="form-scan__btn">
  346. <i class="fas fa-search"></i>
  347. </button>
  348. </form>
  349. <div class="purse__sup">
  350. <p class="purse__att">
  351. !
  352. </p>
  353. <p class="purse__word">
  354. <a href="mailto:support@dreambox-ws.com"><th th:utext="#{dashboard.deposit_manage.deposit.support}"></th></a>
  355. </p>
  356. </div>
  357. <div class="dropdown">
  358. <button onclick="lanBtnFunction()" class="dropbtn"><th th:utext="#{dashboard.deposit_manage.deposit.language}"></th></button>
  359. <div id="myDropdown" class="dropdown-content">
  360. <ul>
  361. <li><a href="https://www.dreambox-ws.com/deposit_manage?language=en_US"><img src="assets/img/United_States_of_America.png">US</a></li>
  362. <li><a href="https://www.dreambox-ws.com/deposit_manage?language=ja_JP"><img src="assets/img/Japan.png">Japan</a></li>
  363. <li><a href="https://www.dreambox-ws.com/deposit_manage?language=ko_KR"><img src="assets/img/South_Korea.png">Korean</a></li>
  364. <li><a href="https://www.dreambox-ws.com/deposit_manage?language=zh_CN"><img src="assets/img/China.png">China</a></li>
  365.  
  366. </ul>
  367. </div>
  368. </div>
  369. <div class="purse__sup">
  370. <p class="purse__word">
  371. <a style="margin-left: 20px" href="https://www.dreambox-ws.com/logout" ><th th:utext="#{dashboard.deposit_manage.deposit.logout}"></th></a>
  372. </p>
  373. </div>
  374.  
  375. </div>
  376. </div>
  377. </div>
  378. <!-- top end -->
  379. </div>
  380. <div class="col-lg-12">
  381. <div class="purse__case">
  382. <!-- all start-->
  383. <div class="purse__block">
  384. <a href="#" class="purse__connect">
  385. <i class="purse__ico fas fa-box"></i>
  386. </a>
  387. <a href="#" class="purse__connect">
  388. <i class="purse__ico fas fa-outdent"></i>
  389. </a>
  390. <a href="#" class="purse__connect">
  391. <i class="purse__ico fas fa-signal"></i>
  392. </a>
  393. <a href="#" class="purse__connect">
  394. <i class="purse__ico fas fa-calendar-alt"></i>
  395. </a>
  396. <a href="#" class="purse__connect">
  397. <i class="purse__ico fas fa-clock"></i>
  398. </a>
  399. <a href="#" class="purse__connect">
  400. <i class="purse__ico fas fa-calculator"></i>
  401. </a>
  402. <a href="#" class="purse__connect">
  403. <i class="purse__ico fas fa-fax"></i>
  404. </a>
  405. <a href="#" class="purse__connect">
  406. <i class="purse__ico fas fa-cog"></i>
  407. </a>
  408. <a href="#" class="purse__connect comments">
  409. <i class="purse__ico fas fa-comments"></i>
  410. </a>
  411. </div>
  412. <input id="selectionCoin" type="hidden" th:value="${selectionCoin}">
  413. <!-- left end-->
  414. <!-- right start-->
  415. <div class="purse__right">
  416. <div class="purse__one">
  417. <!-- ballance start -->
  418. <div class="money" style="margin: 38px 5%;background-color: #1D2025;
  419. height: 341px;">
  420. <div class="money__top" style="background-color: #18191D;">
  421. <h2 class="money__title static-text">
  422. <th th:utext="#{dashboard.deposit_manage.deposit.balance}"></th>
  423. </h2>
  424. <i class="fas fa-ellipsis-v money__ico"></i>
  425. <span class="btc-text">Bitcoin</span>
  426. <span class="etc-text">Ethereum</span>
  427. </div>
  428. <table class="table mb-0 coin-list-table money__box">
  429. <thead>
  430. <tr>
  431. <th scope="col" th:utext="#{dashboard.deposit_manage.deposit.coin_name}" style="color:#fff;border-top:none;"></th>
  432. <th scope="col" colspan="2" th:utext="#{dashboard.deposit_manage.deposit.coin_balance} " style="color:#fff;border-top:none;"></th>
  433. </tr>
  434. </thead>
  435. <tbody>
  436. <tr class="" th:each="info : ${walletInfos.infos}">
  437. <td class="fs-08 text-vl-center">
  438. <img style="width:30px" th:src="@{'assets/img/'+${info.coin.name}+'.png'}"/>
  439. </td>
  440. <td class="fs-08 text-vl-center"><a href="#" th:onclick="'onDepositTabChange(\'' + ${info.coin.name} + '\')'">
  441. <span class="text-white text-bold" th:text="${info.coin.unit}" style="color:#fff"></span></a></td>
  442. <td class="fs-08 text-white text-vl-center">
  443. <div th:if="${info.wallet != null && info.wallet.availableBalance > 0}">
  444. <span class="text-white text-bold" th:text="${#numbers.formatDecimal(info.wallet.availableBalance, 3, 'COMMA', 5, 'POINT')}"></span>
  445. <!--span class="text-white text-bold" mf:decimal="${info.wallet.availableBalance}" style="color:#fff"></span-->
  446. </div>
  447. <div th:unless="${info.wallet != null && info.wallet.availableBalance >0} ">
  448. <span class="text-white text-bold">0</span>
  449. </div>
  450. </td>
  451. </tr>
  452. </tbody>
  453. </table>
  454.  
  455. </div>
  456. <!-- ballance end -->
  457. <!-- Deposit Manage -->
  458. <div class="money">
  459. <div class="money__top">
  460. <h2 class="money__title">
  461. <th th:utext="#{dashboard.deposit_manage.deposit.deposit}"></th>
  462. </h2>
  463. <i class="fas fa-ellipsis-v money__ico"></i>
  464.  
  465.  
  466.  
  467. </div>
  468.  
  469.  
  470. <div class="money__box money__box_dep">
  471. <div class="pouch">
  472.  
  473. <div class="tab-pane" th:each="info : ${walletInfos.infos}" th:id="'deposit-nav-content-' + ${info.coin.name}">
  474.  
  475. <div class="pouch__box">
  476. <p class="pouch__text">
  477.  
  478. </p>
  479. <div class="pouch__block">
  480. <td class="fs-08 text-vl-center">
  481. <img style="width:40px" th:src="@{'assets/img/'+${info.coin.name}+'.png'}"/>
  482. </td>
  483. <!--p class="pouch__adr pouch__adr_eth" th:if="${info.wallet != null && info.wallet.address != null}" th:id="${info.coin.name} + '_copy_clip'" th:text="${info.wallet.address} + ${info.wallet.bankName == null ? '' : ' * ' + info.wallet.bankName} + ${info.wallet.bankName == null ? '' : ' * ' + info.wallet.recvCorpNm}"></p-->
  484.  
  485. <input type="text" class="pouch__adr pouch__adr_eth" readonly="readonly"
  486. th:if="${info.wallet != null && info.wallet.address != null}" th:id="${info.coin.name} + '_copy_clip'"th:value="${info.wallet.address} + ${info.wallet.bankName == null ? '' : ' * ' + info.wallet.bankName} + ${info.wallet.bankName == null ? '' : ' * ' + info.wallet.recvCorpNm}"
  487. >
  488.  
  489.  
  490.  
  491.  
  492. <p class="pouch__adr pouch__adr_eth" th:if="${info.wallet == null}">
  493. Please create wallet first
  494. </p>
  495.  
  496. <a href="javascript:void(0);" th:if="${info.wallet != null && info.wallet.address != null}" th:onclick="'CopyToClipboard(' + '\'' + ${info.coin.name} + '_copy_clip\')'" class="pouch__btn but"><th th:utext="#{dashboard.deposit_manage.deposit.copy_address}"></th></a>
  497. </div>
  498. </div>
  499.  
  500. <div class="row" >
  501. <div class="col-md-12 fs-08">
  502. <!--<p th:utext="#{dashboard.deposit_manage.deposit.desc1(${info.coin.unit})}"></p>-->
  503. <br>
  504. <!--<p> <span th:utext="#{dashboard.deposit_manage.deposit.desc2(${info.coin.unit})}"/></p>-->
  505. <!--<h2 style="color:orange" th:if="${info.wallet.address} == null">-->
  506.  
  507.  
  508. <!--</h2>-->
  509.  
  510. <button class="btn btn-danger deposit-btn"
  511. th:if="${info.wallet == null}"
  512. th:onclick="'createWallet(' + '\'' + ${info.coin.name} + '\')'"
  513. th:utext="#{dashboard.deposit_manage.deposit.desc3(${info.coin.unit})}">
  514.  
  515. </button>
  516. <p></p>
  517. <br>
  518. <!--<p><span th:utext="#{dashboard.deposit_manage.deposit.desc4(${info.coin.unit})}"/></p>-->
  519. </div>
  520. </div>
  521.  
  522.  
  523. </div>
  524.  
  525.  
  526.  
  527. </div>
  528. </div>
  529.  
  530.  
  531. </div>
  532. <!-- Deposit end -->
  533. </div>
  534. <div class="purse__two">
  535. <!-- Transactions start -->
  536. <div class="money" style="margin: 38px 5%;background-color: #1D2025;height: 310px;width: 690px; ">
  537. <div class="money__top" style="background-color: #18191D;">
  538. <h2 class="money__title">
  539. <th th:utext="#{dashboard.deposit_manage.deposit.transactions}"></th>
  540. </h2>
  541. <i class="fas fa-ellipsis-v money__ico"></i>
  542. </div>
  543.  
  544. <table style="color: #fff;" class="table mb-0">
  545. <thead>
  546. <tr>
  547. <th scope="col" th:utext="#{dashboard.deposit_manage.deposit.history.column7}" style=""></th>
  548. <th scope="col" th:utext="#{dashboard.deposit_manage.deposit.history.column3}" style=""></th>
  549. <th scope="col" th:utext="#{dashboard.deposit_manage.deposit.history.column1}" style=""></th>
  550. </tr>
  551. </thead>
  552. <tbody id="depositTransactionBodyId">
  553. </tbody>
  554. </table>
  555. </div>
  556.  
  557. <!-- Transactions end -->
  558. <!-- Withdraw start -->
  559. <div class="money">
  560. <div class="money__top">
  561. <h2 class="money__title">
  562. <th th:utext="#{dashboard.deposit_manage.deposit.withdraw}"></th>
  563. </h2>
  564. <i class="fas fa-ellipsis-v money__ico"></i>
  565. </div>
  566.  
  567.  
  568.  
  569.  
  570. <div class="money__box money__box_transactions">
  571. <div class="pouch">
  572. <div class="pouch__box">
  573. <div class="tab-pane" th:each="info : ${walletInfos.infos}" th:id="'withdrawal-nav-content-' + ${info.coin.name}">
  574. <div class="row">
  575. <div class="col-lg-12 fs-08">
  576. <!--<p th:utext="#{dashboard.withdrawal_manage.withdrawal.desc1(${info.coin.unit})}"></p>-->
  577. </h2>
  578. </div>
  579. <div class="fs-08">
  580. <form th:if="${info.wallet != null && info.level != null}" th:id="'withdrawal' + ${info.coin.name} + 'FormId'" class="form-horizontal" role="form">
  581. <input type="hidden" name="coinName" class="form-control" th:value="${info.coin.name}">
  582. <input type="hidden" name="coinUnit" class="form-control" th:value="${info.coin.unit}">
  583. <input type="hidden" name="onceAmount" class="form-control" th:value="${info.level.onceAmount}">
  584. <input type="hidden" name="onedayAmount" class="form-control" th:value="${info.level.onedayAmount}">
  585. <input type="hidden" name="myLimitAmount" class="form-control" th:value="${info.level.onedayAmount - info.wallet.todayWithdrawalTotalBalance > 0 ? info.level.onedayAmount - info.wallet.todayWithdrawalTotalBalance: 0}">
  586. <input type="hidden" name="availableBalance" class="form-control" th:value="${#numbers.formatDecimal(info.wallet.availableBalance,1,8,'POINT')}">
  587. <input type="hidden" name="minWithdrawalAmount" class="form-control" th:value="${#numbers.formatDecimal(info.wallet.coin.withdrawalMinAmount,1,8,'POINT')}">
  588. <input type="hidden" name="realWithdrawalAmount" class="form-control" th:value="${#numbers.formatDecimal(info.realWithdrawalAmount,1,8,'POINT')}">
  589. <input type="hidden" name="withdrawalFee" class="form-control" th:value="${#numbers.formatDecimal(info.withdrawalFee,1,8,'POINT')}">
  590.  
  591.  
  592.  
  593. <p class="pouch__text">
  594. Send BTC:
  595. </p>
  596. <div class="pouch__wrap">
  597. <div class="pouch__block">
  598. <img style="width:40px" th:src="@{'assets/img/'+${info.coin.name}+'.png'}"/>
  599. <p class="pouch__adr pouch__adr_bit">
  600. <input class="form-control fs-08" type="text" name="address" th:placeholder="#{dashboard.withdrawal_manage.withdrawal.desc9}">
  601. </p>
  602. <button type="button" class="btn btn-danger fs-1" th:onclick="'doWithdrawal(\'' + ${info.coin.name} + '\')'" ><th th:utext="#{dashboard.deposit_manage.deposit.withdraw}"></th></button>
  603.  
  604. </div>
  605. <div class="pouch__inner">
  606. <div class="pouch__bon">
  607. <p class="pouch__word">
  608. <th th:utext="#{dashboard.deposit_manage.deposit.amount}"></th>
  609. </p>
  610. <p class="pouch__num pouch__num_btc">
  611. <input class="form-control fs-08" type="number" th:id="${info.coin.name} + 'amount'" name="amount">
  612. </p>
  613.  
  614. </div>
  615. <div class="pouch__bon">
  616. <p class="pouch__word">
  617. <th th:utext="#{dashboard.deposit_manage.deposit.fee}"></th>
  618. </p>
  619. <p class="pouch__num pouch__num_btc-fee">
  620. <span mf:decimal="${info.withdrawalFee}"></span><span th:text="' ' + ${info.coin.unit}"></span>
  621. </p>
  622.  
  623. <!--<p class="pouch__ico">-->
  624. <!--BTC-->
  625. <!--</p>-->
  626. </div>
  627. </div>
  628. </div>
  629. </form>
  630. </div>
  631.  
  632. </div>
  633. </div>
  634.  
  635.  
  636. </div>
  637.  
  638. </div>
  639. </div>
  640. </div>
  641. <!-- Withdraw end -->
  642. </div>
  643. </div>
  644. <!-- right end-->
  645. </div>
  646. <!-- all end-->
  647. </div>
  648. </div>
  649. </div>
  650. </section>
  651. <!-- Footer -->
  652. <div th:include="./dashboard/footer :: footer"></div>
  653. <!-- End Footer -->
  654.  
  655. <script th:src="'js/common/utils.js?dummy=' + ${version}"></script>
  656. <script th:src="'assets/dashboard/js/chartist.min.js?dummy=' + ${version}"></script>
  657. <script th:src="'js/provider/SimpleBaseProvider.js?dummy=' + ${version}"></script>
  658. <script th:src="'js/provider/WalletProvider.js?dummy=' + ${version}"></script>
  659. <script th:src="'js/provider/TransactionProvider.js?dummy=' + ${version}"></script>
  660. <script th:src="'js/service/WalletService.js?dummy=' + ${version}"></script>
  661.  
  662. <script type="text/javascript">
  663.  
  664. function copy_link(name) {
  665. var copyText = document.getElementById(name);
  666. copyText.select();
  667. document.execCommand("copy");
  668. }
  669. utils.locale_init('[[${localeName}]]');
  670.  
  671. var walletService;
  672. walletService = new WalletService();
  673. walletService.rendererDepositTransactions($("#selectionCoin").val(), 0);
  674. function onDepositTabChange(coin) {
  675. $("#selectionCoin").val(coin);
  676. walletService.rendererDepositTransactions(coin, 0);
  677. }
  678.  
  679. function createWallet(coin) {
  680. walletService.createWallet(coin);
  681. }
  682. function doWithdrawal(coin) {
  683. walletService.doWithdrawal(coin);
  684. }
  685.  
  686. function cancelWithdrawal(coin, transaction_id) {
  687. walletService.onCancelWithdrawal(coin, transaction_id);
  688. }
  689. function CopyToClipboard(containerid) {
  690. var copyText = document.getElementById(containerid);
  691. copyText.select();
  692. document.execCommand("copy");
  693. }
  694. function lanBtnFunction() {
  695. document.getElementById("myDropdown").classList.toggle("show");
  696. }
  697.  
  698. // Close the dropdown if the user clicks outside of it
  699. window.onclick = function(event) {
  700. if (!event.target.matches('.dropbtn')) {
  701.  
  702. var dropdowns = document.getElementsByClassName("dropdown-content");
  703. var i;
  704. for (i = 0; i < dropdowns.length; i++) {
  705. var openDropdown = dropdowns[i];
  706. if (openDropdown.classList.contains('show')) {
  707. openDropdown.classList.remove('show');
  708. }
  709. }
  710. }
  711. }
  712. </script>
  713. </body>
  714. </html>
Add Comment
Please, Sign In to add comment