You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.tmpl 786 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
12345678910111213141516171819202122232425262728293031323334
  1. {{template "base/head" .}}
  2. <div class="repository balance view">
  3. {{template "repo/header" .}}
  4. <div class="ui container">
  5. <h4 class="ui top attached header">
  6. {{.i18n.Tr "repo.balance.total_view"}}
  7. </h4>
  8. <div class="ui attached segment">
  9. {{.i18n.Tr "repo.balance.available"}}121
  10. </div>
  11. <div class="ui attached segment">
  12. {{.i18n.Tr "repo.balance.disable"}}121
  13. </div>
  14. <!-- </div> -->
  15. </div>
  16. </div>
  17. </div>
  18. {{template "base/footer" .}}
  19. <script>
  20. $('.eye.icon').click(function(){
  21. $('.eye.icon').toggleClass('slash')
  22. // console.log(this)
  23. if($(this).hasClass('slash')){
  24. $(this).next().css('display', 'none')
  25. }else{
  26. $(this).next().css('display', 'block')
  27. }
  28. })
  29. </script>