Add HTML templates for all tools
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build-package (push) Has been cancelled
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build-package (push) Has been cancelled
This commit is contained in:
84
devterm/templates/base.html
Normal file
84
devterm/templates/base.html
Normal file
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Devterm - Developer Utilities</title>
|
||||
<style>
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
||||
min-height: 100vh;
|
||||
color: #fff;
|
||||
}
|
||||
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
|
||||
header {
|
||||
text-align: center;
|
||||
padding: 2rem 0;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.1);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
background: linear-gradient(90deg, #00d4ff, #7c3aed);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
.subtitle { color: #94a3b8; }
|
||||
.tools-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 1.5rem;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
.tool-card {
|
||||
background: rgba(255,255,255,0.05);
|
||||
border: 1px solid rgba(255,255,255,0.1);
|
||||
border-radius: 12px;
|
||||
padding: 1.5rem;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.tool-card:hover {
|
||||
transform: translateY(-5px);
|
||||
background: rgba(255,255,255,0.1);
|
||||
border-color: #00d4ff;
|
||||
}
|
||||
.tool-card h3 { margin-bottom: 0.5rem; color: #00d4ff; }
|
||||
.tool-card p { color: #94a3b8; font-size: 0.9rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>Devterm</h1>
|
||||
<p class="subtitle">Developer Utilities Suite</p>
|
||||
</header>
|
||||
<div class="tools-grid">
|
||||
<a href="/json" class="tool-card">
|
||||
<h3>JSON Formatter</h3>
|
||||
<p>Format and validate JSON data</p>
|
||||
</a>
|
||||
<a href="/jwt" class="tool-card">
|
||||
<h3>JWT Decoder</h3>
|
||||
<p>Decode and inspect JWT tokens</p>
|
||||
</a>
|
||||
<a href="/cron" class="tool-card">
|
||||
<h3>Cron Validator</h3>
|
||||
<p>Validate cron expressions</p>
|
||||
</a>
|
||||
<a href="/base64" class="tool-card">
|
||||
<h3>Base64 Tool</h3>
|
||||
<p>Encode and decode Base64</p>
|
||||
</a>
|
||||
<a href="/url" class="tool-card">
|
||||
<h3>URL Encoder</h3>
|
||||
<p>Encode and decode URLs</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user