可以直接浏览静态页面

This commit is contained in:
zogodo
2020-02-22 11:47:23 +08:00
parent 1d81decc47
commit 3c7e3182c4
8 changed files with 771 additions and 3 deletions

2
.gitignore vendored
View File

@@ -5,5 +5,3 @@ zTC1.*
*.bin
*.rar
TC1/http_server/index.c
TC1/http_server/web/assets/

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 496 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -82,7 +82,11 @@
<div class="mdl-card__supporting-text">
<h3>Power Control</h3>
<span class="mdl-list__item-secondary-action">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="list-switch-0">
<input type="checkbox" id="list-switch-0" class="mdl-switch__input" checked />
</label>
</span>
<ul class="demo-list-control mdl-list">
<li class="mdl-list__item">
<span class="mdl-list__item-primary-content">
@@ -161,6 +165,12 @@
</div>
<div class="mdl-card__supporting-text">
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<select id="wifi" onchange="SelectWifi()">
<option value="0">Manual</option>
</select>
<button id="rescan" onclick="Rescan()">Rescan</button>
</div>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="sample3">
<label class="mdl-textfield__label" for="sample3">SSID</label>
@@ -169,6 +179,14 @@
<input class="mdl-textfield__input" type="text" id="sample3">
<label class="mdl-textfield__label" for="sample3">Password</label>
</div>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-1">
<input type="radio" id="option-1" class="mdl-radio__button" name="options" value="1" checked>
<span class="mdl-radio__label">AP</span>
</label>
<label class="mdl-radio mdl-js-radio mdl-js-ripple-effect" for="option-2">
<input type="radio" id="option-2" class="mdl-radio__button" name="options" value="2">
<span class="mdl-radio__label">Station</span>
</label>
</form>
</div>
<div class="mdl-card__actions mdl-card--border">