From 85fc88e90ca840a79350d802b0b29946cfad6aab Mon Sep 17 00:00:00 2001 From: Tifenn Guillas <tifenn.guillas@lam.fr> Date: Thu, 23 Sep 2021 11:21:53 +0200 Subject: [PATCH] Fix SQ bug --- .../components/output-list.component.html | 6 +- .../containers/documentation.component.html | 116 +++++++++--------- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/client/src/app/instance/documentation/components/output-list.component.html b/client/src/app/instance/documentation/components/output-list.component.html index faea97f3..b66c327a 100644 --- a/client/src/app/instance/documentation/components/output-list.component.html +++ b/client/src/app/instance/documentation/components/output-list.component.html @@ -1,12 +1,12 @@ <h4>Available outputs for {{ datasetSelected }}</h4> -<table id="table" class="attributes-table p-0" aria-describedby="Attribute list"> +<table id="attributes-table" class="attributes-table p-0" aria-describedby="Attribute list"> <tr> <th id="id">id</th> <th id="attribute">attribute</th> </tr> <tr *ngFor="let attribute of attributeList"> - <td [headers]="'id ' + attribute.id">{{ attribute.id }}</td> - <td [headers]="'attribute ' + attribute.name">{{ attribute.name }}</td> + <td headers="id">{{ attribute.id }}</td> + <td headers="attribute">{{ attribute.name }}</td> </tr> </table> diff --git a/client/src/app/instance/documentation/containers/documentation.component.html b/client/src/app/instance/documentation/containers/documentation.component.html index 78cc01f7..26603757 100644 --- a/client/src/app/instance/documentation/containers/documentation.component.html +++ b/client/src/app/instance/documentation/containers/documentation.component.html @@ -34,7 +34,7 @@ </app-output-list> <h5>Operators</h5> - <table id="table" aria-describedby="Operator description"> + <table id="operator-table" aria-describedby="Operator description"> <tr> <th id="operator">operator</th> <th id="description">description</th> @@ -42,95 +42,95 @@ <th id="example">example</th> </tr> <tr> - <td headers="operator eq">eq</td> - <td headers="description eq">equal to</td> - <td headers="usage eq"><code>c=id_attribute::eq::value</code></td> - <td headers="example eq"><code>c=1::eq::89</code></td> + <td headers="operator">eq</td> + <td headers="description">equal to</td> + <td headers="usage"><code>c=id_attribute::eq::value</code></td> + <td headers="example"><code>c=1::eq::89</code></td> </tr> <tr> - <td headers="operator neq">neq</td> - <td headers="description neq">not equal to</td> - <td headers="usage neq"><code>c=id_attribute::neq::value</code></td> - <td headers="example neq"><code>c=1::neq::89</code></td> + <td headers="operator">neq</td> + <td headers="description">not equal to</td> + <td headers="usage"><code>c=id_attribute::neq::value</code></td> + <td headers="example"><code>c=1::neq::89</code></td> </tr> <tr> - <td headers="operator gt">gt</td> - <td headers="description gt">greater than</td> - <td headers="usage gt"><code>c=id_attribute::gt::value</code></td> - <td headers="example gt"><code>c=1::gt::1.5</code></td> + <td headers="operator">gt</td> + <td headers="description">greater than</td> + <td headers="usage"><code>c=id_attribute::gt::value</code></td> + <td headers="example"><code>c=1::gt::1.5</code></td> </tr> <tr> - <td headers="operator gte">gte</td> - <td headers="description gte">greater than or equal to</td> - <td headers="usage gte"><code>c=id_attribute::gte::value</code></td> - <td headers="example gte"><code>c=1::gte::2</code></td> + <td headers="operator">gte</td> + <td headers="description">greater than or equal to</td> + <td headers="usage"><code>c=id_attribute::gte::value</code></td> + <td headers="example"><code>c=1::gte::2</code></td> </tr> <tr> - <td headers="operator lt">lt</td> - <td headers="description lt">lower than</td> - <td headers="usage lt"><code>c=id_attribute::lt::value</code></td> - <td headers="example lt"><code>c=1::lt::1.5</code></td> + <td headers="operator">lt</td> + <td headers="description">lower than</td> + <td headers="usage"><code>c=id_attribute::lt::value</code></td> + <td headers="example"><code>c=1::lt::1.5</code></td> </tr> <tr> - <td headers="operator lte">lte</td> - <td headers="description lte">lower than or equal to</td> - <td headers="usage lte"><code>c=id_attribute::lte::value</code></td> - <td headers="example lte"><code>c=1::lte::2</code></td> + <td headers="operator">lte</td> + <td headers="description">lower than or equal to</td> + <td headers="usage"><code>c=id_attribute::lte::value</code></td> + <td headers="example"><code>c=1::lte::2</code></td> </tr> <tr> - <td headers="operator bw">bw</td> - <td headers="description bw">between</td> - <td headers="usage bw"><code>c=id_attribute::bw::value_min|value_max</code></td> - <td headers="example bw"><code>c=1::bw::10|90</code></td> + <td headers="operator">bw</td> + <td headers="description">between</td> + <td headers="usage"><code>c=id_attribute::bw::value_min|value_max</code></td> + <td headers="example"><code>c=1::bw::10|90</code></td> </tr> <tr> - <td headers="operator lk">lk</td> - <td headers="description lk">like</td> - <td headers="usage lk"><code>c=id_attribute::lk::value</code></td> - <td headers="example lk"><code>c=1::lk::ping</code></td> + <td headers="operator">lk</td> + <td headers="description">like</td> + <td headers="usage"><code>c=id_attribute::lk::value</code></td> + <td headers="example"><code>c=1::lk::ping</code></td> </tr> <tr> - <td headers="operator nlk">nlk</td> - <td headers="description nlk">not like</td> - <td headers="usage nlk"><code>c=id_attribute::nlk::value</code></td> - <td headers="example nlk"><code>c=1::nlk::pong</code></td> + <td headers="operator">nlk</td> + <td headers="description">not like</td> + <td headers="usage"><code>c=id_attribute::nlk::value</code></td> + <td headers="example"><code>c=1::nlk::pong</code></td> </tr> <tr> - <td headers="operator in">in</td> - <td headers="description in">in</td> - <td headers="usage in"><code>c=id_attribute::in::value_x|value_y|value_z</code></td> - <td headers="example in"><code>c=1::in::ping|pong|paff</code></td> + <td headers="operator">in</td> + <td headers="description">in</td> + <td headers="usage"><code>c=id_attribute::in::value_x|value_y|value_z</code></td> + <td headers="example"><code>c=1::in::ping|pong|paff</code></td> </tr> <tr> - <td headers="operator nin">nin</td> - <td headers="description nin">not in</td> - <td headers="usage nin"><code>c=id_attribute::nin::value_x|value_y|value_z</code></td> - <td headers="example nin"><code>c=1::nin::ping|pong|paf</code></td> + <td headers="operator">nin</td> + <td headers="description">not in</td> + <td headers="usage"><code>c=id_attribute::nin::value_x|value_y|value_z</code></td> + <td headers="example"><code>c=1::nin::ping|pong|paf</code></td> </tr> <tr> - <td headers="operator nl">nl</td> - <td headers="description nl">is null</td> - <td headers="usage nl"><code>c=id_attribute::nl</code></td> - <td headers="example nl"><code>c=1::nl</code></td> + <td headers="operator">nl</td> + <td headers="description">is null</td> + <td headers="usage"><code>c=id_attribute::nl</code></td> + <td headers="example"><code>c=1::nl</code></td> </tr> <tr> - <td headers="operator nnl">nnl</td> - <td headers="description nnl">is not null</td> - <td headers="usage nnl"><code>c=id_attribute::nnl</code></td> - <td headers="example nnl"><code>c=1::nnl</code></td> + <td headers="operator">nnl</td> + <td headers="description">is not null</td> + <td headers="usage"><code>c=id_attribute::nnl</code></td> + <td headers="example"><code>c=1::nnl</code></td> </tr> <tr> - <td headers="operator js">js</td> - <td headers="description js">json</td> - <td headers="usage js"><code>c=id_attribute::js::extension,keyword|operator|value</code></td> - <td headers="example js"><code>c=1::js::PrimaryHDU,ID|eq|45</code></td> + <td headers="operator">js</td> + <td headers="description">json</td> + <td headers="usage"><code>c=id_attribute::js::extension,keyword|operator|value</code></td> + <td headers="example"><code>c=1::js::PrimaryHDU,ID|eq|45</code></td> </tr> </table> <h4>Examples</h4> We supposed to have the dataset ping with following attributes: - <table id="table" aria-describedby="Attribute list example"> + <table id="examples-table" aria-describedby="Attribute list example"> <tr> <th id="id">id</th> <th id="attribute">attribute</th> -- GitLab