Skip to content

Commit

Permalink
htm
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Apr 11, 2019
1 parent 6dd5f83 commit ba3daff
Show file tree
Hide file tree
Showing 10 changed files with 270 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ebin
mix.lock
_build/
.applist
Mnesia*/
deps
62 changes: 62 additions & 0 deletions act.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<html>

<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="Maxim Sokhatsky" />
<title>ACT</title>
<link rel="stylesheet" href="css/blank.css?v=1" />
<link rel="stylesheet" href="css/forms.css?v=1" />
</head>

<body>

<nav>
<a href='index.html'>BANK</a>
<a href='login.htm'>LOGIN</a>
<a href='actors.htm'>ACTORS</a>
<a href='act.htm' style="background:#ededed;"><span id=n>1</span></a>
</nav>

<aside>
<article>
<section>
<h2>ACT <span id=num>1</span></h2>
<p id=desc>The business process trace.</p>
<br>
<div id="ctrl"> </div>
<div id="frms"></div>
<br>
</section>
<div class="table" width=75%>
<div id="tableHead" class="trGroup">
</div>
</div>
<br>
<section>
<small>Made with <span class="heart"></span> to BPE</small>
</section>
</article>
</aside>

<main>
</main>

<script src='https://ws.n2o.space/priv/utf8.js?v=1'></script>
<script src='https://ws.n2o.space/priv/bert.js?v=1'></script>
<script src='https://ws.n2o.space/priv/heart.js?v=1'></script>
<script src='https://ws.n2o.space/priv/ieee754.js?v=1'></script>
<script src='https://ws.n2o.space/priv/n2o.js?v=5'></script>
<script>host = location.hostname === 'bank.n2o.space' ? 'ns.synrc.com' : location.hostname;
port = 8041;</script>
<script src='https://ws.n2o.space/priv/ftp.js?v=1'></script>
<script src='https://ws.n2o.space/priv/nitro.js?v=1'></script>
<script src='json-bert.js'></script>
<script>protos = [$bert]; N2O_start();</script>

</body>
</html>


59 changes: 59 additions & 0 deletions actors.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<html>

<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="Maxim Sokhatsky" />
<title>ACTORS</title>
<link rel="stylesheet" href="css/blank.css?v=1" />
<link rel="stylesheet" href="css/forms.css?v=1" />
</head>

<body>

<nav>
<a href='index.html'>BANK</a>
<a href='login.htm'>LOGIN</a>
<a href='actors.htm' style="background:#ededed;">ACTORS</a>
</nav>

<aside>
<article>
<section>
<h2>ACTORS</h2>
<p>Managing persistent BPE/BPMN processes.</p>
<br>
<div id="ctrl"> </div>
<div id="frms"></div>
<br>
</section>
<div class="table">
<div id="tableHead" class="trGroup">
</div>
</div>
<br>
<section>
<small>Made with <span class="heart"></span> to BPE</small>
</section>
</article>
</aside>

<script src='https://ws.n2o.space/priv/utf8.js?v=1'></script>
<script src='https://ws.n2o.space/priv/bert.js?v=1'></script>
<script src='https://ws.n2o.space/priv/heart.js?v=1'></script>
<script src='https://ws.n2o.space/priv/ieee754.js?v=1'></script>
<script src='https://ws.n2o.space/priv/n2o.js?v=5'></script>
<script>host = location.hostname === 'bank.n2o.space' ? 'ns.synrc.com' : location.hostname;
port = 8041;</script>
<script src='https://ws.n2o.space/priv/ftp.js?v=1'></script>
<script src='https://ws.n2o.space/priv/nitro.js?v=1'></script>
<script src='json-bert.js'></script>
<!--script>$io.do = function(r) { console.log(JSON.stringify(decode(r))); };</script-->
<script>protos = [$bert]; N2O_start();</script>

</body>
</html>


