■ ■ ■ ■ ■ ■
cmd/client/static/templates/index.html
| skipped 31 lines |
32 | 32 | | <div class="content center"> |
33 | 33 | | <p>SeaMoon - 月海</p> |
34 | 34 | | <p align="center"> |
35 | | - | <img src="https://goreportcard.com/badge/github.com/DVKunion/SeaMoon" /> |
36 | | - | <img src="https://img.shields.io/github/stars/DVKunion/SeaMoon.svg" alt="stars"/> |
37 | | - | <img src="https://img.shields.io/github/downloads/dvkunion/seamoon/total?color=orange" alt="downloads" /> |
38 | | - | <img src="https://img.shields.io/github/languages/top/DVKunion/SeaMoon.svg?&color=blueviolet" alt="languages"> |
39 | | - | <img src="https://img.shields.io/badge/LICENSE-MIT-777777.svg" alt="license"/> |
| 35 | + | <img src="https://goreportcard.com/badge/github.com/DVKunion/SeaMoon"/> |
| 36 | + | <img src="https://img.shields.io/github/stars/DVKunion/SeaMoon.svg" alt="stars"/> |
| 37 | + | <img src="https://img.shields.io/github/downloads/dvkunion/seamoon/total?color=orange" |
| 38 | + | alt="downloads"/> |
| 39 | + | <img src="https://img.shields.io/github/languages/top/DVKunion/SeaMoon.svg?&color=blueviolet" |
| 40 | + | alt="languages"> |
| 41 | + | <img src="https://img.shields.io/badge/LICENSE-MIT-777777.svg" alt="license"/> |
40 | 42 | | <a href='https://github.com/DVKunion/SeaMoon'><img |
41 | | - | src="https://img.shields.io/github/watchers/dvkunion/seamoon?style=social"/></a> |
| 43 | + | src="https://img.shields.io/github/watchers/dvkunion/seamoon?style=social"/></a> |
42 | 44 | | </p> |
43 | 45 | | <div class="sub header"> |
44 | 46 | | 🌕 月出于云却隐于海 |
| skipped 39 lines |
84 | 86 | | <input id="controlLog" placeholder="日志路径" type="text"> |
85 | 87 | | </div> |
86 | 88 | | </div> |
| 89 | + | <br /> |
| 90 | + | <div class="field"> |
| 91 | + | <div class="tor ui toggle checkbox"> |
| 92 | + | <input id="torEnable" type="checkbox" tabindex="0" class="hidden"> |
| 93 | + | <label>开启 tor 网络(仅支持 socks5 代理 + websocket 隧道)</label> |
| 94 | + | </div> |
| 95 | + | </div> |
87 | 96 | | <h4 class="ui inverted dividing header"><i class="cloud icon"></i>云端配置</h4> |
88 | 97 | | <div class="fifteen wide field"> |
89 | 98 | | <label>代理地址: </label> |
| skipped 28 lines |
118 | 127 | | <input id="socksAddr" placeholder="socks代理地址" type="text"> |
119 | 128 | | </div> |
120 | 129 | | </div> |
121 | | - | <h4 class="ui dividing inverted header"><i class="ellipsis horizontal icon"></i>高级功能</h4> |
122 | | - | {{/* <div class="inline field">*/}} |
123 | | - | {{/* <div class="ui checkbox">*/}} |
124 | | - | {{/* <input type="checkbox" tabindex="0" class="hidden">*/}} |
125 | | - | {{/* <label>开启webshell动态代理功能(待实现)</label>*/}} |
126 | | - | {{/* </div>*/}} |
127 | | - | {{/* </div>*/}} |
128 | | - | <!-- <div class="inline field">--> |
129 | | - | <!-- <div class="ui checkbox">--> |
130 | | - | <!-- <input type="checkbox" tabindex="0" class="hidden">--> |
131 | | - | <!-- <label>其他一些乱七八糟的功能,占个位置</label>--> |
132 | | - | <!-- </div>--> |
133 | | - | <!-- </div>--> |
| 130 | + | {{/* <h4 class="ui dividing inverted header"><i class="ellipsis horizontal icon"></i>高级功能</h4>*/}} |
| 131 | + | |
134 | 132 | | </form> |
135 | 133 | | </div> |
136 | 134 | | <div class="actions"> |
| skipped 22 lines |
159 | 157 | | <script src="/static/public/js/index.js"></script> |
160 | 158 | | <script> |
161 | 159 | | const config = {{ . }} |
162 | | - | setValue(config); |
| 160 | + | setValue(config); |
163 | 161 | | </script> |
164 | 162 | | </html> |