Makefile added, .js files added, package.json updated.

master
Luka Vandervelden 2020-01-04 15:57:38 +01:00
parent 6938e01eae
commit 62e7226d84
15 changed files with 25 additions and 1712 deletions

View File

@ -1,7 +1,7 @@
// Generated by LiveScript 1.6.0
(function(){
var bulma, h, AuthWS;
bulma = require("./bulma.ls");
bulma = require("maquette-bulma");
h = require('maquette').h;
AuthWS = function(socketUrl){
var self, requestTypes, responseTypes, key, value;

View File

@ -4,11 +4,11 @@
maquette = require("maquette");
createProjector = maquette.createProjector, h = maquette.h;
projector = createProjector();
bulma = require("./bulma.ls");
AuthWS = require("./authws.ls");
LoginForm = require("./login-form.ls");
UserConfigurationPanel = require("./user-configuration-panel.ls");
UserAdminPanel = require("./user-admin-panel.ls");
bulma = require("maquette-bulma");
AuthWS = require("./authws.js");
LoginForm = require("./login-form.js");
UserConfigurationPanel = require("./user-configuration-panel.js");
UserAdminPanel = require("./user-admin-panel.js");
model = {
token: void 8
};

View File

@ -3,8 +3,8 @@
var maquette, h, bulma, AuthWS, LoginForm;
maquette = require("maquette");
h = maquette.h;
bulma = require("./bulma.ls");
AuthWS = require("./authws.ls");
bulma = require("maquette-bulma");
AuthWS = require("./authws.js");
LoginForm = function(args){
var self, authWs;
args || (args = {});

View File

@ -2,7 +2,7 @@
(function(){
var h, AuthWS, UserAdminPanel;
h = require("maquette").h;
AuthWS = require("./authws.ls");
AuthWS = require("./authws.js");
UserAdminPanel = function(args){
var self, authws;
self = {

View File

@ -2,7 +2,7 @@
(function(){
var h, AuthWS, getFullName, defaultSideBarRenderer, defaultHeadingRenderer, Fields, UserConfigurationPanel;
h = require("maquette").h;
AuthWS = require("./authws.ls");
AuthWS = require("./authws.js");
getFullName = function(self){
var fullName, ref$;
fullName = ((ref$ = self.profile) != null ? ref$.fullName : void 8) || "";

File diff suppressed because it is too large Load Diff

109
main.js

File diff suppressed because one or more lines are too long

View File

@ -11,5 +11,9 @@
"url": "https://git.karchnu.fr/WeirdOS/authd-maquettec"
},
"author": "",
"license": "ISC"
"license": "ISC",
"dependencies": {
"livescript": "^1.6.0",
"maquette-bulma": "git+https://git.karchnu.fr/WeirdOS/maquette-bulma.js"
}
}

View File

@ -1,4 +1,4 @@
bulma = require "./bulma.ls"
bulma = require "maquette-bulma"
h = require 'maquette' .h
AuthWS = (socket-url) ->

View File

@ -4,13 +4,13 @@ maquette = require "maquette"
projector = create-projector!
bulma = require "./bulma.ls"
bulma = require "maquette-bulma"
AuthWS = require "./authws.ls"
AuthWS = require "./authws.js"
LoginForm = require "./login-form.ls"
UserConfigurationPanel = require "./user-configuration-panel.ls"
UserAdminPanel = require "./user-admin-panel.ls"
LoginForm = require "./login-form.js"
UserConfigurationPanel = require "./user-configuration-panel.js"
UserAdminPanel = require "./user-admin-panel.js"
model = {
token: void

View File

@ -2,9 +2,9 @@ maquette = require "maquette"
{h} = maquette
bulma = require "./bulma.ls"
bulma = require "maquette-bulma"
AuthWS = require "./authws.ls"
AuthWS = require "./authws.js"
LoginForm = (args) ->
args or= {}

View File

@ -1,6 +1,6 @@
{h} = require "maquette"
AuthWS = require "./authws.ls"
AuthWS = require "./authws.js"
UserAdminPanel = (args) ->
self = {

View File

@ -1,7 +1,7 @@
{h} = require "maquette"
AuthWS = require "./authws.ls"
AuthWS = require "./authws.js"
get-full-name = (self) ->
full-name = self.profile?.full-name || ""