Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/repl.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>REPL</title>

<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript_base.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion examples/repl2.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<body>
<h1 class="font-semibold text-2xl ml-5">Custom REPL</h1>
<py-box widths="1/2;1/2">
<py-box widths="2/3;1/3">
<py-repl id="my-repl" auto-generate="true" std-out="output" std-err="err-div"> </py-repl>
<div id="output" class="p-4"></div>
</py-box>
Expand Down
8 changes: 4 additions & 4 deletions examples/todo.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
<!-- <py-repl id="my-repl" auto-generate="true"> </py-repl> -->
<py-script src="./todo.py"> </py-script>

<main class="max-w-xs mx-auto mt-4">
<main>
<section>

<div class="text-center w-full mb-8">
<h1 class="text-3xl font-bold text-gray-800 uppercase tracking-tight">To Do List</h1>
</div>
<div>
<input id="new-task-content" class="border flex-1 mr-3 border-gray-300 p-2 rounded" type="text">
<button id="new-task-btn" class="p-2 text-white bg-blue-600 border border-blue-600 rounded" type="submit" pys-onClick="add_task">
<input id="new-task-content" class="py-input" type="text">
<button id="new-task-btn" class="py-button" type="submit" pys-onClick="add_task">
Add task
</button>
</div>
Expand All @@ -38,7 +38,7 @@ <h1 class="text-3xl font-bold text-gray-800 uppercase tracking-tight">To Do List
</div>

<template id="task-template">
<section class="task bg-white my-1">
<section class="task py-li-element">
<label for="flex items-center p-2 ">
<input class="mr-2" type="checkbox" class="task-check">
<p class="m-0 inline"></p>
Expand Down
Loading