<TMPL_INCLUDE NAME="header.tpl">

<div class="container">

  <div class="alert alert-success">Public page example</div>

  <div class="card">
    <div class="card-body">
    <p>You can have some public pages using LL::NG framework. To enable this:</p>
    <ul>
      <li>Add "<tt>::Plugins::PublicPages</tt>" to custom plugins list</li>
      <li>Create your .tpl files inside public/ subdirectory</li>
      <li>To access them, use "http://auth.your.domain/public/name" where "name" is the template name <i>(without .tpl)</i>
    </ul>
    </div>
    <div class="card-footer">
    <div class="buttons">
    <TMPL_IF NAME="MSG"><TMPL_VAR NAME="MSG"></TMPL_IF>
      <a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
        <span class="fa fa-home"></span>
        <span trspan="goToPortal">Go to portal</span>
      </a>
    </div>
    </div>
  </div>
</div>

<TMPL_INCLUDE NAME="footer.tpl">