99 lines
3.7 KiB
HTML
99 lines
3.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>W3.CSS</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
|
<body class="w3-dark-grey">
|
|
|
|
<div class="w3-sidebar w3-bar-block w3-dark-grey w3-card" style="width:140px">
|
|
<p></p>
|
|
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Colorizer')">Colorizer</button>
|
|
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Openbox')">Openbox Theme</button>
|
|
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Jgmenu')">Menu / Sidepanels</button>
|
|
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Conky')">Conky</button>
|
|
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Tint2')">Tint2 Panel</button>
|
|
<button class="w3-bar-item w3-button w3-tiny tablink" onclick="openTab(event, 'Icons')">Icons</button>
|
|
|
|
</div>
|
|
|
|
<div style="margin-left:140px">
|
|
|
|
<section id="Colorizer" class="w3-container tab w3-display-container" style="min-height:100vh;">
|
|
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer -s">Launch Colorizer</a>
|
|
<div class="w3-padding w3-display-middle w3-center">
|
|
<img src="/usr/share/mabox-colorizer/img/colorizer.png" />
|
|
<h2>Mabox Colorizer</h2>
|
|
<p>a tool to easily customize your Mabox Linux Desktop</p>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
<section id="Openbox" class="w3-container tab" style="display:none;min-height:100vh;">
|
|
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-ob -s">Launch OBtheme module</a>
|
|
<h2>Openbox theme</h2>
|
|
|
|
</section>
|
|
|
|
<section id="Jgmenu" class="w3-container tab" style="display:none;min-height:100vh">
|
|
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-menus -s">Launch Menus module</a>
|
|
<h2>Menu / Sidepanels</h2>
|
|
|
|
</section>
|
|
|
|
<section id="Conky" class="w3-container tab" style="display:none;min-height:100vh;">
|
|
<a class="w3-button w3-round w3-tiny w3-lime w3-margin w3-display-topright" href="run://colorizer-conky -s">Launch Conky module</a>
|
|
<h2>Conky</h2>
|
|
</section>
|
|
<section id="Tint2" class="w3-container tab" style="display:none;min-height:100vh;">
|
|
<h2>Panel Tint2</h2>
|
|
<p>Colorizer module for Tint2 panel is not available yet - planned</p>
|
|
<p>Use quite powerfull Tint2 config menu for now.</p>
|
|
<p><a class="w3-button w3-inline w3-round w3-tiny w3-lime" href="run://jgtint2-pipe -s">tint2 config menu</a></p>
|
|
</section>
|
|
<section id="Icons" class="w3-container tab" style="display:none;min-height:100vh;">
|
|
<h2>Icons</h2>
|
|
<p>Not available yet - planned</p>
|
|
<p></p>
|
|
</section>
|
|
|
|
|
|
</div>
|
|
|
|
<script>
|
|
function openTab(evt, tabName) {
|
|
var i, x, tablinks;
|
|
x = document.getElementsByClassName("tab");
|
|
for (i = 0; i < x.length; i++) {
|
|
x[i].style.display = "none";
|
|
}
|
|
tablinks = document.getElementsByClassName("tablink");
|
|
for (i = 0; i < x.length; i++) {
|
|
tablinks[i].className = tablinks[i].className.replace(" w3-gray", "");
|
|
}
|
|
document.getElementById(tabName).style.display = "block";
|
|
evt.currentTarget.className += " w3-gray";
|
|
}
|
|
function myFunction() {
|
|
var input, filter, table, tr, td, i;
|
|
input = document.getElementById("myInput");
|
|
filter = input.value.toUpperCase();
|
|
table = document.getElementById("myTable");
|
|
tr = table.getElementsByTagName("tr");
|
|
for (i = 0; i < tr.length; i++) {
|
|
td = tr[i].getElementsByTagName("td")[0];
|
|
if (td) {
|
|
txtValue = td.textContent || td.innerText;
|
|
if (txtValue.toUpperCase().indexOf(filter) > -1) {
|
|
tr[i].style.display = "";
|
|
} else {
|
|
tr[i].style.display = "none";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|