format code

This commit is contained in:
Simon Vieille
2025-04-13 20:33:03 +02:00
parent fdd8f8850d
commit b835bbb34d
7 changed files with 74 additions and 56 deletions
+2 -2
View File
@@ -423,7 +423,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<TableContainer :class="sectionClass('global')">
<p class="side-menu-tips">
<em>{{ t('side_menu', 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.') }}</em>
<em>{{ t('side_menu', 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.') }}</em>
</p>
<SectionTitle label="Global" />
@@ -688,6 +688,6 @@ onMounted(async () => {
.save {
display: block;
float: right
float: right;
}
</style>
+21 -9
View File
@@ -19,12 +19,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
v-if="config"
app-name="side_menu"
>
<NcAppContent class="side-menu-setting-app" v-if="config['force']">
<NcAppContent
v-if="config['force']"
class="side-menu-setting-app"
>
<TableContainer>
<TableLabel label="You do not have permission to change the settings." />
</TableContainer>
</NcAppContent>
<NcAppContent v-else class="side-menu-setting-app side-menu-setting-app--user">
<NcAppContent
v-else
class="side-menu-setting-app side-menu-setting-app--user"
>
<TableContainer>
<SectionTitle label="Menu" />
@@ -64,11 +70,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:middle="true"
/>
<TableValue>
<FormSelect v-model="config['target-blank-mode']" :options="[
{id: 1, label: 'Use the global setting'},
{id: 2, label: 'Use my selection'},
]" />
<FormAppPicker v-if="config['target-blank-mode'] === 2" v-model="config['target-blank-apps']" />
<FormSelect
v-model="config['target-blank-mode']"
:options="[
{ id: 1, label: 'Use the global setting' },
{ id: 2, label: 'Use my selection' },
]"
/>
<FormAppPicker
v-if="config['target-blank-mode'] === 2"
v-model="config['target-blank-apps']"
/>
</TableValue>
</TableRow>
<TableRow>
@@ -82,7 +94,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</TableRow>
</TableContainer>
<TableContainer>
<TableContainer>
<SectionTitle label="Support" />
<TableRow>
@@ -166,6 +178,6 @@ onMounted(async () => {
.save {
display: block;
float: right
float: right;
}
</style>