mirror of
https://github.com/renorris/openfsd
synced 2026-04-27 19:25:46 +08:00
v0.1.0-alpha
Changes:
- Implement bootstrapping library for managing several concurrent internal services
- Refactor concurrency model for connections/logical clients and their associated I/O
- Refactor server context singleton
- Refactor error handling
- Most errors are now gracefully sent to the FSD client directly encoded as an $ER packet,
enhancing visibility and debugging
- Most errors are now rightfully treated as non-fatal
- Refactor package/dependency graph
- Refactor calling conventions/interfaces for many packages
- Refactor database package
- Refactor post office
Features:
- Add VATSIM-esque HTTP/JSON "data feed"
- Add ephemeral in-memory database option
- Add user management REST API
- Add improved web interface
- Add MySQL support (drop SQLite support)
This commit is contained in:
37
web/templates/login.html
Normal file
37
web/templates/login.html
Normal file
@@ -0,0 +1,37 @@
|
||||
{{ template "layout.html" . }}
|
||||
|
||||
{{ define "title" }} Login {{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="container-fluid mt-3">
|
||||
<form id="login-form" action="/login" method="POST">
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<div class="mb-3">
|
||||
<input type="number" class="form-control-sm" id="cid" name="cid" placeholder="CID" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<div class="mb-3">
|
||||
<input type="password" class="form-control-sm" id="password" name="password" placeholder="Password" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div id="alert"></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="mb-3">
|
||||
<button type="submit" class="form-control-sm btn-sm btn-outline-dark" id="submit">Login</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script src="/static/js/login.js"></script>
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user