Add new quiz button and refine UI
This commit is contained in:
parent
931ba4ec68
commit
6e83b4323c
2 changed files with 265 additions and 210 deletions
|
@ -1,99 +1,118 @@
|
|||
<script lang='ts'>
|
||||
// The ordering of these imports is critical to your app working properly
|
||||
import '@skeletonlabs/skeleton/themes/theme-skeleton.css';
|
||||
// If you have source.organizeImports set to true in VSCode, then it will auto change this ordering
|
||||
import '@skeletonlabs/skeleton/styles/skeleton.css';
|
||||
// Most of your app wide CSS should be put in this file
|
||||
import '../app.postcss';
|
||||
import { AppShell, AppBar, AppRail, AppRailTile, AppRailAnchor } from '@skeletonlabs/skeleton';
|
||||
// The ordering of these imports is critical to your app working properly
|
||||
import '@skeletonlabs/skeleton/themes/theme-skeleton.css';
|
||||
// If you have source.organizeImports set to true in VSCode, then it will auto change this ordering
|
||||
import '@skeletonlabs/skeleton/styles/skeleton.css';
|
||||
// Most of your app wide CSS should be put in this file
|
||||
import '../app.postcss';
|
||||
import { AppShell, AppBar, AppRail, AppRailTile, AppRailAnchor } from '@skeletonlabs/skeleton';
|
||||
|
||||
let currentTile;
|
||||
let currentTile;
|
||||
</script>
|
||||
|
||||
<!-- App Shell -->
|
||||
<AppShell>
|
||||
<svelte:fragment slot="header">
|
||||
<!-- App Bar -->
|
||||
<AppBar>
|
||||
<svelte:fragment slot="lead">
|
||||
<strong class="text-xl uppercase">Probo</strong>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="trail">
|
||||
<a
|
||||
class="btn btn-sm variant-ghost-surface"
|
||||
href="https://discord.gg/EXqV7W8MtY"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
|
||||
</svg>
|
||||
<svelte:fragment slot="header">
|
||||
<!-- App Bar -->
|
||||
<AppBar>
|
||||
<svelte:fragment slot="lead">
|
||||
<span class="mr-2">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-10 h-10">
|
||||
<path d="M11.7 2.805a.75.75 0 01.6 0A60.65 60.65 0 0122.83 8.72a.75.75 0 01-.231 1.337 49.949 49.949 0 00-9.902 3.912l-.003.002-.34.18a.75.75 0 01-.707 0A50.009 50.009 0 007.5 12.174v-.224c0-.131.067-.248.172-.311a54.614 54.614 0 014.653-2.52.75.75 0 00-.65-1.352 56.129 56.129 0 00-4.78 2.589 1.858 1.858 0 00-.859 1.228 49.803 49.803 0 00-4.634-1.527.75.75 0 01-.231-1.337A60.653 60.653 0 0111.7 2.805z" />
|
||||
<path d="M13.06 15.473a48.45 48.45 0 017.666-3.282c.134 1.414.22 2.843.255 4.285a.75.75 0 01-.46.71 47.878 47.878 0 00-8.105 4.342.75.75 0 01-.832 0 47.877 47.877 0 00-8.104-4.342.75.75 0 01-.461-.71c.035-1.442.121-2.87.255-4.286A48.4 48.4 0 016 13.18v1.27a1.5 1.5 0 00-.14 2.508c-.09.38-.222.753-.397 1.11.452.213.901.434 1.346.661a6.729 6.729 0 00.551-1.608 1.5 1.5 0 00.14-2.67v-.645a48.549 48.549 0 013.44 1.668 2.25 2.25 0 002.12 0z" />
|
||||
<path d="M4.462 19.462c.42-.419.753-.89 1-1.394.453.213.902.434 1.347.661a6.743 6.743 0 01-1.286 1.794.75.75 0 11-1.06-1.06z" />
|
||||
</svg>
|
||||
</span>
|
||||
<strong class="text-xl uppercase">Probo</strong>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="trail">
|
||||
<a
|
||||
class="btn btn-sm variant-ghost-surface"
|
||||
href="https://discord.gg/EXqV7W8MtY"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
|
||||
</svg>
|
||||
|
||||
<span>Search</span>
|
||||
</a>
|
||||
</svelte:fragment>
|
||||
</AppBar>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="sidebarLeft">
|
||||
<AppRail>
|
||||
<span>Search</span>
|
||||
</a>
|
||||
</svelte:fragment>
|
||||
</AppBar>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="sidebarLeft">
|
||||
<AppRail background="bg-surface-50-900-token">
|
||||
|
||||
<AppRailTile bind:group={currentTile} name="tile-1" value={0} title="tile-1">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Quizzes</span>
|
||||
</AppRailTile>
|
||||
<AppRailTile bind:group={currentTile} name="tile-1" value={0} title="tile-1">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Quizzes</span>
|
||||
</AppRailTile>
|
||||
|
||||
<AppRailTile bind:group={currentTile} name="tile-2" value={1} title="tile-2">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Notes</span>
|
||||
</AppRailTile>
|
||||
<AppRailTile bind:group={currentTile} name="tile-2" value={1} title="tile-2">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Notes</span>
|
||||
</AppRailTile>
|
||||
|
||||
<AppRailTile bind:group={currentTile} name="groups" value={2} title="Groups">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Groups</span>
|
||||
</AppRailTile>
|
||||
<AppRailTile bind:group={currentTile} name="groups" value={2} title="Groups">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Groups</span>
|
||||
</AppRailTile>
|
||||
|
||||
<AppRailTile bind:group={currentTile} name="groups" value={3} title="Settings">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 011.37.49l1.296 2.247a1.125 1.125 0 01-.26 1.431l-1.003.827c-.293.24-.438.613-.431.992a6.759 6.759 0 010 .255c-.007.378.138.75.43.99l1.005.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 01-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.57 6.57 0 01-.22.128c-.331.183-.581.495-.644.869l-.213 1.28c-.09.543-.56.941-1.11.941h-2.594c-.55 0-1.02-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 01-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 01-1.369-.49l-1.297-2.247a1.125 1.125 0 01.26-1.431l1.004-.827c.292-.24.437-.613.43-.992a6.932 6.932 0 010-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 01-.26-1.43l1.297-2.247a1.125 1.125 0 011.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Settings</span>
|
||||
</AppRailTile>
|
||||
<AppRailTile bind:group={currentTile} name="tags" value={4} title="Tags">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9.568 3H5.25A2.25 2.25 0 003 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 005.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 009.568 3z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M6 6h.008v.008H6V6z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Tags</span>
|
||||
</AppRailTile>
|
||||
|
||||
<svelte:fragment slot="trail">
|
||||
<AppRailAnchor href="/" target="_blank" title="Exit">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M5.636 5.636a9 9 0 1012.728 0M12 3v9" />
|
||||
</svg>
|
||||
</div>
|
||||
</AppRailAnchor>
|
||||
</svelte:fragment>
|
||||
<AppRailTile bind:group={currentTile} name="settings" value={3} title="Settings">
|
||||
<svelte:fragment slot="lead">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 011.37.49l1.296 2.247a1.125 1.125 0 01-.26 1.431l-1.003.827c-.293.24-.438.613-.431.992a6.759 6.759 0 010 .255c-.007.378.138.75.43.99l1.005.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 01-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.57 6.57 0 01-.22.128c-.331.183-.581.495-.644.869l-.213 1.28c-.09.543-.56.941-1.11.941h-2.594c-.55 0-1.02-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 01-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 01-1.369-.49l-1.297-2.247a1.125 1.125 0 01.26-1.431l1.004-.827c.292-.24.437-.613.43-.992a6.932 6.932 0 010-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 01-.26-1.43l1.297-2.247a1.125 1.125 0 011.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
<span>Settings</span>
|
||||
</AppRailTile>
|
||||
|
||||
</AppRail>
|
||||
</svelte:fragment>
|
||||
<!-- Page Route Content -->
|
||||
<slot />
|
||||
<svelte:fragment slot="trail">
|
||||
<AppRailAnchor href="/" target="_blank" title="Exit">
|
||||
<div class="flex justify-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M5.636 5.636a9 9 0 1012.728 0M12 3v9" />
|
||||
</svg>
|
||||
</div>
|
||||
</AppRailAnchor>
|
||||
</svelte:fragment>
|
||||
|
||||
</AppRail>
|
||||
</svelte:fragment>
|
||||
<!-- Page Route Content -->
|
||||
<slot />
|
||||
</AppShell>
|
||||
|
|
|
@ -2,130 +2,166 @@
|
|||
|
||||
<div class="h-full flex flex-col">
|
||||
|
||||
<div class="card p-4 m-4 font-heading-token">
|
||||
<header class="p-3 flex justify-end">
|
||||
<span class="badge variant-filled"><h1 class="text-xs">1ad25d0000</h1></span>
|
||||
</header>
|
||||
<hr class="opacity-50" />
|
||||
<p class="p-4">
|
||||
Per intensità di corrente elettrica si intende
|
||||
</p>
|
||||
<form id="question1">
|
||||
<div class="space-y-2 p-4">
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" checked name="radio-direct" value="1" />
|
||||
<p>La quantità di carica che scorre in un circuito per unità di tempo</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="2" />
|
||||
<p>La differenza di potenziale elettrico</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>La quantità di carica elettrica</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>L'accelerazione a cui sono sottoposti gli elettroni all'interno del circuito</p>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
<hr class="opacity-50" />
|
||||
<footer class="p-3 flex justify-start items-center space-x-4">
|
||||
<div class="flex-auto flex gap-1">
|
||||
<span class="badge chip variant-filled-tertiary">#corrente</span>
|
||||
<span class="badge chip variant-filled-tertiary">#quinte</span>
|
||||
<span class="badge chip variant-filled-tertiary">#circuiti</span>
|
||||
</div>
|
||||
<div class="flex-auto flex justify-end">
|
||||
<small>Created on {new Date().toLocaleDateString()}</small>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<button type="button" class="btn sticky top-0 mt-4 mx-4 variant-ghost-secondary">
|
||||
<span><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span>Add a new quiz</span>
|
||||
</button>
|
||||
|
||||
<div class="card p-4 m-4 font-heading-token">
|
||||
<header class="p-3 flex justify-end">
|
||||
<span class="badge variant-filled"><h1 class="text-xs">1ad25d0000</h1></span>
|
||||
</header>
|
||||
<hr class="opacity-50" />
|
||||
<p class="p-4">
|
||||
Affinché in un circuito possa circolare corrente continua, il generatore di tensione
|
||||
</p>
|
||||
<form id="question_2">
|
||||
<div class="space-y-2 p-4">
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" checked name="radio-direct" value="1" />
|
||||
<p>Fornisce una potenza pari a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="2" />
|
||||
<p>Fornisce una potenza minore a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Rallenta le cariche elettriche</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Dev'essere spento</p>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
<div class="card p-4 my-3 mx-4 font-heading-token">
|
||||
<header class="p-3">
|
||||
<div class="flex justify-between">
|
||||
<div>
|
||||
<button type="button" class="btn-icon variant-filled-primary">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
|
||||
</svg>
|
||||
</button>
|
||||
<button type="button" class="btn-icon variant-filled-error">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<span class="badge variant-ghost-secondary"><h1 class="text-xs">1ad25d0000…</h1></span>
|
||||
</div>
|
||||
</header>
|
||||
<hr class="opacity-50" />
|
||||
<p class="p-4">
|
||||
Per intensità di corrente elettrica si intende
|
||||
</p>
|
||||
<form id="question1">
|
||||
<div class="space-y-2 p-4">
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" checked name="radio-direct" value="1" />
|
||||
<p>La quantità di carica che scorre in un circuito per unità di tempo</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="2" />
|
||||
<p>La differenza di potenziale elettrico</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>La quantità di carica elettrica</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>L'accelerazione a cui sono sottoposti gli elettroni all'interno del circuito</p>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
<hr class="opacity-50" />
|
||||
<footer class="p-3 flex justify-start items-center space-x-4">
|
||||
<div class="flex-auto flex gap-1">
|
||||
<span class="badge chip variant-filled-tertiary">#corrente</span>
|
||||
<span class="badge chip variant-filled-tertiary">#quinte</span>
|
||||
<span class="badge chip variant-filled-tertiary">#circuiti</span>
|
||||
</div>
|
||||
<div class="flex-auto flex justify-end">
|
||||
<small>Created on {new Date().toLocaleDateString()}</small>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<hr class="opacity-50" />
|
||||
<div class="card p-4 m-4 font-heading-token">
|
||||
<header class="p-3">
|
||||
<div class="flex justify-between">
|
||||
<div>
|
||||
<button type="button" class="btn-icon variant-filled-primary">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10" />
|
||||
</svg>
|
||||
</button>
|
||||
<button type="button" class="btn-icon variant-filled-error">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-4 h-4">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<span class="badge variant-ghost-secondary"><h1 class="text-xs">1ad25d0000…</h1></span>
|
||||
</div>
|
||||
</header>
|
||||
<hr class="opacity-50" />
|
||||
<p class="p-4">
|
||||
Affinché in un circuito possa circolare corrente continua, il generatore di tensione
|
||||
</p>
|
||||
<form id="question_2">
|
||||
<div class="space-y-2 p-4">
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" checked name="radio-direct" value="1" />
|
||||
<p>Fornisce una potenza pari a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="2" />
|
||||
<p>Fornisce una potenza minore a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Rallenta le cariche elettriche</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Dev'essere spento</p>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<footer class="p-3 flex justify-start items-center space-x-4">
|
||||
<div class="flex-auto flex gap-1">
|
||||
<span class="badge chip variant-filled-tertiary">#corrente</span>
|
||||
<span class="badge chip variant-filled-tertiary">#quinte</span>
|
||||
<span class="badge chip variant-filled-tertiary">#circuiti</span>
|
||||
</div>
|
||||
<div class="flex-auto flex justify-end">
|
||||
<small>Created on {new Date().toLocaleDateString()}</small>
|
||||
</div>
|
||||
<hr class="opacity-50" />
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
<footer class="p-3 flex justify-start items-center space-x-4">
|
||||
<div class="flex-auto flex gap-1">
|
||||
<span class="badge chip variant-filled-tertiary">#corrente</span>
|
||||
<span class="badge chip variant-filled-tertiary">#quinte</span>
|
||||
<span class="badge chip variant-filled-tertiary">#circuiti</span>
|
||||
</div>
|
||||
<div class="flex-auto flex justify-end">
|
||||
<small>Created on {new Date().toLocaleDateString()}</small>
|
||||
</div>
|
||||
|
||||
<div class="card p-4 m-4 font-heading-token">
|
||||
<header class="p-3 flex justify-end">
|
||||
<span class="badge variant-filled"><h1 class="text-xs">1ad25d0000</h1></span>
|
||||
</header>
|
||||
<hr class="opacity-50" />
|
||||
<p class="p-4">
|
||||
Affinché in un circuito possa circolare corrente continua, il generatore di tensione
|
||||
</p>
|
||||
<form id="question_2">
|
||||
<div class="space-y-2 p-4">
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" checked name="radio-direct" value="1" />
|
||||
<p>Fornisce una potenza pari a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="2" />
|
||||
<p>Fornisce una potenza minore a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Rallenta le cariche elettriche</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Dev'essere spento</p>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
<footer class="p-3 flex justify-start items-center space-x-4">
|
||||
<div class="flex-auto flex gap-1">
|
||||
<span class="badge chip variant-filled-tertiary">#corrente</span>
|
||||
<span class="badge chip variant-filled-tertiary">#quinte</span>
|
||||
<span class="badge chip variant-filled-tertiary">#circuiti</span>
|
||||
</div>
|
||||
<div class="flex-auto flex justify-end">
|
||||
<small>Created on {new Date().toLocaleDateString()}</small>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<div class="card p-4 m-4 font-heading-token">
|
||||
<header class="p-3 flex justify-end">
|
||||
<span class="badge variant-ghost-secondary"><h1 class="text-xs">1ad25d0000…</h1></span>
|
||||
</header>
|
||||
<hr class="opacity-50" />
|
||||
<p class="p-4">
|
||||
Affinché in un circuito possa circolare corrente continua, il generatore di tensione
|
||||
</p>
|
||||
<form id="question_2">
|
||||
<div class="space-y-2 p-4">
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" checked name="radio-direct" value="1" />
|
||||
<p>Fornisce una potenza pari a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="2" />
|
||||
<p>Fornisce una potenza minore a quella dissipata per effetto Joule</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Rallenta le cariche elettriche</p>
|
||||
</label>
|
||||
<label class="flex items-center space-x-2">
|
||||
<input class="radio" type="radio" name="radio-direct" value="3" />
|
||||
<p>Dev'essere spento</p>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
<footer class="p-3 flex justify-start items-center space-x-4">
|
||||
<div class="flex-auto flex gap-1">
|
||||
<span class="badge chip variant-filled-tertiary">#corrente</span>
|
||||
<span class="badge chip variant-filled-tertiary">#quinte</span>
|
||||
<span class="badge chip variant-filled-tertiary">#circuiti</span>
|
||||
</div>
|
||||
<div class="flex-auto flex justify-end">
|
||||
<small>Created on {new Date().toLocaleDateString()}</small>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue