-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ee62232
Showing
25 changed files
with
3,433 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules/ | ||
package-lock.json | ||
.vscode | ||
dist/ | ||
.eslintrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> | ||
</head> | ||
|
||
<body style="text-align: center; -webkit-user-select: none; -webkit-app-region: drag;"> | ||
<div class="container" style="text-align: center;"> | ||
<div class="row" style="margin-top: 5%; margin-bottom: 5%;"> | ||
<div class="col-lg-12"> | ||
<img src="icon-256.png" width="128px" height="128px"> | ||
</div> | ||
</div> | ||
<div class="row" style="font-weight: bold; "> | ||
<div class="col-lg-12">AudioMoth Flash App</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-12" id="version-display">Version 1.0</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-12" id="electron-version-display">Running on Electron version 1.0</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-12" id="audiomoth-hid-version-display">AudioMoth-HID module 1.0.0</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<a href id="website-link">www.openacousticdevices.info</a> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
<script src="about.js" charset="utf-8"></script> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/**************************************************************************** | ||
* about.js | ||
* openacousticdevices.info | ||
* June 2017 | ||
*****************************************************************************/ | ||
|
||
'use strict'; | ||
|
||
/* global document */ | ||
|
||
const electron = require('electron'); | ||
const audiomoth = require('audiomoth-hid'); | ||
|
||
var versionDisplay = document.getElementById('version-display'); | ||
var electronVersionDisplay = document.getElementById('electron-version-display'); | ||
var audiomothHidVersionDisplay = document.getElementById('audiomoth-hid-version-display'); | ||
var websiteLink = document.getElementById('website-link'); | ||
|
||
versionDisplay.textContent = 'Version ' + electron.remote.app.getVersion(); | ||
electronVersionDisplay.textContent = 'Running on Electron version ' + electron.remote.process.versions.electron; | ||
audiomothHidVersionDisplay.textContent = 'AudioMoth-HID module ' + audiomoth.version; | ||
|
||
websiteLink.addEventListener('click', function () { | ||
|
||
electron.shell.openExternal('https://openacousticdevices.info'); | ||
|
||
}); |
Oops, something went wrong.