Got a basic calendar editing page going.

This commit is contained in:
2025-07-01 23:02:30 +10:00
parent 7607d807fe
commit f8616ff819
12 changed files with 148 additions and 30 deletions

17
cal/index.js Executable file
View File

@@ -0,0 +1,17 @@
Vue.createApp({
data: function() {
return { 'events': null
, 'tabs': [ 'Events', 'Create' ]
, 'frm': { 'tab': 0, 'e': null }
}
},
mounted: function() {
var app = this;
jQuery.get( 'api.php'
, { 'cmd': 'get' }
, function(data) {
app.events = data;
}
);
}
}).mount('#app')