Skip to content

Commit

Permalink
include version number in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
rikedyp committed Jul 4, 2023
1 parent 20492c5 commit 0400fc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions APLSource/LoadHTML.aplf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
LoadHTML dir
GUI.html←⊃⎕NGET dir,'/GUI/app.html'
span←'<span id="version"></span>'
vspan←'<span id="version">v',version,'</span>'
GUI.html←(span ⎕R vspan)⊃⎕NGET dir,'/GUI/app.html'
GUI.classic←⊃⎕NGET dir,'/GUI/classic.html'

2 changes: 1 addition & 1 deletion APLSource/version.apla
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'0.4.0'
'0.4.1'
3 changes: 2 additions & 1 deletion GUI/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<style>
body { text-align: center; }
#version { font-size: 0.6em; }
form {
text-align: left;
display: flex;
Expand Down Expand Up @@ -105,7 +106,7 @@
</script>
</head>
<body>
<h1>APLAutoHotKey</h1>
<h1>APLAutoHotKey <span id="version">v0.3.0</span></h1>
<p>Generate AutoHotKey scripts for APL glyph keyboard input</p>
<form name="userOptions" id="userOptions" onkeydown="if (event.key=='Enter'){saveScript(); return false}">
<label for="locale">Choose language: </label>
Expand Down

0 comments on commit 0400fc6

Please sign in to comment.