Skip to content

Commit 02e663f

Browse files
committed
Add EFI Entry Manager in bigbashview screen
1 parent 50b42ed commit 02e663f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

usr/share/bigbashview/apps/calamares/index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
bottom: 15;
2323
border-radius: 9px;
2424
background: var(--background);
25-
opacity: 0.8;
25+
opacity: 0.9;
2626
z-index: -1;
2727
}
2828

@@ -91,6 +91,15 @@
9191
<?include bash echo ${XDG_SESSION_TYPE^}.?>
9292
</p>
9393
</nav>
94+
95+
<!-- Using x-show from alpinejs to only show EFI Entry Manager if system running in EFI mode -->
96+
<div x-show="<?include bash [ -d /sys/firmware/efi ] && echo 'true' || echo 'false'?>" class="center-align no-padding">
97+
<nav class="center-align">
98+
<p stonejs>Manage EFI entries on the motherboard (NVRAM):</p>
99+
<button :class="buttonClass" @click="_run('sudo QEFIEntryManager')" stonejs>EFI Entry Manager</button>
100+
</nav>
101+
</div>
102+
94103
<div class="center-align large-padding">
95104
<a onclick="_run('xdg-open https://forum.biglinux.com.br')" stonejs>This is a collaborative system, if you need help consult our forum: https://forum.biglinux.com.br.</a>
96105
</div>
@@ -151,10 +160,6 @@
151160
</div>
152161
</div>
153162
</main>
154-
155-
156-
157-
158-
163+
159164
</body>
160165
</html>

0 commit comments

Comments
 (0)