Browse Source

Started adding some UI to export Bank as CHR file.

dev
Bryan Miller 5 years ago
parent
commit
f13b664a15
3 changed files with 26 additions and 0 deletions
  1. +8
    -0
      views/header.html
  2. +3
    -0
      views/modal.html
  3. +15
    -0
      views/modals/export_CHR.html

+ 8
- 0
views/header.html View File

@@ -28,6 +28,14 @@
Save Project
</a>
</li>
<li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover">
<a href="#" id="exportchr" class="pure-menu-link">Export Bank</a>
<ul class="pure-menu-children">
<li class="pure-menu-item" emit="modal-open" emit-args='{"cls":".export-chr"}'>
<a href="#" class="pure-menu-link">CHR</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>

+ 3
- 0
views/modal.html View File

@@ -30,3 +30,6 @@
<input type="file" accept="text/plain" name="loadProject"></input>
</div>
</div>

<%- include("modals/export_CHR.html"); %>


+ 15
- 0
views/modals/export_CHR.html View File

@@ -0,0 +1,15 @@
<div class="modal export-chr">
<div class="modal-content">
<form class="pure-form export-chr-form">
<label for="expchr-op1" class="pure-radio">
<input id="expchr-op1" type="radio" name="exportchr-amount" value="full" checked>
Full Bank
</label>
<label for="expchr-op2" class="pure-radio">
<input id="expchr-op2" type="radio" name="exportchr-amount" value="current">
Current View
</label>
<button type="submit" class="pure-button export-chr-btn">Export CHR</button>
</form>
</div>
</div>

Loading…
Cancel
Save