From ba3daff7cf86cd6866835b8f28c1668d9cf9b253 Mon Sep 17 00:00:00 2001 From: Namdak Tonpa Date: Thu, 11 Apr 2019 22:28:06 +0300 Subject: [PATCH] htm --- .gitignore | 6 ++++ act.htm | 62 +++++++++++++++++++++++++++++++++ actors.htm | 59 +++++++++++++++++++++++++++++++ include/api.hrl | 6 ++++ index.html | 79 ++++++++++++++++++++++++++++++++++++++++++ login.htm | 54 +++++++++++++++++++++++++++++ priv/static/act.htm | 2 +- priv/static/actors.htm | 2 +- priv/static/login.htm | 2 +- src/bank.app.src | 2 +- 10 files changed, 270 insertions(+), 4 deletions(-) create mode 100644 .gitignore create mode 100644 act.htm create mode 100644 actors.htm create mode 100644 index.html create mode 100644 login.htm diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..602c856 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +ebin +mix.lock +_build/ +.applist +Mnesia*/ +deps diff --git a/act.htm b/act.htm new file mode 100644 index 0000000..d8f08fc --- /dev/null +++ b/act.htm @@ -0,0 +1,62 @@ + + + + + + + + + ACT + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + diff --git a/actors.htm b/actors.htm new file mode 100644 index 0000000..7760bc4 --- /dev/null +++ b/actors.htm @@ -0,0 +1,59 @@ + + + + + + + + + ACTORS + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/include/api.hrl b/include/api.hrl index 8e7d116..2df92f2 100644 --- a/include/api.hrl +++ b/include/api.hrl @@ -9,4 +9,10 @@ -record(create_node, {?API(create), scope_id=[], obj_type=[], obj_id=[], title=[], description=[], version=[] }). +-record(charge, {}). +-record(withdraw, {}). +-record(open, {}). +-record(close,{}). +-record(transfer, {}). + -endif. diff --git a/index.html b/index.html new file mode 100644 index 0000000..18fb028 --- /dev/null +++ b/index.html @@ -0,0 +1,79 @@ + + + + + + + + BPE + + + + +
+

BANK

+
+ +
+
+

INTRO

+

BPE is a business process managament application that brings Erlang for enterprises. + It provides infrastructure for workflow definitions, process orchestration, + rule based production systems and distributed storage.

+
+ $ mad get bank + $ cd deps/bank + $ mad dep com pla rep +
+
+
+

PROTOCOL

+
+ -record(open, { id=[] :: [] | integer() }). + -record(close, { id=[] :: [] | integer() }). + -record(charge, { id=[] :: [] | integer() }). + -record(withdraw, { id=[] :: [] | integer() }). + -record(transfer, { id=[] :: [] | integer() }). +
+
+
+ + + + + diff --git a/login.htm b/login.htm new file mode 100644 index 0000000..c67d270 --- /dev/null +++ b/login.htm @@ -0,0 +1,54 @@ + + + + + + + + + ENT + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + diff --git a/priv/static/act.htm b/priv/static/act.htm index 93c0c6c..d8f08fc 100644 --- a/priv/static/act.htm +++ b/priv/static/act.htm @@ -49,7 +49,7 @@

ACT 1

- diff --git a/priv/static/actors.htm b/priv/static/actors.htm index d3558e9..7760bc4 100644 --- a/priv/static/actors.htm +++ b/priv/static/actors.htm @@ -45,7 +45,7 @@

ACTORS

- diff --git a/priv/static/login.htm b/priv/static/login.htm index 4e594a1..8225cbd 100644 --- a/priv/static/login.htm +++ b/priv/static/login.htm @@ -42,7 +42,7 @@

LOGIN

- diff --git a/src/bank.app.src b/src/bank.app.src index 4d3a37f..15eb537 100644 --- a/src/bank.app.src +++ b/src/bank.app.src @@ -3,7 +3,7 @@ {description, "BANK Financial Management"}, {vsn, "1"}, {registered, []}, - {applications, [kernel,stdlib,kvx]}, + {applications, [kernel,stdlib,n2o,bpe,kvx]}, {mod, { bank, []}}, {env, []} ]}.