1
0
Fork 0

refactor(ControlLoops): Reviews layout and md file

This commit is contained in:
sovanna 2019-07-19 14:18:47 +02:00
parent db2e9a522c
commit 1d6a0e1a42
3 changed files with 20 additions and 18 deletions

View File

@ -5,7 +5,7 @@ template = "page.html"
+++
{% textimg(src="images/stabilizer@2x.png", alt="", bodyleft=true, customcss="row d-flex align-items-center mb-4 pb-2", shadow=false, md=true) %}
{% layout_text_img(src="images/stabilizer@2x.png", alt="", textleft=true, shadow=false) %}
##### Stabilizer
@ -26,23 +26,18 @@ It can be used as a general-purpose PID controller. Several AFE extensions are u
{% end %}
{% centerp(safe=true) %}
<div class="row">
<div class="col-12 mt-0 mt-md-5">
<p class="m-0">
The <a href="https://github.com/quartiq/stabilizer" target="_blank" rel="noopener noreferrer">standard open source firmware</a> that comes with the board has the following features:
</p>
</div>
</div>
{% layout_centered_content(css="row d-flex align-items-center mt-5 mb-0") %}
The <a href="https://github.com/quartiq/stabilizer" target="_blank" rel="noopener noreferrer">standard open source firmware</a> that comes with the board has the following features:
{% end %}
{{ centercontent(customcss="row d-flex align-items-center", md=true, src="images/_standard-open-source-firmware@2x.png", alt="") }}
{% layoutlr1(customcss="row d-flex align-items-center mt-4 mb-5 pt-2 pb-2") %}
{{ layout_centered_img(src="images/_standard-open-source-firmware@2x.png", alt="", css="row d-flex align-items-center mt-0 mb-0") }}
{% layout_html() %}
<div class="col-12 col-md-3">
<ul>
@ -65,7 +60,7 @@ It can be used as a general-purpose PID controller. Several AFE extensions are u
</ul>
</div>
<div class="col-12 col-md-4 mt-4 mt-md-0">
<div class="col-12 col-md-4">
<p>
To purchase this controller, email sales@m-***s.hk. We also offer firmware customizations and development of new features. Note that features that are not implemented in the open source code above (e.g. control from Kasli) are not supported unless purchased separately.
</p>
@ -74,7 +69,8 @@ It can be used as a general-purpose PID controller. Several AFE extensions are u
{% end %}
{% textimg(src="images/Thermostat@2x.png", alt="", customcss="", bodyleft=false, shadow=false, md=true) %}
{% layout_text_img(src="images/Thermostat@2x.png", alt="", shadow=false) %}
##### Thermostat
@ -96,7 +92,8 @@ This module is still in development and is not currently available.
{% end %}
{% textimg(alt="", customcss="", bodyleft=true, shadow=false, md=true) %}
{% layout_text_img(textleft=true, shadow=false) %}
##### SU-Servo

View File

@ -2,7 +2,7 @@
<div class="{% if min_width %}col-12 col-md-8 mx-auto{% else %}col-12{% endif %} text-center">
<p>{{ body | markdown | safe }}</p>
{{ body | markdown | safe }}
</div>

View File

@ -0,0 +1,5 @@
<div class="{% if css %}{{ css }}{% else %}row d-flex align-items-center mt-5 mb-5{% endif %}">
{{ body | safe }}
</div>