|
|
@ -23,7 +23,7 @@ |
|
|
|
<div class="control" v-for="label in labels"> |
|
|
|
<li class="tags has-addons"> |
|
|
|
<span class="tag is-primary">[[label.shortcut]]</span> |
|
|
|
<a class="tag is-grey" v-on:click="addLabel(label.text)">[[label.text]]</a> |
|
|
|
<a class="tag is-grey" v-on:click="addLabel(label.text)" v-shortkey="['ctrl', [[ label.shortcut ]]]" @shortkey="addLabel(label.text)">[[label.text]]</a> |
|
|
|
</li> |
|
|
|
</div> |
|
|
|
</ul> |
|
|
@ -72,10 +72,10 @@ |
|
|
|
<div class="column is-7 message hero is-fullheight is-hidden" id="message-pane"> |
|
|
|
<div class="action-buttons"> |
|
|
|
<div class="control is-grouped"> |
|
|
|
<a class="button is-small" v-on:click="prevPage"> |
|
|
|
<a class="button is-small" v-on:click="prevPage" v-shortkey="['ctrl', 'p']" @shortkey="prevPage"> |
|
|
|
<i class="fa fa-chevron-left"></i> |
|
|
|
</a> |
|
|
|
<a class="button is-small" v-on:click="nextPage"> |
|
|
|
<a class="button is-small" v-on:click="nextPage" v-shortkey="['ctrl', 'n']" @shortkey="nextPage"> |
|
|
|
<i class="fa fa-chevron-right"></i> |
|
|
|
</a> |
|
|
|
</div> |
|
|
@ -106,5 +106,5 @@ |
|
|
|
crossorigin="anonymous"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment.min.js" integrity="sha256-4PIvl58L9q7iwjT654TQJM+C/acEyoG738iL8B8nhXg=" |
|
|
|
crossorigin="anonymous"></script> |
|
|
|
<script type="text/javascript" src="{% static 'annotation.1.js' %}"></script> |
|
|
|
<script type="text/javascript" src="{% static 'main.js' %}"></script> |
|
|
|
{% endblock %} |