signal-desktop/about.html

63 lines
945 B
HTML

<html>
<head>
<link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
<style>
body {
text-align: center;
background-color: #2090EA;
color: white;
font-size: 14px;
}
img {
margin-top: 2em;
margin-bottom: 1em;
}
a {
color: white;
}
</style>
</head>
<body>
<img src='images/icon_250.png'>
<div>
<script>
document.write('v', window.getVersion());
</script>
</div>
<div>
<script>
const states = [];
if (window.getEnvironment() !== 'production') {
states.push(window.getEnvironment());
}
if (window.getAppInstance()) {
states.push(window.getAppInstance());
}
document.write(states.join(' - '));
</script>
</div>
<div>
<a href="https://signal.org">signal.org</a>
</div>
<script type='text/javascript' src='node_modules/jquery/dist/jquery.js'></script>
<script>
$(document).on('keyup', function(e) {
if (e.keyCode === 27) {
window.closeAbout();
}
});
</script>
</body>
</html>