mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Part of AppLink login process
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<% layout('./layout') %>
|
||||
|
||||
<div id="content">
|
||||
<h1>bonob</h1>
|
||||
<h1>bonob service</h1>
|
||||
<h2><%= it.bonobService.name %> (<%= it.bonobService.sid %>)
|
||||
<h3>Expected config</h3>
|
||||
<div><%= JSON.stringify(it.bonobService) %></div>
|
||||
|
||||
11
web/views/login.eta
Normal file
11
web/views/login.eta
Normal file
@@ -0,0 +1,11 @@
|
||||
<% layout('./layout', { title: "Login" }) %>
|
||||
|
||||
<div id="content">
|
||||
<h1>Log in to <%= it.bonobService.name %></h1>
|
||||
<form action="/login" method="POST">
|
||||
<label for="username">Username:</label><input type="text" id="username" name="username"><br>
|
||||
<label for="password">Password:</label><input type="text" id="password" name="password"><br>
|
||||
<input type="hidden" name="linkCode" value="<%= it.linkCode %>">
|
||||
<input type="submit" value="Login">
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user