mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
1
services/web/.gitignore
vendored
Normal file
1
services/web/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
_web
|
||||
@@ -1,6 +1,6 @@
|
||||
SHELL := bash
|
||||
NAME := web
|
||||
WEB_ASSETS_VERSION = v11.1.0
|
||||
WEB_ASSETS_VERSION = 552ff3c3f8e9543de653537087161c070698661e
|
||||
|
||||
include ../../.make/recursion.mk
|
||||
|
||||
@@ -33,7 +33,11 @@ ci-node-generate: pull-assets
|
||||
.PHONY: pull-assets
|
||||
pull-assets:
|
||||
git clean -xfd assets
|
||||
curl --fail -slL -o- https://github.com/owncloud/web/releases/download/$(WEB_ASSETS_VERSION)/web.tar.gz | tar xzf - -C assets/core/
|
||||
rm -rf _web && git clone -b theming --single-branch git@github.com:opencloud-eu/web.git _web
|
||||
make -C _web release
|
||||
tar xfv _web/release/web.tar.gz -C assets/core/
|
||||
cp -r _web/dev/docker/ocis-themes/opencloud assets/core/themes/ && rm -rf assets/core/themes/owncloud
|
||||
rm -rf _web
|
||||
|
||||
############ licenses ############
|
||||
.PHONY: ci-node-check-licenses
|
||||
|
||||
@@ -1,198 +0,0 @@
|
||||
{
|
||||
"common": {
|
||||
"name": "ownCloud",
|
||||
"slogan": "ownCloud – A safe home for all your data",
|
||||
"logo": "themes/owncloud/assets/logo.svg",
|
||||
"urls": {
|
||||
"accessDeniedHelp": "",
|
||||
"imprint": "",
|
||||
"privacy": ""
|
||||
}
|
||||
},
|
||||
"clients": {
|
||||
"android": {},
|
||||
"desktop": {},
|
||||
"ios": {},
|
||||
"web": {
|
||||
"defaults": {
|
||||
"appBanner": {},
|
||||
"logo": {
|
||||
"topbar": "themes/owncloud/assets/logo.svg",
|
||||
"favicon": "themes/owncloud/assets/favicon.jpg",
|
||||
"login": "themes/owncloud/assets/logo.svg"
|
||||
},
|
||||
"loginPage": {
|
||||
"backgroundImg": "themes/owncloud/assets/loginBackground.jpg"
|
||||
},
|
||||
"designTokens": {
|
||||
"breakpoints": {
|
||||
"xsmall-max": "",
|
||||
"small-default": "",
|
||||
"small-max": "",
|
||||
"medium-default": "",
|
||||
"medium-max": "",
|
||||
"large-default": "",
|
||||
"large-max": "",
|
||||
"xlarge": ""
|
||||
},
|
||||
"fontSizes": {
|
||||
"default": "",
|
||||
"large": "",
|
||||
"medium": ""
|
||||
},
|
||||
"sizes": {
|
||||
"form-check-default": "",
|
||||
"height-small": "",
|
||||
"height-table-row": "",
|
||||
"icon-default": "",
|
||||
"max-height-logo": "",
|
||||
"max-width-logo": "",
|
||||
"width-medium": "",
|
||||
"tiles-default": "",
|
||||
"tiles-resize-step": ""
|
||||
},
|
||||
"spacing": {
|
||||
"xsmall": "",
|
||||
"small": "",
|
||||
"medium": "",
|
||||
"large": "",
|
||||
"xlarge": "",
|
||||
"xxlarge": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"themes": [
|
||||
{
|
||||
"isDark": false,
|
||||
"name": "Light Theme",
|
||||
"designTokens": {
|
||||
"colorPalette": {
|
||||
"background-accentuate": "rgba(255, 255, 5, 0.1)",
|
||||
"background-default": "#ffffff",
|
||||
"background-highlight": "#edf3fa",
|
||||
"background-muted": "#f8f8f8",
|
||||
"background-secondary": "#ffffff",
|
||||
"background-hover": "rgb(236, 236, 236)",
|
||||
"color-components-apptopbar-background": "transparent",
|
||||
"color-components-apptopbar-border": "#ceddee",
|
||||
"border": "#ecebee",
|
||||
"input-bg": "#ffffff",
|
||||
"input-border": "#788DAB",
|
||||
"input-text-default": "#041e42",
|
||||
"input-text-muted": "#4c5f79",
|
||||
"swatch-brand-default": "#041e42",
|
||||
"swatch-brand-hover": "#223959",
|
||||
"swatch-brand-contrast": "#ffffff",
|
||||
"swatch-danger-contrast": "#ffffff",
|
||||
"swatch-danger-default": "rgb(197, 48, 48)",
|
||||
"swatch-danger-hover": "#b12b2b",
|
||||
"swatch-danger-muted": "rgb(204, 117, 117)",
|
||||
"swatch-inverse-default": "#ffffff",
|
||||
"swatch-inverse-hover": "#ffffff",
|
||||
"swatch-inverse-muted": "#bfbfbf",
|
||||
"swatch-passive-default": "#4c5f79",
|
||||
"swatch-passive-hover": "#43536b",
|
||||
"swatch-passive-hover-outline": "#f7fafd",
|
||||
"swatch-passive-muted": "#283e5d",
|
||||
"swatch-passive-contrast": "#ffffff",
|
||||
"swatch-primary-default": "#4a76ac",
|
||||
"swatch-primary-hover": "#80a7d7",
|
||||
"swatch-primary-muted": "#2c588e",
|
||||
"swatch-primary-muted-hover": "rgb(36, 75, 119)",
|
||||
"swatch-primary-gradient": "#4e85c8",
|
||||
"swatch-primary-gradient-hover": "rgb(59, 118, 194)",
|
||||
"swatch-primary-contrast": "#ffffff",
|
||||
"swatch-success-default": "rgb(3, 84, 63)",
|
||||
"swatch-success-hover": "#023b2c",
|
||||
"swatch-success-muted": "rgb(83, 150, 10)",
|
||||
"swatch-success-contrast": "#ffffff",
|
||||
"swatch-warning-default": "rgb(183, 76, 27)",
|
||||
"swatch-warning-hover": "#a04318",
|
||||
"swatch-warning-muted": "rgba(183, 76, 27, .5)",
|
||||
"swatch-warning-contrast": "#ffffff",
|
||||
"text-default": "#041e42",
|
||||
"text-inverse": "#ffffff",
|
||||
"text-muted": "#4c5f79",
|
||||
"icon-folder": "#4d7eaf",
|
||||
"icon-archive": "#fbbe54",
|
||||
"icon-image": "#ee6b3b",
|
||||
"icon-spreadsheet": "#15c286",
|
||||
"icon-document": "#3b44a6",
|
||||
"icon-video": "#045459",
|
||||
"icon-audio": "#700460",
|
||||
"icon-presentation": "#ee6b3b",
|
||||
"icon-pdf": "#ec0d47",
|
||||
"icon-medical": "#0984db"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"isDark": true,
|
||||
"name": "Dark Theme",
|
||||
"designTokens": {
|
||||
"colorPalette": {
|
||||
"background-accentuate": "#696969",
|
||||
"background-default": "#292929",
|
||||
"background-highlight": "#383838",
|
||||
"background-muted": "#383838",
|
||||
"background-secondary": "#404040",
|
||||
"background-hover": "#383838",
|
||||
"color-components-apptopbar-background": "transparent",
|
||||
"color-components-apptopbar-border": "#ceddee",
|
||||
"border": "#383838",
|
||||
"input-bg": "#4f4f4f",
|
||||
"input-border": "#828282",
|
||||
"input-text-default": "#dadcdf",
|
||||
"input-text-muted": "#bdbfc3",
|
||||
"swatch-brand-default": "#212121",
|
||||
"swatch-brand-hover": "#ffffff",
|
||||
"swatch-brand-contrast": "#dadcdf",
|
||||
"swatch-inverse-default": "",
|
||||
"swatch-inverse-hover": "",
|
||||
"swatch-inverse-muted": "#696969",
|
||||
"swatch-passive-default": "#c2c2c2",
|
||||
"swatch-passive-hover": "",
|
||||
"swatch-passive-hover-outline": "#3B3B3B",
|
||||
"swatch-passive-muted": "#bdbfc3",
|
||||
"swatch-passive-contrast": "#000000",
|
||||
"swatch-primary-default": "#73b0f2",
|
||||
"swatch-primary-hover": "#7bafef",
|
||||
"swatch-primary-muted": "",
|
||||
"swatch-primary-muted-hover": "#2282f7",
|
||||
"swatch-primary-gradient": "#4e85c8",
|
||||
"swatch-primary-gradient-hover": "#76a1d5",
|
||||
"swatch-primary-contrast": "#dadcdf",
|
||||
"swatch-success-background": "rgba(0, 188, 140, 0)",
|
||||
"swatch-success-default": "rgb(0, 200, 152)",
|
||||
"swatch-success-hover": "#00f0b4",
|
||||
"swatch-success-muted": "rgba(0, 188, 140, .5)",
|
||||
"swatch-success-contrast": "#000000",
|
||||
"swatch-warning-background": "rgba(0,0,0,0)",
|
||||
"swatch-warning-default": "rgb(232, 191, 73)",
|
||||
"swatch-warning-hover": "#eed077",
|
||||
"swatch-warning-muted": "rgba(232, 178, 19, .5)",
|
||||
"swatch-danger-default": "rgb(255, 137, 126)",
|
||||
"swatch-danger-hover": "#ff7566",
|
||||
"swatch-danger-muted": "rgba(255, 72, 53, .5)",
|
||||
"swatch-danger-contrast": "#000000",
|
||||
"swatch-warning-contrast": "#000000",
|
||||
"text-default": "#dadcdf",
|
||||
"text-inverse": "#000000",
|
||||
"text-muted": "#c2c2c2",
|
||||
"icon-folder": "rgb(44, 101, 255)",
|
||||
"icon-archive": "rgb(255, 207, 1)",
|
||||
"icon-image": "rgb(255, 111, 0)",
|
||||
"icon-spreadsheet": "rgb(0, 182, 87)",
|
||||
"icon-document": "rgb(44, 101, 255)",
|
||||
"icon-video": "rgb(0, 187, 219)",
|
||||
"icon-audio": "rgb(208, 67, 236)",
|
||||
"icon-presentation": "rgb(255, 64, 6)",
|
||||
"icon-pdf": "rgb(225, 5, 14)",
|
||||
"icon-medical": "rgb(9,132,219)"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -87,7 +87,7 @@ func DefaultConfig() *config.Config {
|
||||
GatewayAddress: "com.owncloud.api.gateway",
|
||||
Web: config.Web{
|
||||
ThemeServer: "https://localhost:9200",
|
||||
ThemePath: "/themes/owncloud/theme.json",
|
||||
ThemePath: "/themes/opencloud/theme.json",
|
||||
Config: config.WebConfig{
|
||||
Server: "https://localhost:9200",
|
||||
Theme: "",
|
||||
@@ -112,6 +112,9 @@ func DefaultConfig() *config.Config {
|
||||
TokenStorageLocal: true,
|
||||
UserListRequiresFilter: false,
|
||||
},
|
||||
Styles: []config.CustomStyle{
|
||||
{Href: "/themes/opencloud/font.css"},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user