6 changes: 6 additions & 0 deletions include/api.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
79 changes: 79 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="Maxim Sokhatsky" />
<title>BPE</title>
<link rel="stylesheet" href="css/synrc.css?v=2" />
</head>
<body>
<nav>
<a href='https://n2o.space'>ECO</a>
<a href='https://o7.network'>O7</a>
<a href='https://bpe.n2o.space' style="background:#ededed;">BANK</a>
<a href='login.htm'>ADMIN</a>
</nav>
<header>
<h1>BANK</h1>
</header>
<aside>
<article>
<section>
<h3>SYNOPSIS</h3>
<div>BANK is an open source bank.</div><br>
<div></div>
<figure><code>
1> bpe:amend(Process#process.id,#deposit{}).
</code></figure>
<div>Thanks to this isomorphic correspondance between Erlang processes
and processes in process-calculus,
code size of core BPE server was reduced to 400 LOC. This is definitely
most clean functional implementation of workflow engine avalible
for electronical banking systems.</div>
</section>
<section>
<h3>MODULES</h3>
<div><ul>
<li><a href="man/bpe.htm">BPE</a></font></li>
<li><a href="man/task.htm">TASK</a></font></li>
<li><a href="man/event.htm">EVENT</a></font></li>
</ul></div>
<br>
<div>
Nov 2018 &copy; <a href="https://github.com/synrc/bpe">Namdak Tonpa</a> ISC
</div>
</section>
</article>
</aside>
<main>
<section>
<a name=intro><h3>INTRO</h3></a>
<p>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.</p>
<figure><code>
$ mad get bank
$ cd deps/bank
$ mad dep com pla rep
</code></figure>
</section>
<section>
<a name=intro><h3>PROTOCOL</h3></a>
<figure><code>
-record(open, { id=[] :: [] | integer() }).
-record(close, { id=[] :: [] | integer() }).
-record(charge, { id=[] :: [] | integer() }).
-record(withdraw, { id=[] :: [] | integer() }).
-record(transfer, { id=[] :: [] | integer() }).
</code></figure>
</section>
</main>

<footer>
Made with <span class="heart"></span> to N2O
</footer>

</body>
</html>
54 changes: 54 additions & 0 deletions login.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<html>

<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="Maxim Sokhatsky" />
<title>ENT</title>
<link rel="stylesheet" href="css/blank.css?v=1" />
<link rel="stylesheet" href="css/forms.css?v=1" />
</head>

<body>

<nav>
<a href='index.html'>BANK</a>
<a href='login.htm' style="background:#ededed;">LOGIN</a>
<a href='actors.htm'>ACTORS</a>
</nav>

<aside>
<article>
<section>
<h2>LOGIN</h2>
<p>Enterprizing Systems Prompt.</p>
<br>
<div id=stand class="box">
</div>
<br>
<small>Made with <span class="heart"></span> to BPE</small>
</section>
</article>
</aside>

<main>
</main>

<script src='https://ws.n2o.space/priv/utf8.js?v=1'></script>
<script src='https://ws.n2o.space/priv/bert.js?v=1'></script>
<script src='https://ws.n2o.space/priv/heart.js?v=1'></script>
<script src='https://ws.n2o.space/priv/ieee754.js?v=1'></script>
<script src='https://ws.n2o.space/priv/n2o.js?v=5'></script>
<script>host = location.hostname === 'bank.n2o.space' ? 'ns.synrc.com' : location.hostname;
port = 8041;</script>
<script src='https://ws.n2o.space/priv/ftp.js?v=1'></script>
<script src='https://ws.n2o.space/priv/nitro.js?v=1'></script>
<script src='json-bert.js'></script>
<script>protos = [$bert]; N2O_start();</script>

</body>
</html>


2 changes: 1 addition & 1 deletion priv/static/act.htm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h2>ACT <span id=num>1</span></h2>
<script src='https://ws.n2o.space/priv/heart.js?v=1'></script>
<script src='https://ws.n2o.space/priv/ieee754.js?v=1'></script>
<script src='https://ws.n2o.space/priv/n2o.js?v=5'></script>
<script>host = location.hostname === 'bpe.n2o.space' ? 'ns.synrc.com' : location.hostname;
<script>host = location.hostname === 'bank.n2o.space' ? 'ns.synrc.com' : location.hostname;
port = 8041;</script>
<script src='https://ws.n2o.space/priv/ftp.js?v=1'></script>
<script src='https://ws.n2o.space/priv/nitro.js?v=1'></script>
Expand Down
2 changes: 1 addition & 1 deletion priv/static/actors.htm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2>ACTORS</h2>
<script src='https://ws.n2o.space/priv/heart.js?v=1'></script>
<script src='https://ws.n2o.space/priv/ieee754.js?v=1'></script>
<script src='https://ws.n2o.space/priv/n2o.js?v=5'></script>
<script>host = location.hostname === 'bpe.n2o.space' ? 'ns.synrc.com' : location.hostname;
<script>host = location.hostname === 'bank.n2o.space' ? 'ns.synrc.com' : location.hostname;
port = 8041;</script>
<script src='https://ws.n2o.space/priv/ftp.js?v=1'></script>
<script src='https://ws.n2o.space/priv/nitro.js?v=1'></script>
Expand Down
2 changes: 1 addition & 1 deletion priv/static/login.htm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2>LOGIN</h2>
<script src='https://ws.n2o.space/priv/heart.js?v=1'></script>
<script src='https://ws.n2o.space/priv/ieee754.js?v=1'></script>
<script src='https://ws.n2o.space/priv/n2o.js?v=5'></script>
<script>host = location.hostname === 'bpe.n2o.space' ? 'ns.synrc.com' : location.hostname;
<script>host = location.hostname === 'bank.n2o.space' ? 'ns.synrc.com' : location.hostname;
port = 8041;</script>
<script src='https://ws.n2o.space/priv/ftp.js?v=1'></script>
<script src='https://ws.n2o.space/priv/nitro.js?v=1'></script>
Expand Down
2 changes: 1 addition & 1 deletion src/bank.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{description, "BANK Financial Management"},
{vsn, "1"},
{registered, []},
{applications, [kernel,stdlib,kvx]},
{applications, [kernel,stdlib,n2o,bpe,kvx]},
{mod, { bank, []}},
{env, []}
]}.

0 comments on commit ba3daff

Please sign in to comment.