Changeset View
Changeset View
Standalone View
Standalone View
src/resources/vue/Widgets/CompanionappList.vue
<template> | <template> | ||||
<div> | <div> | ||||
<btn icon="trash-alt" class="btn-outline-danger button-delete float-end" @click="showDeleteConfirmation()"> | <btn icon="trash-can" class="btn-outline-danger button-delete float-end" @click="showDeleteConfirmation()"> | ||||
{{ $t('companion.delete') }} | {{ $t('companion.delete') }} | ||||
</btn> | </btn> | ||||
<table class="table table-sm m-0 entries"> | <table class="table table-sm m-0 entries"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th scope="col">{{ $t('companion.name') }}</th> | <th scope="col">{{ $t('companion.name') }}</th> | ||||
<th scope="col">{{ $t('companion.deviceid') }}</th> | <th scope="col">{{ $t('companion.deviceid') }}</th> | ||||
</tr> | </tr> | ||||
Show All 14 Lines | <div> | ||||
<h5 class="modal-title">{{ $t('companion.remove-devices') }}</h5> | <h5 class="modal-title">{{ $t('companion.remove-devices') }}</h5> | ||||
<btn class="btn-close" data-bs-dismiss="modal" :aria-label="$t('btn.close')"></btn> | <btn class="btn-close" data-bs-dismiss="modal" :aria-label="$t('btn.close')"></btn> | ||||
</div> | </div> | ||||
<div class="modal-body"> | <div class="modal-body"> | ||||
<p>{{ $t('companion.remove-devices-text') }}</p> | <p>{{ $t('companion.remove-devices-text') }}</p> | ||||
</div> | </div> | ||||
<div class="modal-footer"> | <div class="modal-footer"> | ||||
<btn class="btn-secondary modal-cancel" data-bs-dismiss="modal">{{ $t('btn.cancel') }}</btn> | <btn class="btn-secondary modal-cancel" data-bs-dismiss="modal">{{ $t('btn.cancel') }}</btn> | ||||
<btn class="btn-danger modal-action" data-bs-dismiss="modal" @click="removeDevices()" icon="trash-alt">{{ $t('btn.delete') }}</btn> | <btn class="btn-danger modal-action" data-bs-dismiss="modal" @click="removeDevices()" icon="trash-can">{{ $t('btn.delete') }}</btn> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</template> | </template> | ||||
<script> | <script> | ||||
Show All 39 Lines |