135 lines
6.2 KiB
HTML
135 lines
6.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>setup apXtrib</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<!-- fontawesome icon cdn -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.css">
|
|
<script>
|
|
const apxlocal={
|
|
headers:{xalias:"anonymous",xhash:"anonymous",xtribe:"devenv", xapp:"smatchapp", xlang:"en" },
|
|
firsttimeload:true,
|
|
forcereload:true,
|
|
tpl:{
|
|
title:"<h1>apXtrib </h1><p>Nation:{{nationId}} Town:{{townId}}</p><p><p> Manage an apXtrib</p></p>",
|
|
footer:"{{{msg}}}"
|
|
},
|
|
tpldata:{
|
|
footer:{msg:"<p>apXtrib, made with love for people freedom, enjoy!</p>"}
|
|
},
|
|
object:{}
|
|
};
|
|
// @todo check version control to force a reload with forceload
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="static/js/editor.js"></script>
|
|
<script src="static/js/openpgp.min.js"></script>
|
|
<script src="static/js/mustache.min.js"></script>
|
|
<script src="static/js/axios.min.js"></script>
|
|
<script src="static/js/apxtribcli.js"></script>
|
|
<script src="static/js/apxapp.js"></script>
|
|
<style>
|
|
.fakeimg {
|
|
height: 200px;
|
|
background: #aaa;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="apxtitle" class="p-5 bg-primary text-white text-center" apptoload="app.load('apxtitle','title','conf')" add2data tpldata="static/tpldata/conf_en.json">
|
|
<h1>apXtrib</h1>
|
|
<p> Manage and understand apXtrib back-end</p>
|
|
</div>
|
|
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
|
|
<div class="container-fluid">
|
|
<ul class="navbar-nav">
|
|
<li class="nav-item">
|
|
<a class="nav-link" add2data tpl="static/tpl/listofarticle_en.mustache" onclick="app.load('apxmain','listofarticle','listofarticle')" >Home</a>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Pagans</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" add2data tpl="static/tpl/pagancreate_en.mustache" object="nationchains/pagans/idx/alias_all.json" onclick="app.load('apxmain','pagancreate',{})">Create</a></li>
|
|
<li><a class="dropdown-item" add2data tpl="static/tpl/loginout_en.mustache" tpldata="static/tpldata/loginout_en.json" onclick="app.load('apxmain','loginout',{})">Login/Logout</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
<li><a class="dropdown-item" href="#">Cipher</a></li>
|
|
<li><a class="dropdown-item" href="#">AccessRights</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
<li><a class="dropdown-item" href="#">Wallet management</a></li>
|
|
<li><a class="dropdown-item" href="#">Signed Contracts</a></li>
|
|
<li><a class="dropdown-item" href="#">NFT generator</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Mayor's Town</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="#">Chain a town</a></li>
|
|
<li><a class="dropdown-item" href="#">Create Tribe</a></li>
|
|
<li><a class="dropdown-item" href="#">Manage Druids</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Druid's Tribe</a>
|
|
<ul class="dropdown-menu ">
|
|
<li><a class="dropdown-item" tribe="" href="#">Manage Persons</a></li>
|
|
<li><a class="dropdown-item" tribe="" href="#">Manage web space</a></li>
|
|
<li><a class="dropdown-item" tribe="" href="#">Create Objects</a></li>
|
|
<li><a class="dropdown-item" tribe="" href="#">Manage Objects</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
</ul>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" onclick="" href="#">My Tribe nameA</a></li>
|
|
<li><a class="dropdown-item" onclick="" href="#">My tribe nameB</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Person's Tribe</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="#">My tribes</a></li>
|
|
<li><a class="dropdown-item" href="#">My Profile</a></li>
|
|
<li><a class="dropdown-item" href="#">My Objects</a></li>
|
|
<li><a class="dropdown-item" href="#">Message</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
</ul>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" onclick="" href="#">My Tribe nameA</a></li>
|
|
<li><a class="dropdown-item" onclick="" href="#">My tribe nameB</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">DevOp's space</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a class="dropdown-item" href="#">Odmdb Schema</a></li>
|
|
<li><a class="dropdown-item" href="#">Odmdb CRUD</a></li>
|
|
<li><a class="dropdown-item" href="#">Host a web app</a></li>
|
|
<li><hr class="dropdown-divider"></li>
|
|
</ul>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="#">Utils</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link disabled" href="#">Disabled</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
<div id="apxmain" apptoload="app.load('apxmain','listofarticle','listofarticle')" class="container mt-5">
|
|
<div class="d-flex justify-content-center">
|
|
<div class="spinner-border" role="status">
|
|
<span class="visually-hidden">Loading...</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="apxfooter" apptoload="app.load('apxfooter','footer','footer')" class="mt-5 p-4 bg-dark text-white text-center">
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|