diff --git a/Readme.md b/Readme.md index e69de29..09f06d6 100644 --- a/Readme.md +++ b/Readme.md @@ -0,0 +1,14 @@ +# sPlaner +Stuce's simple planer is a simple app that lets you plan your day +## Objectives +- Save on cloud on background, make spa with htmx +- add items via text input and give them title + duration +- show a nice timetable for the day +- allow adding items from sTodo, and interface to check them from there +- fetch items from sCalendar when it will be added +- deploy with nix easily + +## Progress +- [ ] make base page by designing a add item field +- [ ] base representation of item fields +- [ ] fetch items from sTodo diff --git a/htmx.min.js.gz b/htmx.min.js.gz new file mode 100644 index 0000000..5296918 Binary files /dev/null and b/htmx.min.js.gz differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..465227c --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + + + + + + + sPlanner + + + +

sPlanner

+ + +
+ + + + +
+ + + diff --git a/script.js b/script.js new file mode 100644 index 0000000..bc06c96 --- /dev/null +++ b/script.js @@ -0,0 +1,13 @@ +const defaultDuration = 15*60 + +function Item(name/*, start, duration, end*/) { + this.name = name; + // this.start = start; + // this.ducation = duration; + // this.end = end; +} + +function appendItem(item) { + let text = '
  • '+item.name+'

  • '; + itemList.insertAdjacentHTML('beforeend', text); +}