update indentation (4 spaces -> 2 spaces)

This commit is contained in:
Simon Vieille 2022-10-16 18:33:06 +02:00
parent 1c1fe946cf
commit 585aec5ee2
Signed by: deblan
GPG key ID: 579388D585F70417
12 changed files with 598 additions and 598 deletions

View file

@ -22,24 +22,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</li> </li>
</ul> </ul>
<Actions> <NcActions>
<ActionButton @click="showAddForm" icon="icon-add"></ActionButton> <NcActionButton @click="showAddForm" icon="icon-add"></NcActionButton>
</Actions> </NcActions>
<Modal v-if="addForm" @close="hideAddForm"> <NcModal v-if="addForm" @close="hideAddForm">
<div class="modal__content"> <div class="modal__content">
<div v-for="lang in langs"> <div v-for="lang in langs">
<span class="lang" v-text="lang"></span> <span class="lang" v-text="lang"></span>
<input type="text" v-model="newValue[lang]" required> <input type="text" v-model="newValue[lang]" required>
</div> </div>
<Actions> <NcActions>
<ActionButton @click="saveAdd" icon="icon-checkmark"></ActionButton> <NcActionButton @click="saveAdd" icon="icon-checkmark"></NcActionButton>
</Actions> </NcActions>
</div> </div>
</Modal> </NcModal>
<Modal v-if="editForm" @close="hideEditForm"> <NcModal v-if="editForm" @close="hideEditForm">
<div class="modal__content"> <div class="modal__content">
<div v-for="lang in langs"> <div v-for="lang in langs">
<span class="lang" v-text="lang"></span> <span class="lang" v-text="lang"></span>
@ -47,16 +47,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div> </div>
<div class="pull-right"> <div class="pull-right">
<Actions> <NcActions>
<ActionButton @click="removeEdit" icon="icon-delete"></ActionButton> <NcActionButton @click="removeEdit" icon="icon-delete"></NcActionButton>
</Actions> </NcActions>
</div> </div>
<Actions> <NcActions>
<ActionButton @click="saveEdit" icon="icon-checkmark"></ActionButton> <NcActionButton @click="saveEdit" icon="icon-checkmark"></NcActionButton>
</Actions> </NcActions>
</div> </div>
</Modal> </NcModal>
</div> </div>
</template> </template>
@ -85,16 +85,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</style> </style>
<script> <script>
import Modal from '@nextcloud/vue/dist/Components/Modal' import NcModal from '@nextcloud/vue/dist/Components/NcModal'
import Actions from '@nextcloud/vue/dist/Components/Actions' import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import ActionButton from '@nextcloud/vue/dist/Components/ActionButton' import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
export default { export default {
name: 'AdminCategoriesCustom', name: 'AdminCategoriesCustom',
components: { components: {
Modal, NcModal,
Actions, NcActions,
ActionButton, NcActionButton,
}, },
data() { data() {
return { return {

View file

@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{{ label }} {{ label }}
<span class="avatardiv avatardiv-shown"> <span class="avatardiv avatardiv-shown">
<img v-bind:src="avatar" v-bind:alt="name" v-bind:title="name"> <img v-bind:src="avatar">
</span> </span>
</a> </a>
</div> </div>