Skip to content

Commit d2ed169

Browse files
committed
fix merge libremesh_info in index.html
1 parent d9aeda0 commit d2ed169

2 files changed

Lines changed: 52 additions & 50 deletions

File tree

www/index.html

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,58 @@ <h3 id="build-title" class="tr-version-build">About this build</h3>
157157
</details>
158158
</div>
159159
</div>
160-
<iframe src="libremesh_info.html" onload="this.insertAdjacentHTML('afterend', (this.contentDocument.body||this.contentDocument).innerHTML);this.remove()"></iframe>
160+
161+
<!-- libremesh info -->
162+
<details class="libremesh-info">
163+
<summary>Libremesh packages info</summary>
164+
<div style="margin-top:1em">
165+
<a style="display:block; margin:1em 0;" href="https://libremesh.org/development.html">https://libremesh.org/development.html</a>
166+
<div style="font-size: 0.85em">
167+
<div class="libremesh-version-packages-wrapper">
168+
<strong>Version packages:</strong><span> related to openwrt default_packages</span>
169+
<p class="info-item" id="libremesh-version-packages"></p>
170+
</div>
171+
<div class="libremesh-device-packages-wrapper">
172+
<strong>Device packages: </strong>
173+
<ul>
174+
<li><b>ath10k</b>: replace ath10k-ct with ath10k to work with 802.11s on most devices <a href="https://openwrt.org/docs/guide-user/network/wifi/mesh/80211s">Source</a></li>
175+
<li><b>ath9k</b>: add the package <i><b>wifi-unstuck-wa</b></i> to workaround deaf radios <a href="https://github.com/openwrt/openwrt/issues/7016">Source</a></li>
176+
</ul>
177+
<p class="info-item" id="libremesh-device-packages"></p>
178+
</div>
179+
<div class="libremesh-default-packages-wrapper">
180+
<strong>Suggested packages:</strong>
181+
<ul>
182+
<li><b>default</b>: or use the network profile <i><b>profile-libremesh-suggested-packages</b></i> <a href="https://github.com/libremesh/network-profiles/blob/master/libremesh/suggested-packages/Makefile">Source</a></li>
183+
<li><b>mini</b>: or use the network profile <i><b>profile-libremesh-suggested-packages-tiny</b></i> <a href="https://github.com/libremesh/network-profiles/blob/master/libremesh/suggested-packages-tiny/Makefile">Source</a></li>
184+
</ul>
185+
<p class="info-item" id="libremesh-default-packages"></p>
186+
</div>
187+
</div>
188+
</div>
189+
</details>
190+
191+
<style>
192+
.info-item {
193+
background-color: #fff;
194+
border-radius: .3em;
195+
padding: 0.5em
196+
}
197+
.libremesh-info {
198+
margin: 1em 0; font-size:.9em; background-color: #ccfea7; padding: 1em; border-radius: .3em; line-height: normal;
199+
}
200+
201+
@media (prefers-color-scheme: dark) {
202+
.info-item {
203+
background-color: #18181b;
204+
color: #fff
205+
}
206+
.libremesh-info {
207+
background-color: #004d00;
208+
}
209+
}
210+
</style>
211+
161212
<div>
162213
<h4 class="tr-packages">Installed Packages</h4>
163214
<textarea

www/libremesh_info.html

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)