apxtrib/adminapi/www/adminapx/index_en.html

160 lines
7.3 KiB
HTML
Raw Permalink Normal View History

2023-04-27 04:17:20 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>setup apXtrib</title>
2023-05-12 05:59:32 +00:00
<link rel="icon" type="image/png" href="cdn/share/logo/favicon.png">
2023-04-27 04:17:20 +00:00
<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">
2023-05-12 05:59:32 +00:00
<!-- fontawesome icon cdn -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.css">
2023-06-28 13:23:17 +00:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<link rel="stylesheet" href="static/style/apxobjmanager.css">
2023-04-27 04:17:20 +00:00
<script>
2023-05-12 05:59:32 +00:00
const apxlocal = {
2023-06-02 08:21:01 +00:00
headers: { xalias: "anonymous", xhash: "anonymous", xdays: 0, xtribe: "town", xapp: "adminapx", xlang: "en" },
2023-05-12 05:59:32 +00:00
firsttimeload: true,
forcereload: true,
tpl: {
title: "<h1>apXtrib </h1><p>Nation:{{nationId}} Town:{{townId}}</p><p><p> Manage an apXtrib</p></p>",
footer: "{{{msg}}}"
2023-04-27 04:17:20 +00:00
},
2023-05-12 05:59:32 +00:00
tpldata: {
footer: { msg: "<p>apXtrib, made with love for people freedom, enjoy!</p>" },
apxmodal: { title: "exemple title", body: "exemple body", actions: [{ btndescription: "hello", onclick: "console.log('hello')" }] }
}
2023-04-27 04:17:20 +00:00
};
// @todo check version control to force a reload with forceload
2023-05-12 05:59:32 +00:00
</script>
2023-04-27 04:17:20 +00:00
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
2023-05-12 05:59:32 +00:00
<script src="cdn/share/js/dayjs.min.js"></script>
<script src="cdn/share/js/editor.js"></script>
<script src="cdn/share/js/openpgp.min.js"></script>
<script src="cdn/share/js/mustache.min.js"></script>
<script src="cdn/share/js/axios.min.js"></script>
2023-05-31 13:19:21 +00:00
<script src="static/js/apx.js"></script>
2023-05-12 05:59:32 +00:00
<script src="static/js/apxpagans.js"></script>
<script src="static/js/apxtribes.js"></script>
<script src="static/js/apxtowns.js"></script>
2023-04-27 04:17:20 +00:00
<script src="static/js/apxapp.js"></script>
2023-06-28 13:23:17 +00:00
<script src="static/js/apxobjmanager.js"></script>
2023-04-27 04:17:20 +00:00
<style>
.fakeimg {
height: 200px;
background: #aaa;
}
</style>
</head>
2023-05-12 05:59:32 +00:00
2023-04-27 04:17:20 +00:00
<body>
2023-05-12 05:59:32 +00:00
<div id="apxtitle" class="p-5 bg-primary text-white text-center" apptoload="app.load('apxtitle','title','setup')"
2023-05-31 13:19:21 +00:00
add2data tpldata="conf/setup_xx.json">
2023-05-12 05:59:32 +00:00
<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/articleslist_en.mustache"
onclick="app.load('apxmain','articleslist','articleslist')"><i class="fa-solid fa-house"></i></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button"
aria-expanded="false">Articles</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" add2data tpl="static/tpl/articleeditor_en.mustache"
onclick="app.load('apxmain','articleeditor',{})">Create</a></li>
<li><a class="dropdown-item" href="#">Manage Articles</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<div class="" d-none" add2data object="nationchains/towns/idx/townId_all.json"></div>
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button"
aria-expanded="false">Pagan</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',pagans.loadtpldata())">Create / Login / Logout</a></li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Cipher/Uncipher</a></li>
<li><a class="dropdown-item" href="#">My messages</a></li>
<li><a class="dropdown-item" href="#">Notifications</a></li>
<li><a class="dropdown-item" href="#">Wallet management</a></li>
<li><a class="dropdown-item" href="#">Signed Contracts</a></li>
</ul>
2023-04-27 04:17:20 +00:00
</li>
<li class="nav-item dropdown">
2023-05-12 05:59:32 +00:00
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button"
aria-expanded="false">Mayor's Town</a>
2023-04-27 04:17:20 +00:00
<ul class="dropdown-menu">
2023-05-31 13:19:21 +00:00
<li><a class="dropdown-item" add2data tpl="static/tpl/townowner_en.mustache"
2023-06-28 13:23:17 +00:00
onclick="app.load('apxmain','townowner',towns.loadtpldata('owner'))">Own this town</a></li>
<li><a class="dropdown-item" add2data tpl="static/tpl/towntribes_en.mustache"
onclick="app.load('apxmain','towntribes',towns.loadtpldata('tribes'))">Manage Tribes</a></li>
2023-05-16 08:31:27 +00:00
<li><a class="dropdown-item" href="#">Backup Town/Tribes</a></li>
2023-05-12 05:59:32 +00:00
<li>
<hr class="dropdown-divider">
</li>
2023-04-27 04:17:20 +00:00
</ul>
2023-04-28 11:21:02 +00:00
</li>
2023-04-27 04:17:20 +00:00
<li class="nav-item dropdown">
2023-05-12 05:59:32 +00:00
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button"
aria-expanded="false">Druid's Tribe</a>
2023-04-28 11:21:02 +00:00
<ul class="dropdown-menu ">
2023-05-12 05:59:32 +00:00
<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="#">NFT generator</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>
2023-04-28 11:21:02 +00:00
</ul>
2023-05-12 05:59:32 +00:00
</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>
2023-04-28 11:21:02 +00:00
<ul class="dropdown-menu">
2023-05-12 05:59:32 +00:00
<li><a class="dropdown-item" onclick="" href="#">My Tribe A</a></li>
<li><a class="dropdown-item" onclick="" href="#">My tribe B</a></li>
<li><a class="dropdown-item" onclick="" href="#">My tribe X</a></li>
2023-04-28 11:21:02 +00:00
</ul>
2023-05-12 05:59:32 +00:00
</li>
2023-04-28 11:21:02 +00:00
<li class="nav-item dropdown">
2023-05-12 05:59:32 +00:00
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button"
aria-expanded="false">DevOp's space</a>
2023-04-28 11:21:02 +00:00
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Odmdb Schema</a></li>
<li><a class="dropdown-item" href="#">Odmdb CRUD</a></li>
2023-05-31 13:19:21 +00:00
<li><a class="dropdown-item" add2data tpl="static/tpl/devophostawebapp_en.mustache"
onclick="app.load('apxmain','devophostawebapp',tribes.loadtpldata())">Host a web app</a></li>
2023-05-12 05:59:32 +00:00
<li>
<hr class="dropdown-divider">
</li>
2023-04-27 04:17:20 +00:00
</ul>
</li>
<li class="nav-item">
2023-05-12 05:59:32 +00:00
<a class="nav-link" href="#">Utils</a>
2023-04-27 04:17:20 +00:00
</li>
2023-05-12 05:59:32 +00:00
</ul>
</div>
</nav>
<div id="apxmain" apptoload="app.load('apxmain','articleslist','articleslist')" class="container mt-5">
<div class="d-flex justify-content-center">
<div class="spinner-border" role="status">
<span class="visually-hidden">Loading...</span>
</div>
2023-04-27 04:17:20 +00:00
</div>
</div>
2023-05-12 05:59:32 +00:00
<div id="apxfooter" apptoload="app.load('apxfooter','footer','footer')"
class="mt-5 p-4 bg-dark text-white text-center">
</div>
<div id="apxmodal" add2data tpl="static/tpl/apxmodal_en.mustache"></div>
2023-04-27 04:17:20 +00:00
</body>
2023-05-12 05:59:32 +00:00
</html>