Skip to content

Commit

Permalink
Updated help window
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Sep 2, 2020
1 parent 03dd9b6 commit 96c20cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/bin/css/app.min.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions app/bin/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1244,11 +1244,6 @@ textarea {
max-height: 85vh;
max-width: 60vw;
}
.version {
font-size: 8pt;
opacity: 0.75;
margin-bottom: 10px;
}
dl {
display: grid;
grid-template-columns: 0.5fr 1fr;
Expand Down
5 changes: 4 additions & 1 deletion app/bin/tpl/help.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<div class="version">::app:: (::ver::)</div>
<div class="buttons">
<button href="::appUrl::">Official website</button>
<button href="::docUrl::">Online documentation</button>
</div>

<h2>Main commands</h2>

Expand Down
2 changes: 2 additions & 0 deletions src.renderer/page/Editor.hx
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ class Editor extends Page {
ui.Modal.closeAll();
var m = new ui.Modal();
m.loadTemplate("help","helpWindow", {
appUrl: Const.WEBSITE_URL,
docUrl: Const.DOCUMENTATION_URL,
app: Const.APP_NAME,
ver: Const.getAppVersion(),
});
Expand Down

0 comments on commit 96c20cf

Please sign in to comment.