Nouvelle homepage epuree : 5 colonnes, plus de description/stats/footer
This commit is contained in:
+3
-14
@@ -99,20 +99,9 @@ body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;b
|
||||
<div id="cmds"></div>
|
||||
</div>
|
||||
<div id="home">
|
||||
<div style="text-align:center;margin:32px 0 24px">
|
||||
<h2 style="font-size:24px;font-weight:700;margin-bottom:8px">SysCmd</h2>
|
||||
<p style="font-size:13px;color:var(--txt);max-width:480px;margin:0 auto">Multi-platform command reference. Click an OS to browse its commands.</p>
|
||||
<div style="margin-top:12px;display:flex;justify-content:center;gap:12px;font-size:11px;color:var(--muted)">
|
||||
<span style="display:flex;align-items:center;gap:4px"><span class="dg" style="display:inline-block;vertical-align:middle"></span> Available data</span>
|
||||
<span style="display:flex;align-items:center;gap:4px"><span class="do" style="display:inline-block;vertical-align:middle"></span> Category</span>
|
||||
<span style="display:flex;align-items:center;gap:4px"><span class="dgr" style="display:inline-block;vertical-align:middle"></span> Pending</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:grid;grid-template-columns:repeat(5,1fr);gap:6px" id="grid"></div>
|
||||
<div id="gs" style="display:none;margin-bottom:24px"></div>
|
||||
<div id="stats-row" style="display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px"></div>
|
||||
<div id="grid" style="display:grid;grid-template-columns:repeat(4,1fr);gap:8px"></div>
|
||||
</div>
|
||||
<div style="margin-top:16px;text-align:center;font-size:11px;color:var(--muted)" id="fh">Click a command to copy</div>
|
||||
</div>
|
||||
<script>
|
||||
"use strict";
|
||||
@@ -292,8 +281,8 @@ function S(n){
|
||||
|
||||
function SH(){N=null;MS=null;RT();$('search').value='';
|
||||
$('home').style.display='block';$('tabs').style.display='none';$('stats-bar').style.display='none';$('cmd-box').style.display='none';
|
||||
$('bd').innerHTML='';$('os-title').textContent='SysCmd';$('os-sub').textContent='';$('fh').textContent='Click a command to copy';RH()}
|
||||
function HI(){$('home').style.display='none';$('tabs').style.display='flex';$('stats-bar').style.display='flex';$('cmd-box').style.display='block';$('fh').textContent='Click a command to copy'}
|
||||
$('bd').innerHTML='';$('os-title').textContent='SysCmd';$('os-sub').textContent='';RCS()}
|
||||
function HI(){$('home').style.display='none';$('tabs').style.display='flex';$('stats-bar').style.display='flex';$('cmd-box').style.display='block'}
|
||||
|
||||
function RH(){RS();RCS()}
|
||||
function RS(){
|
||||
|
||||
Reference in New Issue
Block a user