ui adjustments after ODS and Web update

This commit is contained in:
Benedikt Kulmann
2022-02-11 16:53:39 +01:00
committed by Pascal Wengerter
parent 75009c1ed7
commit f90d329e85
10 changed files with 43 additions and 44 deletions

View File

@@ -80,7 +80,7 @@
"xml-js": "^1.6.11"
},
"peerDependencies": {
"owncloud-design-system": "^11.0.0"
"owncloud-design-system": "^12.1.0"
},
"packageManager": "yarn@3.1.0"
}

View File

@@ -11,7 +11,7 @@ function $gettext (msg) {
const appInfo = {
name: $gettext('Accounts'),
id: 'accounts',
icon: 'text-vcard',
icon: 'team',
isFileEditor: false,
extensions: []
}
@@ -20,9 +20,7 @@ const routes = [
{
name: 'accounts',
path: '/',
components: {
app: App
}
component: App
}
]

View File

@@ -1,6 +1,6 @@
<template>
<div>
<main class="uk-flex uk-flex-column uk-height-1-1" id="accounts-app">
<main class="uk-flex uk-flex-column uk-height-1-1 oc-px-s" id="accounts-app">
<template v-if="isInitialized">
<h1 class="oc-invisible-sr">
<translate>Accounts</translate>
@@ -21,7 +21,7 @@
</template>
<template v-else-if="hasFailed">
<oc-alert variation="warning" no-close class="oc-m" id="accounts-list-loading-failed">
<oc-icon name="warning" variation="warning" class="uk-float-left oc-mr-s" />
<oc-icon name="error-warning" variation="warning" class="uk-float-left oc-mr-s" />
<translate>You don't have permissions to manage accounts.</translate>
</oc-alert>
</template>

View File

@@ -65,7 +65,7 @@
gap-size="small"
@click="setFormInProgress(true)"
>
<oc-icon name="add" />
<oc-icon name="user-add" />
<translate>Create new account</translate>
</oc-button>
</div>

View File

@@ -21,7 +21,7 @@
<oc-button :id="`accounts-roles-select-trigger-${account.id}`" class="accounts-roles-select-trigger" appearance="outline">
<span class="uk-flex uk-flex-middle accounts-roles-current-role">
{{ currentRole ? currentRole.displayName : $gettext('Select role') }}
<oc-icon name="expand_more" aria-hidden="true" />
<oc-icon name="arrow-down-s" aria-hidden="true" />
</span>
</oc-button>
<oc-drop
@@ -48,15 +48,15 @@
<oc-icon
v-if="account.accountEnabled"
key="account-icon-enabled"
name="ready"
name="user-follow"
variation="success"
:aria-label="$gettext('Account is activated')"
class="accounts-status-indicator-enabled"
/>
<oc-icon
v-else
name="deprecated"
key="account-icon-disabled"
name="user-unfollow"
variation="danger"
:aria-label="$gettext('Account is blocked')"
class="accounts-status-indicator-disabled"

View File

@@ -8347,7 +8347,7 @@ __metadata:
vuex: ^3.5.1
xml-js: ^1.6.11
peerDependencies:
owncloud-design-system: ^11.0.0
owncloud-design-system: ^12.1.0
languageName: unknown
linkType: soft

View File

@@ -80,6 +80,6 @@
"xml-js": "^1.6.11"
},
"peerDependencies": {
"owncloud-design-system": "^11.0.0"
"owncloud-design-system": "^12.1.0"
}
}

View File

@@ -11,7 +11,7 @@ function $gettext (msg) {
const appInfo = {
name: $gettext('Settings'),
id: 'settings',
icon: 'application',
icon: 'settings-4',
isFileEditor: false,
extensions: []
}
@@ -20,9 +20,7 @@ const routes = [
{
name: 'settings',
path: '/:extension?',
components: {
app: SettingsApp
}
component: SettingsApp
}
]

View File

@@ -4,7 +4,7 @@
<template v-if="initialized">
<oc-alert v-if="extensions.length === 0" variation="primary" no-close>
<p class="uk-flex uk-flex-middle">
<oc-icon name="info" class="oc-mr-s" />
<oc-icon name="information" class="oc-mr-s" />
<translate>No settings available</translate>
</p>
</oc-alert>

View File

@@ -1,29 +1,32 @@
{
"server": "https://ocis-server:9200",
"theme": "https://ocis-server:9200/themes/owncloud/theme.json",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://ocis-server:9200/.well-known/openid-configuration",
"authority": "https://ocis-server:9200",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
"server": "https://ocis-server:9200",
"theme": "https://ocis-server:9200/themes/owncloud/theme.json",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://ocis-server:9200/.well-known/openid-configuration",
"authority": "https://ocis-server:9200",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"options": {
"displayResourcesLazy": false
},
"apps": [
"files",
"draw-io",
"markdown-editor",
"media-viewer",
"search"
],
"external_apps": [
{
"id": "settings",
"path": "https://ocis-server:9200/settings.js"
},
"apps": [
"files",
"draw-io",
"markdown-editor",
"media-viewer",
"search"
],
"external_apps": [
{
"id": "settings",
"path": "https://ocis-server:9200/settings.js"
},
{
"id": "accounts",
"path": "https://ocis-server:9200/accounts.js"
}
]
{
"id": "accounts",
"path": "https://ocis-server:9200/accounts.js"
}
]
}