Skip to content

Commit 955d8ec

Browse files
committed
First Release of Sourcecode
1 parent 7098052 commit 955d8ec

File tree

12 files changed

+877
-0
lines changed

12 files changed

+877
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules/
2+
*.swp
3+
out/
4+
package-lock.json
5+
.DS_Store
6+
yarn.lock

INSTALL_BUILD.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# CAT and WSJT-X Bridge for Wavelog
2+
3+
## SetUp DevEnv
4+
5+
### on a mac
6+
#### Prerequisites
7+
* XCode
8+
* brew
9+
10+
#### Setup:
11+
1. go to CLI and type `brew install node`
12+
2. clone repo: `git clone https://github.com/int2001/wsjtx2cl.git`
13+
3. change to repo-directory
14+
4. type: `npm install`
15+
5. type: `npm install -g electron-forge`
16+
17+
#### Usage:
18+
* `npm run start` for starting the App in dev-mode

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2024 by DJ7NT (Jörg Dorgeist)
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

forge.config.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
packagerConfig: {
3+
asar: true,
4+
},
5+
rebuildConfig: {},
6+
makers: [
7+
{
8+
name: '@electron-forge/maker-squirrel',
9+
config: { loadingGif: "loading.gif", name: "SW2CL_DJ7NT" },
10+
},
11+
{
12+
name: '@electron-forge/maker-zip',
13+
platforms: ['darwin'],
14+
},
15+
{
16+
name: '@electron-forge/maker-deb',
17+
config: {},
18+
},
19+
],
20+
plugins: [
21+
{
22+
name: '@electron-forge/plugin-auto-unpack-natives',
23+
config: {},
24+
},
25+
],
26+
};

