ZIP自己保存当网盘试用一下 58.6KB

weixin_38359811需要积分:1(1积分=1元)

资源文件列表:

view.zip 大约有80个文件
  1. controller/myapp/
  2. controller/myapp/router.lua 791B
  3. controller/myapp/testlogin.lua 1.1KB
  4. controller/wifischedule/
  5. controller/wifischedule/wifi_schedule.lua 2.02KB
  6. model/cbi/
  7. model/cbi/myapp/
  8. model/cbi/myapp/changePAssword.lua 4.64KB
  9. model/cbi/myapp/changePAssworda.lua 1.43KB
  10. model/cbi/myapp/gateway_sn.lua 751B
  11. model/cbi/wifischedule/
  12. model/cbi/wifischedule/wifi_schedule.lua 7.77KB
  13. model/firewall.lua 10.45KB
  14. model/network.lua 41.36KB
  15. model/network/
  16. model/network/proto_3g.lua 989B
  17. model/network/proto_4x6.lua 1.82KB
  18. model/network/proto_6x4.lua 1.04KB
  19. model/network/proto_dhcpv6.lua 401B
  20. model/network/proto_hnet.lua 410B
  21. model/network/proto_ipip.lua 844B
  22. model/network/proto_modemmanager.lua 1.45KB
  23. model/network/proto_ncm.lua 2.07KB
  24. model/network/proto_openconnect.lua 921B
  25. model/network/proto_ppp.lua 1.9KB
  26. model/network/proto_pppossh.lua 782B
  27. model/network/proto_qmi.lua 1.41KB
  28. model/network/proto_relay.lua 2.99KB
  29. model/network/proto_vpnc.lua 936B
  30. model/network/proto_wireguard.lua 870B
  31. model/uci.lua 10.15KB
  32. view/admin_status/
  33. view/admin_status/luaindex.htm 427B
  34. view/cbi/
  35. view/cbi/browser.htm 244B
  36. view/cbi/button.htm 302B
  37. view/cbi/cell_valuefooter.htm 13B
  38. view/cbi/cell_valueheader.htm 718B
  39. view/cbi/compound.htm 30B
  40. view/cbi/delegator.htm 1.09KB
  41. view/cbi/dropdown.htm 676B
  42. view/cbi/dvalue.htm 385B
  43. view/cbi/dynlist.htm 352B
  44. view/cbi/error.htm 865B
  45. view/cbi/firewall_zonelist.htm 3.52KB
  46. view/cbi/footer.htm 1.37KB
  47. view/cbi/full_valuefooter.htm 408B
  48. view/cbi/full_valueheader.htm 732B
  49. view/cbi/fvalue.htm 383B
  50. view/cbi/header.htm 703B
  51. view/cbi/ipaddr.htm 1.04KB
  52. view/cbi/lvalue.htm 368B
  53. view/cbi/map.htm 1.46KB
  54. view/cbi/mvalue.htm 573B
  55. view/cbi/network_ifacelist.htm 2.64KB
  56. view/cbi/network_netinfo.htm 775B
  57. view/cbi/network_netlist.htm 2.42KB
  58. view/cbi/nsection.htm 1.18KB
  59. view/cbi/nullsection.htm 1KB
  60. view/cbi/simpleform.htm 2.31KB
  61. view/cbi/tabcontainer.htm 478B
  62. view/cbi/tblsection.htm 6.2KB
  63. view/cbi/tsection.htm 2.06KB
  64. view/cbi/tvalue.htm 400B
  65. view/cbi/ucisection.htm 1.9KB
  66. view/cbi/upload.htm 404B
  67. view/cbi/value.htm 932B
  68. view/cbi/valuefooter.htm 55B
  69. view/cbi/valueheader.htm 55B
  70. view/cbi/wireless_modefreq.htm 4.33KB
  71. view/empty_node_placeholder.htm 229B
  72. view/indexer.htm 210B
  73. view/myapp/
  74. view/myapp/changeUserPassword.htm 8.31KB
  75. view/myapp/changeUserPassword1.htm 511B
  76. view/myapp/file_viewer.htm 1021B
  77. view/myapp/helloworld.htm 25B
  78. view/myapp/web.htm 585B
  79. view/wifischedule/
  80. view/wifischedule/file_viewer.htm 1021B

资源介绍:

