- Added link support to alerts
- replace some old markdown notes with out tempale note alert.
This commit is contained in:
ZanzyTHEbar 2022-06-06 06:29:23 +02:00
parent a60515e608
commit 9b109fd212
7 changed files with 20 additions and 5 deletions

View File

@ -10,6 +10,9 @@
</svg><b>Info:</b>
<p class="fs-5 fw-300">
{{ include.content }}
{% if include.hyper_link != null && include.hyper_link != "" %}
<a href="{{ include.hyper_link }}" target="_blank">{{ include.description }}</a>
{% endif %}
</p>
</span>
</p>

View File

@ -10,6 +10,9 @@
</svg><b>Info:</b>
<p class="fs-5 fw-300">
{{ include.content }}
{% if include.hyper_link != null && include.hyper_link != "" %}
<a href="{{ include.hyper_link }}" target="_blank">{{ include.description }}</a>
{% endif %}
</p>
</span>
</p>

View File

@ -10,6 +10,9 @@
</svg><b>Note:</b>
<p class="fs-5 fw-300">
{{ include.content }}
{% if include.hyper_link != null && include.hyper_link != "" %}
<a href="{{ include.hyper_link }}" target="_blank">{{ include.description }}</a>
{% endif %}
</p>
</span>
</p>

View File

@ -6,6 +6,9 @@
data-icon="fa:check-square-o"></span><b>Tip:</b>
<p class="fs-5 fw-300">
{{ include.content }}
{% if include.hyper_link != null && include.hyper_link != "" %}
<a href="{{ include.hyper_link }}" target="_blank">{{ include.description }}</a>
{% endif %}
</p>
</span>
</p>

View File

@ -10,6 +10,9 @@
</svg><b>Warning:</b>
<p class="fs-5 fw-300">
{{ include.content }}
{% if include.hyper_link != null && include.hyper_link != "" %}
<a href="{{ include.hyper_link }}" target="_blank">{{ include.description }}</a>
{% endif %}
</p>
</span>
</p>

View File

@ -32,8 +32,8 @@ All three of the above can be found in a kit from [AliExpress here](https://a.al
- 2x Wired Ov5640 160 deg cameras [AliExpress here](https://www.aliexpress.com/item/2255799933896897.html)
**Please note: if the wired option is used, you will need to disassemble the camera to remove the ir filters.**
**I would recombed getting extra cameras, either the full thing above or just the camera [from AliExpress here](https://www.aliexpress.com/item/3256803544318475.html)**
{% include custom/alerts/Note.html content="if the wired option is used, you will need to disassemble the camera to remove the ir filters.
I would recombed getting extra cameras, either the full thing above or just the camera" hyper_link="https://www.aliexpress.com/item/3256803544318475.html" description="from AliExpress here" %}
- 1x USB type-A male port to power both IR emitters
[AliExpress here](https://a.aliexpress.com/_mOCRTcq)

View File

@ -28,10 +28,10 @@ In case of an FTDI programmer, the steps aren't as easy, so grab [this guide](ht
- Once the firmware has been built, press the upload button to upload the firmware.
**NOTE** The MB board does the resetting for you, so if you're suing the FTDI programmer, follow the guide linked above (the one from randomnerdtutorials)
![img](https://i.imgur.com/lI3PFVC.png)
{% include custom/alerts/Note.html content="The MB board does the resetting for you, so if you're using the FTDI programmer, follow the guide linked above (the one from randomnerdtutorials)" %}
- If the upload is successful, you should get an output that looks like this:
![img](https://i.imgur.com/SDQcCr1.png)
@ -57,8 +57,8 @@ Once you have successfully connected your trackers to your WiFi, you can use OTA
```ini
;upload_protocol = espota
;upload_port = 192.168.1.49
```
1. Change the value of upload_port to the IP address retrieved during the first step.
1. Turn the tracker you wish to flash off and then on again.
1. Wait around 5 seconds.