Skip to content

Commit

Permalink
feat: Add swap area to Componere disk.html template
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaquinDecima committed May 24, 2024
1 parent 03dbfb2 commit feae5d4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
8 changes: 8 additions & 0 deletions css/applications/componere.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,12 @@
@apply px-4;
@apply py-3;
}

.componere-swap-area {
@apply flex;
@apply flex-row;
@apply justify-end;
@apply items-center;
@apply pb-2;
}
}
6 changes: 3 additions & 3 deletions css/global/forms.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@layer components{
select{
@layer components {
select {
@apply background;
@apply border-vsk;
@apply rounded-vsk;
@apply p-2;
@apply w-full;
@apply mb-2;
}
}
}
1 change: 1 addition & 0 deletions templates/apps/componere/disk.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ <h2 class="card-title">nvme0n1(NVME)</h2>
<div class="componere-disk-partition-space">50 MB</div>
</p>
</div>
<div class="componere-swap-area"></div>
<div class="componere-disk-partition" style="width: 100%; background: rgb(52, 159, 23);">
<div class="componere-disk-partition-label"></div>
<div class="componere-disk-partition-space">446 GB</div>
Expand Down
10 changes: 9 additions & 1 deletion templates/components/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@
<option value="as">as</option>
<option value="as1">as1</option>
<option value="a2">a2</option>
</select>
</select>

<label class="flex cursor-pointer select-none items-center">
<div class="relative">
<input type="checkbox" class="sr-only" />
<div class="block h-8 w-14 rounded-full background"></div>
<div class="dot absolute left-1 top-1 h-6 w-6 rounded-full bg-white transition translate-x-full bg-vsk"></div>
</div>
</label>

0 comments on commit feae5d4

Please sign in to comment.