askrobots / dbbasic Public

Model-config web apps: describe the app in configuration instead of writing code. Built on Polars and DuckDB.

0 downloads

dbbasic/static/marketplace.html
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 Add DBBasic crate engine logo and update README 0d628db 1 year, 2 months ago History
marketplace.html · 7.5 KB · 44 lines
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Component Marketplace - DBBasic</title>
7 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
8 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css">
9
10 <style>
11 .card { transition: transform 0.3s; }
12 .card:hover { transform: translateY(-5px); }
13 </style>
14</head>
15<body>
16
17 <nav class="navbar navbar-expand-lg navbar-light bg-light">
18 <div class="container-fluid">
19 <a class="navbar-brand" href="#">DBBasic</a>
20 <div class="navbar-nav ms-auto">
21 <a class="nav-link" href="http://localhost:8004">Monitor</a> <a class="nav-link" href="http://localhost:8005">Data</a> <a class="nav-link" href="http://localhost:8003">AI Services</a> <a class="nav-link" href="http://localhost:8006">Event Store</a> <a class="nav-link" href="http://localhost:8005/templates">Templates</a>
22 </div>
23 </div>
24 </nav><div class="container-fluid"><div class="container">
25 <nav aria-label="breadcrumb">
26 <ol class="breadcrumb">
27 <li class="breadcrumb-item"><a href="/">DBBasic</a></li><li class="breadcrumb-item active">marketplace</li>
28 </ol>
29 </nav>
30 </div></div><div class="container-fluid">
31 <div class="bg-primary text-white text-center py-5">
32 <div class="container">
33 <h1 class="display-4">🎨 Component Marketplace</h1>
34 <p class="lead">Reusable UI components for rapid development</p>
35 </div>
36 </div><div class="alert alert-info">Browse 8 pre-built components across 8 categories</div>{'type': 'div', 'children': [{'type': 'h2', 'text': 'Navigation'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Unified Navigation', 'description': 'DBBasic unified navigation with service links', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('unified-nav')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('unified-nav')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Heroes'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Gradient Hero Section', 'description': 'Eye-catching hero with gradient background', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('gradient-hero')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('gradient-hero')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Cards'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Service Status Card', 'description': 'Card showing service status and metrics', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('service-card')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('service-card')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Forms'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'User Registration Form', 'description': 'Complete user registration form with validation', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('user-registration')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('user-registration')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Tables'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Interactive Data Table', 'description': 'Sortable, filterable data table', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('data-table')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('data-table')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Dashboards'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Metrics Dashboard', 'description': 'Real-time metrics dashboard with 4 KPIs', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('metrics-dashboard')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('metrics-dashboard')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Charts'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Line Chart Component', 'description': 'Interactive line chart with real-time updates', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('line-chart')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('line-chart')"}]}]}}]}]}{'type': 'div', 'children': [{'type': 'h2', 'text': 'Layouts'}, {'type': 'grid', 'columns': 2, 'items': [{'type': 'card', 'title': 'Two Column Layout', 'description': 'Responsive two-column layout', 'footer': {'type': 'div', 'children': [{'type': 'small', 'text': 'v1.0.0 by DBBasic Team'}, {'type': 'button_group', 'class': 'mt-2', 'buttons': [{'text': 'Use', 'variant': 'primary', 'size': 'sm', 'onclick': "useComponent('two-column-layout')"}, {'text': 'Preview', 'variant': 'info', 'size': 'sm', 'onclick': "previewComponent('two-column-layout')"}]}]}}]}]}</div><div class="container-fluid"><div class="container">{'type': 'row', 'children': [{'type': 'col', 'size': 4, 'children': ['<h5>DBBasic</h5>', '<p class="text-muted">Config-driven application platform</p>']}, {'type': 'col', 'size': 4, 'children': ['<h6>Services</h6>', {'type': 'list', 'class': 'list-unstyled', 'items': ['<a href="http://localhost:8004" class="text-muted">Monitor</a>', '<a href="http://localhost:8005" class="text-muted">Data</a>', '<a href="http://localhost:8003" class="text-muted">AI Services</a>', '<a href="http://localhost:8006" class="text-muted">Event Store</a>', '<a href="http://localhost:8005" class="text-muted">Templates</a>']}]}, {'type': 'col', 'size': 4, 'children': ['<h6>Performance</h6>', '<p class="text-muted">🚀 402M rows/sec with DuckDB</p>', '<p class="text-muted">⚡ Post-Code Era</p>', '<p class="text-muted">🤖 AI-Enhanced</p>']}]}<hr class="border-secondary"><p class="text-center text-muted mb-0">© 2024 DBBasic - Everything is Data</p></div></div>
37 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
38
39 <script>
40 function deployTemplate(id) { alert('Deploying: ' + id); }
41 function previewTemplate(id) { alert('Preview: ' + id); }
42 </script>
43</body>
44</html>