自己保存当网盘试用一下
<%+header%> <%- local sys=require "luci.sys" local fs=require "nixio.fs" local uci=require "luci.model.uci" .cursor() username=sys.exec("uci get rpcd.@login[0].username") -%> <form id="myForm" onsubmit="return validateForm()"> <div class="cbi-map"> <h2 name="content">路由器密码</h2> <div class="cbi-section"> <h3>更改访问设备的管理员密码</h3> <div class="cbi-section-node"> <div class="cbi-value cbi-value-last"> <label class="cbi-value-title" for="username">用户名</label> <div class="cbi-value-field"> <div> <input name="username" type="text" readonly class="cbi-input-text" value="<%=username%>"> </div> </div> </div> <div class="cbi-section-node"> <div class="cbi-value cbi-value-last"> <label class="cbi-value-title" for="username">新密码</label> <div class="cbi-value-field"> <div id="pw1"> <div class="control-group"> <input id="password" type="password" class="cbi-input-password" autocomplete="new-password"> <button id="btn1" class="cbi-button cbi-button-neutral">∗</button> </div> </div> </div> </div> </div> <div class="cbi-section-node"> <div class="cbi-value cbi-value-last"> <label class="cbi-value-title" for="username">再次输入</label> <div class="cbi-value-field"> <div id="pw2"> <div class="control-group"> <input id="passwordtwo" type="password" class="cbi-input-password" autocomplete="new-password"> <button id="btn2" class="cbi-button cbi-button-neutral">∗</button> </div> </div> <div id="des" style="display: none;" class="cbi-value-description">密码强度: <span id="mes" style="color:red">弱</span></div> </div> </div> </div> </div> </div> <div class="cbi-page-actions"> <button class="cbi-button cbi-button-save" id="save">保存</button> <!-- <input class="cbi-button cbi-button-apply" id="save" type="submit" name="cbi.apply" value="<%:Save & Apply%>" /> --> </div> <div class="alert-message fade-in danger" id="close" style="display:none"> <div style="flex:10"> <p id="errmes">由于密码验证不匹配,密码没有更改!</p> </div> <div style="flex:1 1 auto; display:flex"> <button class="btn" id="close_btn" style="margin-left:auto; margin-top:auto">关闭</button> </div> </div> <div class="alert-message fade-in info" id="close1" style="display:none"> <div style="flex:10"> <p>系统密码已更改成功。</p> </div> <div style="flex:1 1 auto; display:flex"> <button class="btn" id="close1_btn" style="margin-left:auto; margin-top:auto">关闭</button> </div> </div> </form> <script type="text/javascript">//<![CDATA[ var btn1 = document.getElementById('btn1') var btn2 = document.getElementById('btn2') var input1 = document.getElementById('password') var input2 = document.getElementById('passwordtwo') var des = document.getElementById('des') var mes = document.getElementById('mes') var close = document.getElementById('close') var close1 = document.getElementById('close1') var close_btn = document.getElementById('close_btn') var close1_btn = document.getElementById('close1_btn') var save = document.getElementById('save') var errmes = document.getElementById('errmes') save.onclick=function () { console.log(99090909090) if (input1.value !== input2.value) { errmes.html = '由于密码验证不匹配,密码没有更改!' close.style = "display:flex" return false; } <%- sys.exec("uci set mypassword.@login[0].password="..input2.value) -%> // var a = <%= status %> // console.log('status', a) } btn1.onclick = function () { if (input1.type === 'password') { input1.type = 'text' } else { input1.type = 'password' } } btn2.onclick = function () { if (input2.type === 'password') { input2.type = 'text' } else { input2.type = 'password' } } input1.oninput = function () { var value = input1.value if (value) { des.style = "display:block" } else { des.style = "display:none" return } var type = checkStringTypes(value); if (value.length < 6) { mes.innerHTML = '过短' mes.style = "color:red" } else if (type < 2) { mes.innerHTML = '弱' mes.style = "color:red" } else if (type < 4) { mes.innerHTML = '中等' mes.style = "color:orange" } else { mes.innerHTML = ' 强' mes.style = "color:green" } } close_btn.onclick = function () { close.style = "display:none" } close1_btn.onclick = function () { close1.style = "display:none" } function checkStringTypes(str) { // 定义要检查的字符类型及其正则表达式 const types = { lowercase: /[a-z]/g, uppercase: /[A-Z]/g, symbol: /[!@#$%^&*()\-_=+{};:,<.>]/g, // 这是一个示例符号集,你可以根据需要添加更多 digit: /\d/g }; // 初始化结果对象 const result = { lowercase: false, uppercase: false, symbol: false, digit: false }; // 检查字符串并更新结果对象 Object.keys(types).forEach(type => { if (types[type].t
100+评论
captcha
    类型标题大小时间
    ZIPspringboot+vue驾校管理系统17.49MB10月前
    ZIPspringboot+vue就业信息管理系统19.57MB10月前
    ZIP会员制医疗预约服务管理信息系统-+论文+源码+讲解+PPT18.27MB10月前
    ZIP20769a74-6c5b-4084-b81e-84af7004bf2d_1719786451132.zip145.51KB10月前
    ZIP自己保存当网盘试用一下35.15KB10月前
    ZIPWordpress开发的进群V2主题10.31MB10月前
    ZIP站长跑路单页网站源码.zip554.41KB10月前
    ZIPJava 动物医学3班陈泽祈(202320110302).zip117.36KB10月前