mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-09 15:40:45 +02:00
GitHub token for updates (#1650)
* Add github token option to autoupdate.sh * Use github token to check updates * Add github token to web ui * Use github token in web updates * Add github tab in web ui * Fix curl in autoupdate.sh * Fix github curl auth
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
<a href="javascript:void(0)" onclick="openTab(event, 'time');">
|
||||
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Time</div>
|
||||
</a>
|
||||
<a href="javascript:void(0)" onclick="openTab(event, 'updates');">
|
||||
<div class="w3-third tablink w3-bottombar w3-hover-light-grey w3-padding">Updates</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div id="properties" class="w3-container tab">
|
||||
@@ -30,6 +33,12 @@
|
||||
<input id="ntp" class="w3-input" type="text">
|
||||
</div>
|
||||
|
||||
<div id="updates" class="w3-container tab" style="display:none">
|
||||
<p></p>
|
||||
<label>GitHub Token</label>
|
||||
<input id="github_token" class="w3-input">
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
<button class="w3-btn w3-theme">Save</button>
|
||||
<p></p>
|
||||
|
Reference in New Issue
Block a user