(function(){ var data = { "addon_key":"com.akelesconsulting.plugins.confluence.inspire", "uniqueKey":"com.akelesconsulting.plugins.confluence.inspire__qotd6447697760092792004", "key":"qotd", "moduleType":"dynamicContentMacros", "moduleLocation":"content", "cp":"/wiki", "general":"", "w":"900px", "h":"210px", "url":"https://inspiremaster.akeles.com/inspire?xdm_e=https%3A%2F%2Fakeles.jira.com&xdm_c=channel-com.akelesconsulting.plugins.confluence.inspire__qotd6447697760092792004&cp=%2Fwiki&xdm_deprecated_addon_key_do_not_use=com.akelesconsulting.plugins.confluence.inspire&lic=none&userAccess=true&cv=1000.0.0-ed5374de95b2&traceId=b12cdd92bf44218e6faed67e7e289d47&spanId=6c6b9bf7312fc544&traceSampled=0&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1ZGU3ZDhlM2JhNjBlMTBjZmQ2ODA3N2UiLCJxc2giOiI4NThhMDQ3ZTQwOTI2OTAyYzQyMGVkMzQyYjcyN2I2OWY5MGFkZTUyMWQ4NWFmNTdjNzMxYzNiNDkzNzI0ZmI5IiwiaXNzIjoiQ29uZmx1ZW5jZToxNzk2NzM0ODQyIiwiY29udGV4dCI6e30sImV4cCI6MTc2MzQ2ODAxMiwiaWF0IjoxNzYzNDY3ODMyfQ.DKkWB1WAeBjwsTHyeWd8z7iHmVcA88gZEKTNSl3lsJQ", "structuredContext": "{\"confluence\":{\"macro\":{\"outputType\":\"email\",\"hash\":\"09eef1a5-1159-44c0-bca8-136857b32536\",\"id\":\"09eef1a5-1159-44c0-bca8-136857b32536\"},\"tracing\":{\"traceId\":\"b12cdd92bf44218e6faed67e7e289d47\",\"spanId\":\"6c6b9bf7312fc544\",\"sampled\":\"0\"},\"content\":{\"type\":\"page\",\"version\":\"5\",\"id\":\"27426823\"},\"space\":{\"key\":\"INSPIRE\",\"id\":\"27459585\"}},\"url\":{\"displayUrl\":\"https://akeles.jira.com/wiki\"}}", "contentClassifier":"content", "productCtx":"{\"page.id\":\"27426823\",\"macro.hash\":\"09eef1a5-1159-44c0-bca8-136857b32536\",\"space.key\":\"INSPIRE\",\"tracing.sampled\":\"0\",\"page.type\":\"page\",\"content.version\":\"5\",\"page.title\":\"Home\",\"macro.localId\":\"\",\"macro.body\":\"\",\": = | RAW | = :\":null,\"space.id\":\"27459585\",\"macro.truncated\":\"false\",\"content.type\":\"page\",\"output.type\":\"email\",\"page.version\":\"5\",\"macro.fragmentLocalId\":\"\",\"content.id\":\"27426823\",\"tracing.traceId\":\"b12cdd92bf44218e6faed67e7e289d47\",\"macro.id\":\"09eef1a5-1159-44c0-bca8-136857b32536\",\"tracing.spanId\":\"6c6b9bf7312fc544\",\"user.isExternalCollaborator\":\"false\"}", "timeZone":"UTC", "origin":"https://inspiremaster.akeles.com", "hostOrigin":"https://akeles.jira.com", "sandbox":"allow-downloads allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-scripts allow-same-origin allow-top-navigation-by-user-activation allow-storage-access-by-user-activation", "apiMigrations": { "gdpr": true } } ; if(window.AP && window.AP.subCreate) { window._AP.appendConnectAddon(data); } else { require(['ac/create'], function(create){ create.appendConnectAddon(data); }); } // For Confluence App Analytics. This code works in conjunction with CFE's ConnectSupport.js. // Here, we add a listener to the initial HTML page that stores events if the ConnectSupport component // has not mounted yet. In CFE, we process the missed event data and disable this initial listener. const __MAX_EVENT_ARRAY_SIZE__ = 20; const connectAppAnalytics = "ecosystem.confluence.connect.analytics"; window.connectHost && window.connectHost.onIframeEstablished((eventData) => { if (!window.__CONFLUENCE_CONNECT_SUPPORT_LOADED__) { let events = JSON.parse(window.localStorage.getItem(connectAppAnalytics)) || []; if (events.length >= __MAX_EVENT_ARRAY_SIZE__) { events.shift(); } events.push(eventData); window.localStorage.setItem(connectAppAnalytics, JSON.stringify(events)); } }); }());
Introduction
This is a Confluence addon to display the Quote of the Day. We decided to name it Inspire in hope that it can inspire people at work and take more beautiful photos.
You will see the example of how it works from the top banner above. It does 3 things:
-
Display a photo
-
Overlays an inspiring quote
-
Replay the animation when you move your mouse into the photo
You can use display the Quote of the Day in your Site Home page or individual space landing pages.
For the Download edition of the plugin, an Internet connection from the client browser is required to query the Quote of the Day. If there is no internet access, the macro will show the default quote and image.
We are looking for ideas for photos and quotes. If you have something in mind, feel free to share with us by emailing the photo and/or quote to
inspire-app (at) akelesconsulting.com
The effects is powered by Stellar.js jQuery plugin written by Mark Dalgleish
Differences between the Server and Cloud editions
The image for the Cloud edition will scroll automatically once the page is being loaded. For the Server edition, it will scroll as the page is being scrolled.
How to install
|
Edition |
Guide |
|---|---|
|
Server |
Installation Guide |
|
Cloud |
Installation Guide |
How to use
Please refer to How to add Quote of the Day Macro