Updated footer info
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
1756478ef7
commit
da7ca2029c
@ -18,14 +18,14 @@
|
||||
<footer id="footer">
|
||||
<div class="container fluid">
|
||||
<div class="row">
|
||||
<div class="columns three"><p></p></div>
|
||||
<div class="columns three">
|
||||
<p class="faded-text no-margin u-text-center">Sentry v<span id="app-version"></span></p>
|
||||
</div>
|
||||
<div class="columns six">
|
||||
<p class="no-margin">This app was built using:</p>
|
||||
<p class="no-margin">
|
||||
Node.js <span id="node-version"></span>,
|
||||
Chromium <span id="chrome-version"></span>,
|
||||
and Electron <span id="electron-version"></span>.
|
||||
</p>
|
||||
<p class="no-margin u-text-center">Developed by Bit Goblin free of charge.</p>
|
||||
</div>
|
||||
<div class="columns three">
|
||||
<p class="no-margin u-text-center"><a href="https://git.metaunix.net/BitGoblin/Sentry">Source code</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,3 +1,5 @@
|
||||
const appInfo = require('./package.json');
|
||||
|
||||
// All of the Node.js APIs are available in the preload process.
|
||||
// It has the same sandbox as a Chrome extension.
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
@ -6,7 +8,5 @@ window.addEventListener('DOMContentLoaded', () => {
|
||||
if (element) element.innerText = text
|
||||
}
|
||||
|
||||
for (const type of ['chrome', 'node', 'electron']) {
|
||||
replaceText(`${type}-version`, process.versions[type])
|
||||
}
|
||||
})
|
||||
replaceText('app-version', appInfo.version);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user