mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
update 2023-01-11 23:54:47
This commit is contained in:
parent
49db197dae
commit
3f906dc128
@ -16,7 +16,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-amlogic
|
||||
PKG_VERSION:=3.1.154
|
||||
PKG_VERSION:=3.1.155
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-2.0 License
|
||||
|
@ -7,40 +7,13 @@
|
||||
<td width="65%" align="left">
|
||||
<select name="amlogic_soc" id="amlogic_soc" style="width:auto" onchange="sel_dtb_input(this.options[this.selectedIndex].value)">
|
||||
<option value="0"><%:Select List%></option>
|
||||
<option value="11"><%:[s905d] Phicomm N1%></option>
|
||||
<option value="12"><%:[s905d] Phicomm N1 (DMA thresh)%></option>
|
||||
<option value="13"><%:[s905x] HG680P%></option>
|
||||
<option value="13"><%:[s905x] B860H%></option>
|
||||
<option value="14"><%:[s905w] X96-Mini & TX3-Mini%></option>
|
||||
<option value="21"><%:[s912] Octopus Planet%></option>
|
||||
<option value="31"><%:[s905x2] X96 Max 4G%></option>
|
||||
<option value="32"><%:[s905x2] X96 Max 2G%></option>
|
||||
<option value="41"><%:[s922x] Belink GT-King%></option>
|
||||
<option value="42"><%:[s922x] Belink GT-King Pro%></option>
|
||||
<option value="43"><%:[s922x] Belink GT-King Pro H%></option>
|
||||
<option value="44"><%:[s922x] Belink GT-King Pro Rev_A%></option>
|
||||
<option value="45"><%:[s922x] Hardkernel ODROID N2%></option>
|
||||
<option value="46"><%:[s922x] UGOOS AM6 Plus%></option>
|
||||
<option value="47"><%:[a311d] Khadas VIM3%></option>
|
||||
<option value="51"><%:[s905x3] X96 Max+%></option>
|
||||
<option value="52"><%:[s905x3] X96 Max+ (OverClock@2208Mhz)%></option>
|
||||
<option value="53"><%:[s905x3] HK1 Box%></option>
|
||||
<option value="54"><%:[s905x3] HK1 Box (OverClock@2208Mhz)%></option>
|
||||
<option value="55"><%:[s905x3] H96 Max X3%></option>
|
||||
<option value="56"><%:[s905x3] H96 Max X3 (OverClock@2208Mhz)%></option>
|
||||
<option value="57"><%:[s905x3] Ugoos X3%></option>
|
||||
<option value="58"><%:[s905x3] Ugoos X3 (OverClock@2208Mhz)%></option>
|
||||
<option value="59"><%:[s905x3] TX3 BZ%></option>
|
||||
<option value="5a"><%:[s905x3] TX3 BZ (OverClock@2208Mhz)%></option>
|
||||
<option value="5b"><%:[s905x3] TX3 QZ%></option>
|
||||
<option value="5c"><%:[s905x3] TX3 QZ (OverClock@2208Mhz)%></option>
|
||||
<option value="99"><%:Enter the dtb file name%></option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="tr_sel_dtb" style="display:none;"><td width="30%" align="right"><%:enter the dtb file name:%></td><td width="70%" align="left"><input class="cbi-input-file" style="width: 235px" type="text" id="amlogic_dtb" name="amlogic_dtb" /></td></tr>
|
||||
<tr id="tr_sel_soc" style="display:none;"><td width="30%" align="right"><%:enter the soc name:%></td><td width="70%" align="left"><input class="cbi-input-file" style="width: 235px" type="text" id="amlogic_socname" name="amlogic_socname" /></td></tr>
|
||||
<tr id="tr_sel_uboot" style="display:none;"><td width="30%" align="right"><%:enter the uboot_overload name:%></td><td width="70%" align="left"><input class="cbi-input-file" style="width: 235px" type="text" id="amlogic_uboot" name="amlogic_uboot" /></td></tr>
|
||||
<tr id="tr_sel_dtb" style="display:none;"><td width="30%" align="right"><%:Enter the dtb file name:%></td><td width="70%" align="left"><input class="cbi-input-file" style="width: 235px" type="text" id="amlogic_dtb" name="amlogic_dtb" /></td></tr>
|
||||
<tr id="tr_sel_soc" style="display:none;"><td width="30%" align="right"><%:Enter the soc name:%></td><td width="70%" align="left"><input class="cbi-input-file" style="width: 235px" type="text" id="amlogic_socname" name="amlogic_socname" /></td></tr>
|
||||
<tr id="tr_sel_uboot" style="display:none;"><td width="30%" align="right"><%:Enter the uboot_overload name:%></td><td width="70%" align="left"><input class="cbi-input-file" style="width: 235px" type="text" id="amlogic_uboot" name="amlogic_uboot" /></td></tr>
|
||||
<tr>
|
||||
<td width="30%" align="right"><%:Install OpenWrt:%></td>
|
||||
<td width="70%" align="left">
|
||||
@ -129,13 +102,12 @@
|
||||
});
|
||||
|
||||
// Show external modal database: /etc/model_database.txt
|
||||
mymodel_arrlen = 0;
|
||||
_option_codes = "";
|
||||
var mymodel_arrlen = 0;
|
||||
var _option_codes = '<option value="0"><%:Select List%></option>';
|
||||
var _check_my_amlogic_soc = document.getElementById('amlogic_soc');
|
||||
XHR.get('<%=luci.dispatcher.build_url("admin", "system", "amlogic", "start_model_database")%>', null, function(x, status) {
|
||||
if ( x && x.status == 200 ) {
|
||||
if ( status.my_model_database != "" ) {
|
||||
_option_codes = _option_codes + '<option value="0"><%:Select List%></option>';
|
||||
let userModelList = status.my_model_database;
|
||||
var user_arry = userModelList.split('@@@');
|
||||
var mymodel_arrlen = user_arry.length - 1;
|
||||
@ -147,10 +119,10 @@
|
||||
_option_codes = _option_codes + '<option value="' + my_box_mode_id + '">[ ' + my_box_mode_id + ' ] ' + my_box_mode_name.replace(/~/g, " ") + '</option>';
|
||||
}
|
||||
}
|
||||
_option_codes = _option_codes + '<option value="99"><%:Enter the dtb file name%></option>';
|
||||
_check_my_amlogic_soc.innerHTML = _option_codes;
|
||||
}
|
||||
}
|
||||
_option_codes = _option_codes + '<option value="99"><%:Enter the dtb file name%></option>';
|
||||
_check_my_amlogic_soc.innerHTML = _option_codes;
|
||||
});
|
||||
|
||||
//]]></script>
|
||||
|
@ -101,101 +101,14 @@ msgstr "选择设备型号:"
|
||||
msgid "Select List"
|
||||
msgstr "选择列表"
|
||||
|
||||
msgid "[s905d] Phicomm N1"
|
||||
msgstr "[s905d] 斐讯-N1"
|
||||
|
||||
msgid "[s905d] Phicomm N1 (DMA thresh)"
|
||||
msgstr "[s905d] 斐讯-N1 (流控)"
|
||||
|
||||
msgid "[s905x] HG680P"
|
||||
msgstr "[s905x] 烽火HG680"
|
||||
|
||||
msgid "[s905x] B860H"
|
||||
msgstr "[s905x] 中兴B860H"
|
||||
|
||||
msgid "[s905w] X96-Mini & TX3-Mini"
|
||||
msgstr "[s905w] X96-Mini & TX3-Mini"
|
||||
|
||||
msgid "[s912] Octopus Planet"
|
||||
msgstr "[s912] 章鱼星球"
|
||||
|
||||
msgid "[s905x2] X96 Max 4G"
|
||||
msgstr "[s905x2] X96 Max 4G"
|
||||
|
||||
msgid "[s905x2] X96 Max 2G"
|
||||
msgstr "[s905x2] X96 Max 2G"
|
||||
|
||||
msgid "[s922x] Belink GT-King"
|
||||
msgstr "[s922x] Belink GT-King"
|
||||
|
||||
msgid "[s922x] Belink GT-King Pro"
|
||||
msgstr "[s922x] Belink GT-King Pro"
|
||||
|
||||
msgid "[s922x] Belink GT-King Pro H"
|
||||
msgstr "[s922x] Belink GT-King Pro H"
|
||||
|
||||
msgid "[s922x] Belink GT-King Pro Rev_A"
|
||||
msgstr "[s922x] Belink GT-King Pro Rev_A"
|
||||
|
||||
msgid "[s922x] Hardkernel ODROID N2"
|
||||
msgstr "[s922x] Hardkernel ODROID N2"
|
||||
|
||||
msgid "[s922x] UGOOS AM6 Plus"
|
||||
msgstr "[s922x] UGOOS AM6 Plus"
|
||||
|
||||
msgid "[a311d] Khadas VIM3"
|
||||
msgstr "[a311d] Khadas VIM3"
|
||||
|
||||
msgid "[s905x3] X96 Max+"
|
||||
msgstr "[s905x3] X96 Max+"
|
||||
|
||||
msgid "[s905x3] X96 Max+ (OverClock@2208Mhz)"
|
||||
msgstr "[s905x3] X96 Max+ (超频@2208Mhz)"
|
||||
|
||||
msgid "[s905x3] HK1 Box"
|
||||
msgstr "[s905x3] HK1 Box"
|
||||
|
||||
msgid "[s905x3] HK1 Box (OverClock@2208Mhz)"
|
||||
msgstr "[s905x3] HK1 Box (超频@2208Mhz)"
|
||||
|
||||
msgid "[s905x3] H96 Max X3"
|
||||
msgstr "[s905x3] H96 Max X3"
|
||||
|
||||
msgid "[s905x3] H96 Max X3 (OverClock@2208Mhz)"
|
||||
msgstr "[s905x3] H96 Max X3 (超频@2208Mhz)"
|
||||
|
||||
msgid "[s905x3] Ugoos X3"
|
||||
msgstr "[s905x3] Ugoos X3"
|
||||
|
||||
msgid "[s905x3] Ugoos X3 (OverClock@2208Mhz)"
|
||||
msgstr "[s905x3] Ugoos X3 (超频@2208Mhz)"
|
||||
|
||||
msgid "[s905x3] TX3 BZ"
|
||||
msgstr "[s905x3] TX3 百兆"
|
||||
|
||||
msgid "[s905x3] TX3 BZ (OverClock@2208Mhz)"
|
||||
msgstr "[s905x3] TX3 百兆 (超频@2208Mhz)"
|
||||
|
||||
msgid "[s905x3] TX3 QZ"
|
||||
msgstr "[s905x3] TX3 千兆"
|
||||
|
||||
msgid "[s905x3] TX3 QZ (OverClock@2208Mhz)"
|
||||
msgstr "[s905x3] TX3 千兆 (超频@2208Mhz)"
|
||||
|
||||
msgid "enter the dtb file name:"
|
||||
msgstr "输入自定义 dtb 文件名:"
|
||||
|
||||
msgid "enter the soc name:"
|
||||
msgstr "输入自定义 soc 名称:"
|
||||
|
||||
msgid "enter the uboot_overload name:"
|
||||
msgstr "输入自定义 uboot_overload 名称:"
|
||||
|
||||
msgid "Enter the dtb file name"
|
||||
msgstr "输入自定义 dtb 文件名"
|
||||
|
||||
msgid "Use custom dtb file:"
|
||||
msgstr "使用自定义 dtb 文件:"
|
||||
msgid "Enter the soc name:"
|
||||
msgstr "输入自定义 soc 名称:"
|
||||
|
||||
msgid "Enter the uboot_overload name:"
|
||||
msgstr "输入自定义 uboot_overload 名称:"
|
||||
|
||||
msgid "Invalid value."
|
||||
msgstr "无效值"
|
||||
|
Loading…
Reference in New Issue
Block a user