mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-06 23:23:18 -04:00
ui adjustments after ODS and Web update
This commit is contained in:
committed by
Pascal Wengerter
parent
75009c1ed7
commit
f90d329e85
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -80,6 +80,6 @@
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"owncloud-design-system": "^11.0.0"
|
||||
"owncloud-design-system": "^12.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user