summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-23 18:12:59 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-24 08:59:09 +0200
commit308e1c0ed29f790f1b0e38b9f520709ad713d08b (patch)
tree482e7dbc66b7ea3e0b79c811246572b26b965979 /settings
parentd4bf301a78759a69ae746db85cd198dba9879de5 (diff)
downloadnextcloud-server-308e1c0ed29f790f1b0e38b9f520709ad713d08b.tar.gz
nextcloud-server-308e1c0ed29f790f1b0e38b9f520709ad713d08b.zip
Icons & default classes
Changed categories order same as app store Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js8
-rw-r--r--settings/templates/apps.php4
2 files changed, 6 insertions, 6 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 258b0f4adcc..b400572a542 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -40,10 +40,10 @@ OC.Settings.Apps = OC.Settings.Apps || {
this._loadCategoriesCall.abort();
}
- var categories = [
- {displayName: t('settings', 'Enabled apps'), ident: 'enabled', id: '0'},
- {displayName: t('settings', 'Disabled apps'), ident: 'disabled', id: '1'},
- {displayName: t('settings', 'Your apps'), ident: 'installed', id: '2'}
+ var categories = [,
+ {displayName: t('settings', 'Your apps'), ident: 'installed', id: '0'},
+ {displayName: t('settings', 'Enabled apps'), ident: 'enabled', id: '1',},
+ {displayName: t('settings', 'Disabled apps'), ident: 'disabled', id: '2'}
];
var source = $("#categories-template").html();
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index e32a524f78a..91a73fcbe56 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -18,13 +18,13 @@ script(
<script id="categories-template" type="text/x-handlebars-template">
{{#each this}}
<li id="app-category-{{ident}}" data-category-id="{{ident}}" tabindex="0">
- <a href="#">{{displayName}}</a>
+ <a href="#" class="icon-category-{{ident}}">{{displayName}}</a>
</li>
{{/each}}
<?php if($_['appstoreEnabled']): ?>
<li>
- <a class="app-external" target="_blank" rel="noreferrer" href="https://docs.nextcloud.org/server/12/developer_manual/"><?php p($l->t('Developer documentation'));?> ↗</a>
+ <a class="app-external icon-info" target="_blank" rel="noreferrer" href="https://docs.nextcloud.org/server/12/developer_manual/"><?php p($l->t('Developer documentation'));?> ↗</a>
</li>
<?php endif; ?>
</script>