mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Add underline decoration to links and use div element as target
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
e6a81a692a
commit
45c8a829c0
6 changed files with 29 additions and 26 deletions
|
|
@ -61,14 +61,17 @@
|
|||
</template>
|
||||
</NcInputField>
|
||||
<em>
|
||||
<a :href="webdavDocs" target="_blank" rel="noreferrer noopener">
|
||||
<a class="setting-link"
|
||||
:href="webdavDocs"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener">
|
||||
{{ t('files', 'Use this address to access your Files via WebDAV') }} ↗
|
||||
</a>
|
||||
</em>
|
||||
<br />
|
||||
<br>
|
||||
<em>
|
||||
<a :href="appPasswordUrl">
|
||||
{{ t('files', 'If you have enabled 2FA, you must create and use a new app password by clicking here.') }}
|
||||
<a class="setting-link" :href="appPasswordUrl">
|
||||
{{ t('files', 'If you have enabled 2FA, you must create and use a new app password by clicking here.') }} ↗
|
||||
</a>
|
||||
</em>
|
||||
</NcAppSettingsSection>
|
||||
|
|
@ -175,5 +178,7 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.setting-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -20,21 +20,19 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<div v-if="!adding" class="row spacing">
|
||||
<a id="generate-app-token-section">
|
||||
<!-- Port to TextField component when available -->
|
||||
<input v-model="deviceName"
|
||||
type="text"
|
||||
:maxlength="120"
|
||||
:disabled="loading"
|
||||
:placeholder="t('settings', 'App name')"
|
||||
@keydown.enter="submit">
|
||||
<NcButton :disabled="loading || deviceName.length === 0"
|
||||
type="primary"
|
||||
@click="submit">
|
||||
{{ t('settings', 'Create new app password') }}
|
||||
</NcButton>
|
||||
</a>
|
||||
<div v-if="!adding" id="generate-app-token-section" class="row spacing">
|
||||
<!-- Port to TextField component when available -->
|
||||
<input v-model="deviceName"
|
||||
type="text"
|
||||
:maxlength="120"
|
||||
:disabled="loading"
|
||||
:placeholder="t('settings', 'App name')"
|
||||
@keydown.enter="submit">
|
||||
<NcButton :disabled="loading || deviceName.length === 0"
|
||||
type="primary"
|
||||
@click="submit">
|
||||
{{ t('settings', 'Create new app password') }}
|
||||
</NcButton>
|
||||
</div>
|
||||
<div v-else class="spacing">
|
||||
{{ t('settings', 'Use the credentials below to configure your app or device.') }}
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue