Tests: Add identifier for testing

This commit is contained in:
theresa 2021-01-13 11:04:38 +01:00
parent 7bcef9ed4d
commit e48bb48eaa
4 changed files with 10 additions and 2 deletions

View file

@ -61,6 +61,7 @@
<v-btn :ripple="false" :depressed="false" class="input-view"
icon flat absolute :title="$gettext('View')"
:data-uid="photo.UID"
@click.stop.prevent="openPhoto(index, false)">
<v-icon color="white" class="action-fullscreen">zoom_in</v-icon>
</v-btn>
@ -73,12 +74,14 @@
<v-btn v-if="hidePrivate" :ripple="false"
icon flat absolute
:data-uid="photo.UID"
class="input-private">
<v-icon color="white" class="select-on">lock</v-icon>
</v-btn>
<v-btn :ripple="false"
icon flat absolute
:data-uid="photo.UID"
class="input-select"
@click.stop.prevent="onSelect($event, index)">
<v-icon color="white" class="select-on">check_circle</v-icon>
@ -87,6 +90,7 @@
<v-btn :ripple="false"
icon flat absolute
:data-uid="photo.UID"
class="input-favorite"
@click.stop.prevent="photo.toggleLike()">
<v-icon color="white" class="select-on">favorite</v-icon>

View file

@ -60,6 +60,7 @@
<v-btn :ripple="false" :depressed="false" class="input-view"
icon flat small absolute :title="$gettext('View')"
:data-uid="photo.UID"
@click.stop.prevent="openPhoto(index, false)">
<v-icon color="white" class="action-fullscreen">zoom_in</v-icon>
</v-btn>
@ -72,12 +73,14 @@
<v-btn v-if="hidePrivate" :ripple="false"
icon flat small absolute
:data-uid="photo.UID"
class="input-private">
<v-icon color="white" class="select-on">lock</v-icon>
</v-btn>
<v-btn :ripple="false"
icon flat small absolute
:data-uid="photo.UID"
class="input-select"
@click.stop.prevent="onSelect($event, index)">
<v-icon color="white" class="select-on">check_circle</v-icon>
@ -86,6 +89,7 @@
<v-btn :ripple="false"
icon flat small absolute
:data-uid="photo.UID"
class="input-favorite"
@click.stop.prevent="photo.toggleLike()">
<v-icon color="white" class="select-on">favorite</v-icon>

View file

@ -7,7 +7,7 @@
<v-text-field id="search"
v-model="filter.q"
single-line
class="hidden-xs-only mr-3"
class="hidden-xs-only mr-3 input-search"
:label="$gettext('Search')"
browser-autocomplete="off"
prepend-inner-icon="search"

View file

@ -15,7 +15,7 @@
<v-spacer></v-spacer>
<v-btn icon :title="$gettext('Reload')" @click.stop="refresh">
<v-btn icon :title="$gettext('Reload')" class="action-reload" @click.stop="refresh">
<v-icon>refresh</v-icon>
</v-btn>
</v-toolbar>