Browse Source

Update template

button disabled
pull/10/head
Hironsan 6 years ago
parent
commit
59aa9c334d
1 changed files with 2 additions and 2 deletions
  1. 4
      doccano/app/server/templates/annotation.html

4
doccano/app/server/templates/annotation.html

@ -92,7 +92,7 @@
</div> </div>
<div class="is-clearfix "> <div class="is-clearfix ">
<div class="buttons has-addons is-left is-pulled-left"> <div class="buttons has-addons is-left is-pulled-left">
<a class="button is-small" v-on:click="prevPage">
<a class="button is-small" v-on:click="prevPage" :disabled="cur == 0">
<span class="icon"> <span class="icon">
<i class="fas fa-chevron-circle-left"></i> <i class="fas fa-chevron-circle-left"></i>
</span> </span>
@ -100,7 +100,7 @@
</a> </a>
</div> </div>
<div class="buttons has-addons is-right"> <div class="buttons has-addons is-right">
<a class="button is-small" v-on:click="nextPage">
<a class="button is-small" v-on:click="nextPage" :disabled="cur + done == total">
<span>Next</span> <span>Next</span>
<span class="icon"> <span class="icon">
<i class="fas fa-chevron-circle-right"></i> <i class="fas fa-chevron-circle-right"></i>

Loading…
Cancel
Save