Browse Source
display whats new info in admin settings
display whats new info in admin settings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>pull/9705/head
committed by
Morris Jobke
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
11 changed files with 151 additions and 12 deletions
-
27apps/updatenotification/css/admin.css
-
18apps/updatenotification/js-src/components/popoverMenu.vue
-
28apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue
-
47apps/updatenotification/js-src/components/root.vue
-
6apps/updatenotification/js/merged.js
-
2apps/updatenotification/js/merged.js.map
-
2apps/updatenotification/lib/Settings/Admin.php
-
6apps/updatenotification/lib/UpdateChecker.php
-
18apps/updatenotification/package-lock.json
-
1apps/updatenotification/package.json
-
8lib/private/Updater/VersionCheck.php
@ -0,0 +1,18 @@ |
|||
<template> |
|||
<ul> |
|||
<popover-item v-for="(item, key) in menu" :item="item" :key="key" /> |
|||
</ul> |
|||
</template> |
|||
|
|||
|
|||
<script> |
|||
import popoverItem from './popoverMenu/popoverItem'; |
|||
|
|||
export default { |
|||
name: 'popoverMenu', |
|||
props: ['menu'], |
|||
components: { |
|||
popoverItem |
|||
} |
|||
} |
|||
</script> |
|||
@ -0,0 +1,28 @@ |
|||
<template> |
|||
<li> |
|||
<!-- If item.href is set, a link will be directly used --> |
|||
<a @click="item.action" v-if="item.href" :href="(item.href) ? item.href : '#' " :target="(item.target) ? item.target : '' " rel="noreferrer noopener"> |
|||
<span :class="item.icon"></span> |
|||
<span v-if="item.text">{{item.text}}</span> |
|||
<p v-else-if="item.longtext">{{item.longtext}}</p> |
|||
</a> |
|||
<!-- If item.action is set instead, a button will be used --> |
|||
<button @click="item.action" v-else-if="item.action"> |
|||
<span :class="item.icon"></span> |
|||
<span v-if="item.text">{{item.text}}</span> |
|||
<p v-else-if="item.longtext">{{item.longtext}}</p> |
|||
</button> |
|||
<!-- If item.longtext is set AND the item does not have an action --> |
|||
<span class="item-wrapper" v-else> |
|||
<span :class="item.icon"></span> |
|||
<span v-if="item.text">{{item.text}}</span> |
|||
<p v-else-if="item.longtext">{{item.longtext}}</p> |
|||
</span> |
|||
</li> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
props: ['item'] |
|||
} |
|||
</script> |
|||
6
apps/updatenotification/js/merged.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2
apps/updatenotification/js/merged.js.map
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue