Skip to content

Instantly share code, notes, and snippets.

@mbajoras
Last active December 18, 2015 05:38
Show Gist options
  • Select an option

  • Save mbajoras/5733783 to your computer and use it in GitHub Desktop.

Select an option

Save mbajoras/5733783 to your computer and use it in GitHub Desktop.

Revisions

  1. mbajoras revised this gist Jun 8, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion template.html
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <script id="login-template" type="text /template">
    <script id="login-template" type="text/template">
    <div class="msg-success hide">You are now logged in.</div>
    <div class="error-bad-auth hide">Username and/or password incorrect.</div>
    <div class="error-unknown hide"><%- stateDetails %></div>
  2. mbajoras created this gist Jun 8, 2013.
    13 changes: 13 additions & 0 deletions template.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <script id="login-template" type="text /template">
    <div class="msg-success hide">You are now logged in.</div>
    <div class="error-bad-auth hide">Username and/or password incorrect.</div>
    <div class="error-unknown hide"><%- stateDetails %></div>

    <form action="#" method="post">
    <h1>Login</h1>
    <input name="username" type="text" value="<%- username %>">
    <input name="password" type="password" value="<%- password %>">

    <input type="submit" value="Log In">
    </form>
    </script>