Source code for action LOGIN
Ready more about how to build templates here.
<html lang="en" data-theme="light">
<?logout?>
<head>
<?parse('header.html')?>
<title>Advanced Portal Designer Demo Site</title>
</head>
<body>
<nav class="navbar is-white has-shadow">
<!-- logo / brand -->
<div class="navbar-brand">
<a class="navbar-item" href="/portal">
<img src="<?action('logo')?>&79:1=" style="max-height: 70px" class="py-2 px-2">
</a>
<a class="navbar-burger" id="burger">
<span></span>
<span></span>
<span></span>
</a>
</div>
<div class="navbar-menu" id="nav-links">
<!-- right links -->
<div class="navbar-end">
<a href="<?auth0link?>" class="navbar-item">Login</a>
</div>
</div>
</nav>
<div class="columns mt-4">
<div class="column is-one-fifth"></div>
<div class="column has-text-centered">
<article class="message is-info">
<div class="message-header">
<p>Welcome</p>
</div>
<div class="message-body has-text-left">
<p class="mt-3">This portal is a demonstration of what you can build with the Advanced Portal Designer
app for Microsoft Dynamics 365 Business Central. Read more about the Designer </p>
<a href="https://www.hougaard.com/portaldesigner" target="_blank">here</a>.
<p class="mt-3">If you what to try out the portal, please use the button below and create an account.
You'll get the opportunity to try the portal as a customer or a vendor .</p>
<p>This website is hosted on Azure with a free (F1) app service plan. The website connects to a Business Central production environment, everything hosted in Canada Central Azure data center.</p>
<p class="mt-3">All the data you'll find here are from the CRONUS company.</p>
</div>
</article>
<a class="button mt-10" href="<?auth0link?>">Create an account or Login to the APD Demo Portal</a>
</div>
<div class="column is-one-fifth"></div>
</div>
<?parse('footer.html')?>
</body>
</html>