Compare commits
1 Commits
1.0.1-BETA
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aeadf55ec9 |
@@ -32,7 +32,7 @@ import java.util.Map;
|
|||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
@Route(path = "/dashboard.html")
|
@Route(path = "/dashboard.html")
|
||||||
public final class dashboard implements WebPage {
|
public final class dashboard extends WebPage {
|
||||||
|
|
||||||
private static Integer normalizeNullableInt(String s) {
|
private static Integer normalizeNullableInt(String s) {
|
||||||
if (s == null) return null;
|
if (s == null) return null;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import java.util.Map;
|
|||||||
* Landing page for INS registrar frontend (v1.0.1).
|
* Landing page for INS registrar frontend (v1.0.1).
|
||||||
*/
|
*/
|
||||||
@Route(path = "/index.html")
|
@Route(path = "/index.html")
|
||||||
public final class index implements WebPage {
|
public final class index extends WebPage {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WebResourceResponsePacket handle(WebPageContext ctx) {
|
public WebResourceResponsePacket handle(WebPageContext ctx) {
|
||||||
@@ -25,7 +25,7 @@ public final class index implements WebPage {
|
|||||||
String html = Html.page("OAC INS Registrar", """
|
String html = Html.page("OAC INS Registrar", """
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h2>OAC INS Registrar</h2>
|
<h2>OAC INS Registrar</h2>
|
||||||
<p class="muted">What you want to do?</p>
|
<p class="muted">What you want to do? You can checkout the source of this site here: https://repo.open-autonomous-connection.org/open-autonomous-connection/INSServer/</p>
|
||||||
<div class="col"><a href="info.html">Info</a></div><br />
|
<div class="col"><a href="info.html">Info</a></div><br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col"><a href="login.html">Login</a></div>
|
<div class="col"><a href="login.html">Login</a></div>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import java.util.Map;
|
|||||||
* Info page for INS registrar frontend (v1.0.1).
|
* Info page for INS registrar frontend (v1.0.1).
|
||||||
*/
|
*/
|
||||||
@Route(path = "/info.html")
|
@Route(path = "/info.html")
|
||||||
public final class info implements WebPage {
|
public final class info extends WebPage {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WebResourceResponsePacket handle(WebPageContext ctx) {
|
public WebResourceResponsePacket handle(WebPageContext ctx) {
|
||||||
@@ -34,7 +34,7 @@ public final class info implements WebPage {
|
|||||||
<p>
|
<p>
|
||||||
It provides a trusted reference point for resolving InfoNames
|
It provides a trusted reference point for resolving InfoNames
|
||||||
and enables initial client connections
|
and enables initial client connections
|
||||||
to the OAC ecosystem.
|
to the OAC.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -46,6 +46,8 @@ public final class info implements WebPage {
|
|||||||
Note: Alternative or private INS servers may exist, but the default INS
|
Note: Alternative or private INS servers may exist, but the default INS
|
||||||
server represents the official and stable reference instance.
|
server represents the official and stable reference instance.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>Checkout the Source here: https://repo.open-autonomous-connection.org/open-autonomous-connection/INSServer/</p>
|
||||||
</section>
|
</section>
|
||||||
""");
|
""");
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.util.*;
|
|||||||
* Login page (v1.0.1).
|
* Login page (v1.0.1).
|
||||||
*/
|
*/
|
||||||
@Route(path = "/login.html")
|
@Route(path = "/login.html")
|
||||||
public final class login implements WebPage {
|
public final class login extends WebPage {
|
||||||
|
|
||||||
private enum ReqMethod { GET, POST, OTHER }
|
private enum ReqMethod { GET, POST, OTHER }
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.util.*;
|
|||||||
* Register page (v1.0.1).
|
* Register page (v1.0.1).
|
||||||
*/
|
*/
|
||||||
@Route(path = "/register.html")
|
@Route(path = "/register.html")
|
||||||
public final class register implements WebPage {
|
public final class register extends WebPage {
|
||||||
|
|
||||||
private enum ReqMethod { GET, POST, OTHER }
|
private enum ReqMethod { GET, POST, OTHER }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user