{{template "ng/base/head" .}}
{{template "ng/base/header" .}}
<div id="promo-wrapper">
    <div class="container clear">
        <div id="promo-logo" class="left">
            <img src="{{AppSubUrl}}/img/notabug-lg.png" alt="logo" />
        </div>
        <div id="promo-content">
            <h1>NotABug.org</h1>
            <h2>Free code hosting</h2>
            <form id="promo-form" action="{{AppSubUrl}}/user/login" method="post">
                {{.CsrfTokenHtml}}
                <input class="ipt ipt-large" id="username" name="uname" type="text" placeholder="{{.i18n.Tr "home.uname_holder"}}"/>
                <input class="ipt ipt-large" name="password" type="password" placeholder="{{.i18n.Tr "home.password_holder"}}"/>
                <input name="from" type="hidden" value="home">
                <button class="btn btn-black btn-large">{{.i18n.Tr "sign_in"}}</button>
                {{if .ShowRegistrationButton}}
                <button class="btn btn-green btn-large" id="register-button">{{.i18n.Tr "register"}}</button>
                {{end}}
            </form>
        </div>&nbsp;
    </div>
</div>
<div id="feature-wrapper">
   <div class="container clear">
      <div class="grid-1-2 left">
         <img src="{{AppSubUrl}}/img/hack.png" alt="peers-logo" width="52px" />
         <b>Peers</b>
         <p>NotABug.org is a <a href="http://peers.community">Peers Community</a> project</p>
      </div>
      <div class="grid-1-2 left">
         <img src="{{AppSubUrl}}/img/gogs-lg.png" alt="gogs-logo" width="52px" />
         <b>Powered by gogs</b>
         <p>NotABug.org is powered by a <a href="{{AppSubUrl}}/hp/gogs/">locally modified</a> version of <a href="http://gogs.io">gogs</a></p>
      </div>
   </div>
</div>
{{template "ng/base/footer" .}}
