Skip to content

Commit

Permalink
ui adjustments after ODS and Web update
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann authored and pascalwengerter committed Feb 15, 2022
1 parent 75009c1 commit f90d329
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 44 deletions.
2 changes: 1 addition & 1 deletion accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
6 changes: 2 additions & 4 deletions accounts/ui/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function $gettext (msg) {
const appInfo = {
name: $gettext('Accounts'),
id: 'accounts',
icon: 'text-vcard',
icon: 'team',
isFileEditor: false,
extensions: []
}
Expand All @@ -20,9 +20,7 @@ const routes = [
{
name: 'accounts',
path: '/',
components: {
app: App
}
component: App
}
]

Expand Down
4 changes: 2 additions & 2 deletions accounts/ui/components/App.vue
Original file line number Diff line number Diff line change
@@ -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>
Expand All @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion accounts/ui/components/accounts/AccountsCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions accounts/ui/components/accounts/AccountsListRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion accounts/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@
"xml-js": "^1.6.11"
},
"peerDependencies": {
"owncloud-design-system": "^11.0.0"
"owncloud-design-system": "^12.1.0"
}
}
6 changes: 2 additions & 4 deletions settings/ui/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function $gettext (msg) {
const appInfo = {
name: $gettext('Settings'),
id: 'settings',
icon: 'application',
icon: 'settings-4',
isFileEditor: false,
extensions: []
}
Expand All @@ -20,9 +20,7 @@ const routes = [
{
name: 'settings',
path: '/:extension?',
components: {
app: SettingsApp
}
component: SettingsApp
}
]

Expand Down
2 changes: 1 addition & 1 deletion settings/ui/components/SettingsApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
55 changes: 29 additions & 26 deletions tests/config/drone/ocis-config.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}

0 comments on commit f90d329

Please sign in to comment.