Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
afrendeiro committed Nov 29, 2024
1 parent bb04165 commit 02f03a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ software:
description: |
A simple Python library for processing whole slide images (WSI) with an object-oriented interface.
It has the goal of doing basic processing of WSIs with reasonable defaults, but high customizability.
It is a fork of <a href="https://github.com/mahmoodlab/CLAM">the "CLAM" repository from the Mahmood lab</a>.
img: null
url_gh: https://github.com/RendeiroLab/wsi
url_docs: https://wsi.readthedocs.io/
Expand Down
8 changes: 4 additions & 4 deletions templates/software.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ <h3>{{ title }}</h3>
<h4>{{ soft.title }}</h4>
<div class="row">
{% if soft.img is not none %}
<div class="col-6 col-md-3">
<div class="col-9 col-md-3">
{% if soft.img is not none %}
{% if soft.img.startswith('http') %}
<a href="{{ soft.url_gh }}" target="_blank">
<img class="img-responsive" src="{{ soft.img }}" alt="{{ soft.description }}" style="width: 95%; height: auto; display: block">
<img class="rounded mx-auto d-block" src="{{ soft.img }}" alt="{{ soft.description }}" style="width: auto; display: block; max-height: 12em; max-width: 12em">
</a>
{% else %}
<a href="{{ soft.url_gh }}" target="_blank">
<img class="img-responsive" src="{{ static_url }}/img/{{ soft.img }}" alt="{{ soft.description }}" style="width: 95%; height: auto; display: block">
<img class="rounded mx-auto d-block" src="{{ static_url }}/img/{{ soft.img }}" alt="{{ soft.description }}" style="width: auto; display: block; max-height: 12em; max-width: 12em">
</a>
{% endif %}
{% endif %}
</div>
{% endif %}
{% if soft.img is not none %}
<div class="col-6 col-md-9">
<div class="col-12 col-md-9">
{% else %}
<div class="col-12">
{% endif %}
Expand Down

0 comments on commit 02f03a6

Please sign in to comment.