Skip to content

Instantly share code, notes, and snippets.

@mu-arch
Created September 17, 2016 17:00
Show Gist options
  • Save mu-arch/2727567ec24e3bc467c80b4d5efd8aae to your computer and use it in GitHub Desktop.
Save mu-arch/2727567ec24e3bc467c80b4d5efd8aae to your computer and use it in GitHub Desktop.
const loginView = '
<div class="login-container">
<h1>Login to CauseOS</h1>
<div id="error" style="display:none;">
<svg style="width:30px;height:30px" viewBox="0 0 24 24">
<path fill="orange" d="M12,2L1,21H23M12,6L19.53,19H4.47" />
</svg>
<h5 id="error-header"></h5>
<p id="error-desc"></p>
</div>
<form onsubmit="return false">
<label id="email-label" for="email">E-mail</label><input autofocus class="top-login-input" type="text" id="email" name="email" placeholder="required" />
<label id="password-label" for="password">Password</label><input class="bot-login-input" type="password" id="password" name="password" placeholder="required" />
<input type="submit" class="activate-form form-link" id="sign-in" name="signin" value="Sign In..."></input>
</form>
<div id="link-recover" class="form-link">Forgot Email or Password?</div>
<div id="link-signup" class="form-link">Create a new account</div>
</div>
';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment