mirror of
https://github.com/pyscript/pyscript.git
synced 2022-05-01 19:47:48 +03:00
improve some of the demos font and removes repr for when objects are outputted to a div
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<link rel="stylesheet" href="build/pyscript.css" />
|
||||
</head>
|
||||
|
||||
<body class="container">
|
||||
<body class="container font-mono">
|
||||
|
||||
<h1 class="text-3xl font-bold">PyScript demos</h1>
|
||||
<hr/>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="outputDiv" style="background-color:yellow"></div>
|
||||
<div id="outputDiv" class="font-mono" style="background-color:yellow"></div>
|
||||
<py-script target="outputDiv">
|
||||
from datetime import datetime
|
||||
now = datetime.now()
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
<title>Svelte app</title>
|
||||
|
||||
<link rel="icon" type="image/png" href="favicon.png" />
|
||||
<link rel="stylesheet" href="../build/bundle.css" />
|
||||
<link rel="stylesheet" href="../build/pyscript.css" />
|
||||
|
||||
<script defer src="../build/pyscript.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="outputDiv"></div>
|
||||
<div id="outputDiv2" style="background-color: blueviolet"></div>
|
||||
<div id="outputDiv3" style="background-color: yellow"></div>
|
||||
<div class="font-mono">start time: <label id="outputDiv"></label></div>
|
||||
<div id="outputDiv2" class="font-mono"></div>
|
||||
<div id="outputDiv3" class="font-mono"></div>
|
||||
<py-script target="outputDiv">
|
||||
from datetime import datetime
|
||||
now = datetime.now()
|
||||
|
||||
Reference in New Issue
Block a user