38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
|
<%- include ../includes/header.ejs %>
|
||
|
|
||
|
<div class="ui container" style="padding-top: 20px;">
|
||
|
<h1 class="ui header">系統安裝設定</h1>
|
||
|
<form id="setup" class="ui form">
|
||
|
<h3 class="ui dividing header">印表機設定</h3>
|
||
|
<div class="field">
|
||
|
<label for="tty">印表機連接埠</label>
|
||
|
<select name="tty" id="tty">
|
||
|
<option value="">選擇裝置</option>
|
||
|
<% for(let i of ttys) { %>
|
||
|
<option value="<%= i %>"><%= i %></option>
|
||
|
<% } %>
|
||
|
</select>
|
||
|
</div>
|
||
|
<div class="field">
|
||
|
<label for="feed">切紙前空行</label>
|
||
|
<input type="text" name="feed" value="8" id="feed">
|
||
|
</div>
|
||
|
<div class="field">
|
||
|
<button class="ui button mini" type="button" id="test-printer">測試印表機</button>
|
||
|
</div>
|
||
|
|
||
|
<h3 class="ui dividing header">藍芽列印設定</h3>
|
||
|
<div class="field">
|
||
|
<div class="ui checkbox">
|
||
|
<input type="checkbox" class="hidden" id="en-ble">
|
||
|
<label for="en-ble">啟用藍芽</label>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div style="margin-top: 40px; text-align: right;">
|
||
|
<button class="ui button blue" type="submit">送出設定</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
<%- include ../includes/footer.ejs %>
|