mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 13:03:22 +00:00
34 lines
929 B
HTML
34 lines
929 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" href="css/about.css">
|
|
</head>
|
|
<body>
|
|
<div class="about">
|
|
<img class="logo" src="../resources/zulip.png" />
|
|
<p class="detail" id="version">version ?.?.?</p>
|
|
<div class="maintenance-info">
|
|
<p class="detail maintainer">Maintained by Zulip</p>
|
|
<p class="detail license">Available under the Apache License</p>
|
|
<a class="bug" onclick="linkInBrowser()" href="#">Found bug?</a>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
|
|
const app = require('electron').remote.app;
|
|
const version_tag = document.getElementById('version');
|
|
version_tag.innerHTML = 'version ' + app.getVersion();
|
|
|
|
function linkInBrowser(event) {
|
|
|
|
const shell = require('electron').shell;
|
|
|
|
const url = "https://github.com/zulip/zulip-electron/issues/new?body=Please describe your issue and steps to reproduce it."
|
|
|
|
shell.openExternal(url);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|