Browse Source

complate balance display.

tags/v1.21.12.1
Gitea 4 years ago
parent
commit
448682c9c0
1 changed files with 5 additions and 20 deletions
  1. +5
    -20
      templates/repo/blockchain/index.tmpl

+ 5
- 20
templates/repo/blockchain/index.tmpl View File

@@ -2,32 +2,17 @@
<div class="repository balance view">
{{template "repo/header" .}}
<div class="ui container">
<h4 class="ui top attached header">
<h3 class="ui top attached header">
{{.i18n.Tr "repo.balance.total_view"}}
</h4>
</h3>

<div class="ui attached segment">
<div class="inline field">
<label>{{repo.balance.available}}</label>
<span>29 KiB</span>
<span class="fitted">{{.i18n.Tr "repo.balance.available"}}</span>
<span class="fitted">{{.balance}}</span>
</div>
</div>

</div>
</div>
</div>
{{template "base/footer" .}}

<script>
// $('.eye.icon').click(function(){
// $('.eye.icon').toggleClass('slash')
// // console.log(this)
// if($(this).hasClass('slash')){
// $(this).next().css('display', 'none')
// }else{
// $(this).next().css('display', 'block')
// }

// })
</script>
{{template "base/footer" .}}

Loading…
Cancel
Save