fix: icône refresh store + bouton Réinstaller pour modules déjà en DB
This commit is contained in:
parent
de4af0ee26
commit
ab834600ba
1 changed files with 3 additions and 5 deletions
|
|
@ -93,7 +93,7 @@
|
||||||
<div style="display:flex;align-items:center;gap:.75rem;margin-top:2rem">
|
<div style="display:flex;align-items:center;gap:.75rem;margin-top:2rem">
|
||||||
<h3 class="section-title" style="margin:0"><i class="lnid-download-2"></i> Store</h3>
|
<h3 class="section-title" style="margin:0"><i class="lnid-download-2"></i> Store</h3>
|
||||||
<button class="neu-btn neu-btn--sm neu-btn--icon-sm" @click="loadStore()" :disabled="storeLoading" title="Rafraîchir le store">
|
<button class="neu-btn neu-btn--sm neu-btn--icon-sm" @click="loadStore()" :disabled="storeLoading" title="Rafraîchir le store">
|
||||||
<i class="lnid-refresh-2" :class="{ 'spin': storeLoading }"></i>
|
<i class="lnid-refresh-circle-1-clockwise" :class="{ 'spin': storeLoading }"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<p class="section-desc">Modules disponibles depuis <a href="https://git.geronzi.fr/proxmoxPanel" target="_blank">git.geronzi.fr/proxmoxPanel</a></p>
|
<p class="section-desc">Modules disponibles depuis <a href="https://git.geronzi.fr/proxmoxPanel" target="_blank">git.geronzi.fr/proxmoxPanel</a></p>
|
||||||
|
|
@ -120,14 +120,12 @@
|
||||||
<a class="module-repo-link" :href="mod.repo_url" target="_blank" x-text="mod.repo_url"></a>
|
<a class="module-repo-link" :href="mod.repo_url" target="_blank" x-text="mod.repo_url"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="module-toggle">
|
<div class="module-toggle">
|
||||||
<span class="installed-badge" x-show="mod.installed">Installé</span>
|
|
||||||
<button class="neu-btn neu-btn--sm neu-btn--primary"
|
<button class="neu-btn neu-btn--sm neu-btn--primary"
|
||||||
x-show="!mod.installed"
|
|
||||||
@click="install(mod)"
|
@click="install(mod)"
|
||||||
:disabled="installing[mod.id]">
|
:disabled="installing[mod.id]">
|
||||||
<span x-show="installing[mod.id]" class="spinner-sm"></span>
|
<span x-show="installing[mod.id]" class="spinner-sm"></span>
|
||||||
<i x-show="!installing[mod.id]" class="lnid-download-2"></i>
|
<i x-show="!installing[mod.id]" :class="mod.installed ? 'lnid-refresh-circle-1-clockwise' : 'lnid-download-2'"></i>
|
||||||
Installer
|
<span x-text="mod.installed ? 'Réinstaller' : 'Installer'"></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue