Skip to content

Commit

Permalink
style: clear robots button
Browse files Browse the repository at this point in the history
  • Loading branch information
azaleacolburn committed Dec 12, 2024
1 parent a23e6f4 commit 472ba89
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
Binary file modified bun.lockb
Binary file not shown.
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"dev": "vite dev --port 3020",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
Expand Down Expand Up @@ -35,14 +35,12 @@
},
"dependencies": {
"autoprefixer": "^10.4.20",
"mysql2": "^3.11.4",
"lucide-svelte": "^0.460.1",
"pg": "^8.13.1",
"postgresql": "^0.0.1",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1",
"tailwindcss": "^3.4.14",
"typescript-eslint": "^8.14.0",
"vite": "^5.4.11",
"lucide-svelte": "^0.460.1",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1"
"vite": "^5.4.11"
}
}
5 changes: 4 additions & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="flamingChicken.png" />
<meta name="viewport" content="width=device-width" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
Expand Down
8 changes: 3 additions & 5 deletions src/routes/admin/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,9 @@
</div>
</div>
<div class="mt-4 grid grid-cols-1 grid-rows-10 place-items-center gap-4 text-xl">
<div class="row-span-2 grid grid-cols-2 grid-rows-1">
<h1>Queued Robots</h1>
<button class="rounded border p-2 text-center" onclick={clear_robots}
>Clear Robots</button
>
<div class="row-span-2 grid grid-cols-2 grid-rows-1 gap-2 text-center">
<h1 class="p-2">Queued Robots</h1>
<button class="rounded border p-2" onclick={clear_robots}>Clear Robots</button>
</div>
<div class="row-span-8 grid grid-cols-1 grid-rows-8 gap-2">
{#each robot_queue as robot}
Expand Down

0 comments on commit 472ba89

Please sign in to comment.