Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

r2sflasher: 修复 bootstrap 上的显示问题 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions luci-app-r2sflasher/luasrc/view/r2sflasher/rom.htm
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
<%+cbi/valueheader%>
<label class="cbi-value" style="display:inline-block; width: 130px" for="keep_config"><%:Keep Configs%></label>
<input class="cbi-input-checkbox" type="checkbox" id="keep_config" name="keep_config" checked />
<div class="cbi-value-description"><span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif"/></span> <%:compatibility unchecked%></div>
<label class="cbi-value-title" for="keep_config"><%:Keep Configs%></label>
<div class="cbi-value-field">
<input class="cbi-input-checkbox" type="checkbox" id="keep_config" name="keep_config" checked />
<br>
<div class="cbi-value-description"><%:compatibility unchecked%></div>
</div>
<%+cbi/valuefooter%>

<%+cbi/valueheader%>
<label class="cbi-value" style="display:inline-block; width: 130px" for="romfile"><%:Choose File%></label>
<input class="cbi-input-file" style="width: 400px" type="file" id="romfile" name="romfile" />
<input type="submit" class="cbi-button cbi-input-apply" name="flash" value="<%:Flash%>" />
<label class="cbi-value-title" for="romfile"><%:Choose File%></label>
<div class="cbi-value-field">
<input class="cbi-input-file" type="file" id="romfile" name="romfile" />
<input type="submit" class="cbi-button cbi-input-apply" name="flash" value="<%:Flash%>" />
</div>
<%+cbi/valuefooter%>

<%+cbi/valueheader%>
<div class="cbi-value-description" style="margin-left:20px"><span class="cbi-value-helpicon"><img src="/luci-static/resources/cbi/help.gif"/></span> by <a href="https://songchenwen.com" target="_blank">scw</a> <a href="https://songchenwen.com/nanopi-r2s-roms-redir" target="_blank">roms</a></div>
<%+cbi/valuefooter%>
<%+cbi/valuefooter%>