Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-linaro committed Jun 17, 2024
1 parent 74ae33e commit c38f5af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/compare-boards-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{% endif %}
<tr>
<td class="board" data-board="{{board.url | replace: "/product/", "" | replace: "/", ""}}">
{{board.title}} <a class="btn btn-default btn-xs" href="{{board.url}}">Buy Now</a> <i
{{board.title}} {% if board.product_buy_links %}<a class="btn btn-default btn-xs" href="{{board.url}}">Buy Now</a>{% endif %} <i
data-toggle="tooltip" data-placement="top" title="Remove Board" class="icon-cancel"></i>
</td>
{% assign product-url = board.permalink | split: "/" %}
Expand All @@ -59,6 +59,7 @@
<td class="board" data-attr="price" data-board="{{board.url | replace: "/product/", "" | replace: "/", ""}}"
class="data">
<div class="btn-group" role="group">
{% if board.product_buy_links %}
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Buy Links
Expand All @@ -85,6 +86,7 @@
</li>
{% endfor %}
</ul>
{% endif %}
</div>
</td>
{% for attr in tags %}
Expand Down
2 changes: 2 additions & 0 deletions _includes/display-products.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ <h5 class="text-dark my-4">{{ product.title }}</h5>
<div class="separator clear-left">
<div class="dropdown dropdown-container btn-group dropup btn-block product-buy-dropdown d-flex flex-row align-items-center justify-content-center">
<a href="{{ product.permalink }}" class="btn btn-primary btn-read-more">Details</a>
{% if page.product_buy_links %}
<button type="button" class="btn btn-primary dropdown-toggle btn-buy" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Buy <i class="button-icon glyphicon glyphicon-shopping-cart"></i>
Expand All @@ -77,6 +78,7 @@ <h5 class="text-dark my-4">{{ product.title }}</h5>
<li class="dropdown-item"><a href="{{ buy_link.link-url }}">{{ buy_link.link-title }}</a></li>
{% endfor %}
</ul>
{% endif %}
<input type="checkbox" class="board-checkbox"
data-board-specification="{{product.product_specification}}"
data-board-title="{{product.title}}"
Expand Down

0 comments on commit c38f5af

Please sign in to comment.