app.py
: server.index.html
:
run.py
: run the server on colab
server.ipynb
: ipynb ofapp.py
(mistakenly created but not used.)
add.html
:index.html
view.html
:calendar.html
:
new
: usefullcalendar
by setting src with URLnew2
: usefullcalendar
by downloading the two URL files previously and put them tolib
dirnew3
: usefullcalendar
by installing node modules, followed the way of GitHub Repo Pagenew4
: finished implementation of calendar part of calendar page, except for the position of calendar and menu bar etc.new5
: integrate something ?new6
: runnew4
on flask server.new7
: runnew4
on flask server and after clicking the date, it will print diary content in the alert dial box.new8
: page transition.Failed sincehttp://127.0.0.1:5000/newpage.html
does not exist when you run the server.new9
: add page transition onnew7
.
This does not work when you run app.py with not under current dir, such aspython new9/app.py
(when you are in the root directory of this repo.). You can run, but it fails to get the data indiary_data
directory.
- test for implementing popup window
image_upload
: not sure but failed => try againimage_upload2
: page to upload image (<input>
), but cannot display it.image_upload3
: page to upload and display image (but the image size is too large)image_upload4
: page to upload and display image; add css to set the image size (css
can be improved to set to max width/height rather than width or height directly.)image_upload5
: page to upload and display. Run with server but the image is not send to the server.
Not sure the image box is not displayed before an image is uploaded.
Not added the image box to display even the image is not loaded yet.image_upload6
: copy ofimage_upload6
. Aims to revise the code so that it will have an box for image even though the image is not loaded yet.
PageTrans
: read theindex2.html
indiv content
.PageTrans2
: shift toindex2.html
completely through js file (not using server). (Run server of this code does not work well.)
$ http-server
in the dir with content where ls
is like the following:
$ ls
index.html index2.html script.js
$ http-server
Starting up http-server, serving ./
http-server version: 14.1.1
http-server settings:
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none
Available on:
http://127.0.0.1:8080
http://172.28.217.83:8080
Hit CTRL-C to stop the server