summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevlin Junker <devlin.junker@gmail.com>2022-11-10 18:28:09 -0800
committerBenjamin Brahmer <info@b-brahmer.de>2022-11-17 14:50:53 +0100
commit234b9759c5691182d7a426d49329c6132c08ea9f (patch)
tree03f8fa8e28edf01758f415949aabcdb5197a59ea
parente4ada332a468d7bca51663e3df28941d56af328a (diff)
fix linting
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
-rw-r--r--.editorconfig2
-rw-r--r--css/explore.css57
-rw-r--r--src/components/AdminSettings.vue2
-rw-r--r--src/main-admin.js6
4 files changed, 38 insertions, 29 deletions
diff --git a/.editorconfig b/.editorconfig
index bac177253..cc94165ab 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -5,7 +5,7 @@ trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
-[*.{php,html}]
+[*.{php,html,css}]
indent_style = space
indent_size = 4
charset = utf-8
diff --git a/css/explore.css b/css/explore.css
index 03efb07b0..b9894e425 100644
--- a/css/explore.css
+++ b/css/explore.css
@@ -8,50 +8,59 @@
* @copyright 2020, Jan C. Borchardt, https://jancborchardt.net
* @copyright Bernhard Posselt 2014
*/
+
/**
* Explore styles
*/
.explore #app-content-wrapper {
- height: 100%;
+ height: 100%;
}
#explore {
- height: 100%;
- width: 100%;
- padding: 45px 0 45px 45px;
+ height: 100%;
+ width: 100%;
+ padding: 45px 0 45px 45px;
}
+
#explore .grid-item {
- width: 300px;
- border: 2px solid var(--color-border);
- border-radius: var(--border-radius-large);
- margin: 0 24px 24px 0;
- padding: 24px;
+ width: 300px;
+ border: 2px solid var(--color-border);
+ border-radius: var(--border-radius-large);
+ margin: 0 24px 24px 0;
+ padding: 24px;
}
+
#explore .grid-item .explore-title {
- background-repeat: no-repeat;
- background-position: 0 center;
- background-size: 24px;
- padding-left: 32px;
+ background-repeat: no-repeat;
+ background-position: 0 center;
+ background-size: 24px;
+ padding-left: 32px;
}
+
#explore .grid-item .explore-title a {
- word-wrap: break-word;
+ word-wrap: break-word;
}
-#explore .grid-item .explore-title a:hover, #explore .grid-item .explore-title a:focus {
- text-decoration: underline;
+
+#explore .grid-item .explore-title a:hover,
+#explore .grid-item .explore-title a:focus {
+ text-decoration: underline;
}
+
#explore .grid-item .explore-logo {
- text-align: center;
- margin-top: 25px;
+ text-align: center;
+ margin-top: 25px;
}
+
#explore .grid-item .explore-logo img {
- width: 100%;
+ width: 100%;
}
+
#explore .grid-item .explore-subscribe {
- margin-top: 16px;
- max-width: 100%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
+ margin-top: 16px;
+ max-width: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
/*# sourceMappingURL=explore.css.map */
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue
index 5be7a6823..ee14dc005 100644
--- a/src/components/AdminSettings.vue
+++ b/src/components/AdminSettings.vue
@@ -57,7 +57,7 @@ SPDX-Licence-Identifier: AGPL-3.0-or-later
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
-import { loadState } from '@nextcloud/initial-state'
+// import { loadState } from '@nextcloud/initial-state'
import { showError, showSuccess } from '@nextcloud/dialogs'
import axios from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
diff --git a/src/main-admin.js b/src/main-admin.js
index c5883565e..8df148f3c 100644
--- a/src/main-admin.js
+++ b/src/main-admin.js
@@ -2,13 +2,13 @@
// SPDX-Licence-Identifier: AGPL-3.0-or-later
import Vue from 'vue'
-import { getRequestToken } from '@nextcloud/auth'
-import { translate as t } from '@nextcloud/l10n'
+// import { getRequestToken } from '@nextcloud/auth'
+// import { translate as t } from '@nextcloud/l10n'
import AdminSettings from './components/AdminSettings.vue'
// eslint-disable-next-line
-__webpack_nonce__ = btoa(getRequestToken())
+__webpack_nonce__ = btoa(getRequestToken());
Vue.mixin({
methods: {