index.html

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta http-equiv="Content-Security-Policy"
7+
content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'" />
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9+
<!-- Bootstrap CSS -->
10+
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css" />
11+
<script>let $ = require("jquery");</script>
12+
<script>require("popper.js");</script>
13+
<script>require("bootstrap");</script>
14+
</head>
15+
16+
<style>
17+
body {
18+
background-color: #303030;
19+
color: #c6c6c6;
20+
}
21+
22+
input[type="checkbox"] {
23+
accent-color: #b3b3b3;
24+
}
25+
26+
.card {
27+
background-color: #303030;
28+
color: #c6c6c6;
29+
border: 1px solid #727272;
30+
}
31+
32+
.card {
33+
position: fixed;
34+
top: 0;
35+
left: 0;
36+
width: 100%;
37+
height: 100%;
38+
}
39+
40+
.card-header,
41+
.card-footer {
42+
background-color: #1c1c1c;
43+
}
44+
45+
.btn-primary {
46+
background-color: #375a7f;
47+
border-color: #375a7f;
48+
}
49+
50+
.bottom-right {
51+
position: fixed;
52+
bottom: 0;
53+
right: 0;
54+
padding: 4px;
55+
}
56+
57+
.nav-link {
58+
height: 30px;
59+
padding: 0px;
60+
color: #c6c6c6;
61+
border: 1px solid #303030;
62+
}
63+
64+
.nav-tabs .nav-item.show .nav-link,
65+
.nav-tabs .nav-link.active {
66+
color: #c6c6c6;
67+
background-color: #303030;
68+
border: 1px solid #303030;
69+
}
70+
71+
.nav-tabs .nav-link {
72+
background-color: #262626;
73+
}
74+
75+
.log,
76+
.log-qrg,
77+
.log-text {
78+
margin: 4px;
79+
padding-left: 4px;
80+
padding-right: 4px;
81+
}
82+
83+
.form-control,
84+
.log {
85+
background-color: #1c1c1c;
86+
color: #b3b3b3;
87+
border: 1px solid #727272;
88+
}
89+
90+
#buttonsRow {
91+
position: fixed;
92+
bottom: 8px;
93+
width: 100%;
94+
padding: 10px; /* Optional: Füge Padding hinzu, um die Knöpfe zu trennen */
95+
}
96+
</style>
97+
98+
<body>
99+
<!-- You can also require other files to run in this process -->
100+
<div class="card">
101+
<div class="card-header">
102+
<ul class="nav nav-tabs card-header-tabs nav-fill">
103+
<li class="nav-item">
104+
<a class="nav-link active" id="status-tab" data-toggle="tab" data-target="#status" type="button" href="#status" role="tab"
105+
aria-controls="status" aria-selected="true">Status</a>
106+
</li>
107+
<li class="nav-item">
108+
<a class="nav-link" id="config-tab" data-toggle="tab" data-target="#config" type="button" href="#config" role="tab"
109+
aria-controls="config" aria-selected="true">Config</a>
110+
</li>
111+
</ul>
112+
</div>
113+
<div class="card-body">
114+
<div class="tab-content" id="myTabContent">
115+
<div class="tab-pane fade show active" id="status" role="tabpanel" aria-labelledby="status-tab">
116+
<div class="alert alert-danger mt-2" style="text-align: center; display: none" role="alert"
117+
id="msg2"></div>
118+
<div class="log">
119+
<div class="log-qrg" id="current_trx"></div>
120+
<div class="log-text">
121+
<div class="label log" style="text-align: center" id="msg"></div>
122+
<div id="log"></div>
123+
</div>
124+
</div>
125+
</div>
126+
<div class="tab-pane" id="config" role="tabpanel" aria-labelledby="config-tab">
127+
<div class="row">
128+
<div class="col">
129+
<div class="mb-3">
130+
<label for="wavelog_url">Wavelog-URL</label>
131+
<input type="url" class="form-control form-control-sm" name="wavelog_url"
132+
id="wavelog_url" placeholder="https://log.jo30.de/index.php" value="" />
133+
</div>
134+
</div>
135+
</div>
136+
<div class="row">
137+
<div class="col">
138+
<div class="mb-3">
139+
<label for="wavelog_key">Wavelog-API-Key</label>
140+
<input type="text" class="form-control form-control-sm" name="wavelog_key"
141+
id="wavelog_key" value="" />
142+
</div>
143+
</div>
144+
<div class="col">
145+
<div class="mb-3">
146+
<label for="wavelog_key">Wavelog-Station-ID</label>
147+
<input type="number" class="form-control form-control-sm" name="wavelog_id"
148+
id="wavelog_id" value="" />
149+
</div>
150+
</div>
151+
</div>
152+
<div class="row">
153+
<div class="col">
154+
<div class="mb-3">
155+
<label for="wavelog_radioname">Radio Name</label>
156+
<input type="text" class="form-control form-control-sm" name="wavelog_radioname"
157+
id="wavelog_radioname" value="" />
158+
</div>
159+
</div>
160+
<div class="col"></div>
161+
</div>
162+
<div class="row">
163+
<div class="col">
164+
<div class="mb-3 col-mb-3">
165+
<label for="flrig_host">FLRig Host</label>
166+
<input type="text" class="form-control form-control-sm" name="flrig_host"
167+
id="flrig_host" value="" />
168+
</div>
169+
</div>
170+
<div class="col">
171+
<div class="mb-2 col-mb-2">
172+
<label for="flrig_port">FLRig Port</label>
173+
<input type="number" class="form-control form-control-sm" name="flrig_port"
174+
id="flrig_port" value="" />
175+
</div>
176+
</div>
177+
<div class="col">
178+
<div class="mb-1 col-mb-1">
179+
<label for="flrig_ena">FLRig Enabled</label>
180+
<input type="checkbox" value="1" class="form-control form-control-sm" name="flrig_ena"
181+
id="flrig_ena" value="" />
182+
</div>
183+
</div>
184+
</div>
185+
<div class="row" id="buttonsRow">
186+
<div class="col">
187+
<div class="mb-3 col-mb-3" style="text-align: left">
188+
<button type="button" class="btn btn-primary" id="save"></i>Save</button>
189+
</div>
190+
</div>
191+
<div class="col">
192+
<div class="mb-3 col-mb-3" style="text-align: center">
193+
<button type="button" class="btn btn-primary" id="test"></i>Test</button>
194+
</div>
195+
</div>
196+
<div class="col">
197+
<div class="mb-3 col-mb-3" style="text-align: right">
198+
<button type="button" class="btn btn-primary" id="quit"></i>Quit</button>
199+
</div>
200+
</div>
201+
</div>
202+
203+
</div>
204+
</div>
205+
</div>
206+
<div class="card-footer">
207+
<small class="mt-0.5 bottom-right" id="utc"></small>
208+
</div>
209+
</div>
210+
211+
<!-- Loading the renderer-->
212+
<script src="./renderer.js"></script>
213+
</body>
214+
215+
</html>

loading.gif

123 KB
Loading

0 commit comments

Comments
 (0)