nd56b143f97d2 / _sheet.html
insagur's picture
Add files using upload-large-folder tool
806019e verified
Raw
History Blame Contribute Delete
2.12 kB
<!DOCTYPE html><html><head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsuites@4/dist/jsuites.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jspreadsheet-ce@4/dist/jspreadsheet.css">
<script src="https://cdn.jsdelivr.net/npm/jsuites@4/dist/jsuites.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jspreadsheet-ce@4/dist/index.js"></script>
<style>
body{margin:0;font-family:'DejaVu Sans',sans-serif;background:linear-gradient(160deg,#2e163a,#8c462d);height:100vh}
.topbar{height:30px;background:#18181b;color:#ddd;font-size:13px;line-height:30px;padding:0 14px}
.win{position:absolute;left:150px;top:110px;width:1500px;background:#fff;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.5);overflow:hidden}
.title{height:40px;background:#3a3442;color:#eee;display:flex;align-items:center;padding:0 14px;font-size:15px;font-weight:bold}
.dot{width:13px;height:13px;border-radius:50%;margin-right:8px;display:inline-block}
.tb{height:38px;background:#f1f1f4;border-bottom:1px solid #ddd;display:flex;align-items:center;gap:6px;padding:0 12px;font-size:14px;color:#444}
.tb b{border:1px solid #ccc;background:#fff;border-radius:5px;padding:3px 9px}
.body{padding:10px}
</style></head>
<body>
<div class="topbar">Activities &nbsp;&nbsp; Sheets &nbsp;&nbsp;&nbsp; en 12:00</div>
<div class="win">
<div class="title"><span class="dot" style="background:#ff5f56"></span><span class="dot" style="background:#ffbd2e"></span><span class="dot" style="background:#27c93f"></span>&nbsp; Sheets — Budget.xlsx</div>
<div class="tb"><b>File</b><b>Edit</b><b>Insert</b><b>Format</b>&nbsp;|&nbsp;<b>B</b><b><i>I</i></b><b></b><b>%</b><b>Σ</b></div>
<div class="body"><div id="ss"></div></div>
</div>
<script>window.addEventListener('load',function(){
jspreadsheet(document.getElementById('ss'),{data:[["Name", "Math", "Sci", "Eng"], ["Alice", "91", "88", "79"], ["Bob", "77", "82", "90"], ["Cara", "88", "95", "84"], ["Dan", "63", "70", "72"]],
columns:[{width:300},{width:180},{width:180},{width:180}], tableWidth:'860px'});
document.title='ready';
});</script></body></html>