Template-ized most of the home page UI
parent
987a05302d
commit
8677f6516d
|
@ -17,7 +17,6 @@
|
|||
<property name="defaultJwtSigner" value="rsa1"/>
|
||||
<property name="defaultSigningAlgorithmName" value="RS256" />
|
||||
<property name="adminConsoleCopyrightFooter" value="The MTIRE Corporation" />
|
||||
<property name="adminConsoleLandingPageText" value="Welcome to the MITRE Corporation OpenID Connect Server!" />
|
||||
<property name="logoImageUrl" value="https://id.mitre.org/connect/resources/images/openid_connect_small.png" />
|
||||
<property name="adminConsoleTopbarTitle" value="MITREid Connect" />
|
||||
</bean>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<%@attribute name="short" required="false" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${short == 'true'}">
|
||||
<!-- Display short version of About page -->
|
||||
<h2>About</h2>
|
||||
|
||||
<p>This OpenID Connect service is built from the MITREid Connect Open Source project started by The MITRE Corporation.</p>
|
||||
|
||||
<p><a class="btn" href="http://github.com/mitreid-connect/">More »</a></p>
|
||||
</c:when>
|
||||
<c:when test="${short == 'false' || empty short }">
|
||||
<!-- Display long version of about page -->
|
||||
<h2>About</h2>
|
||||
<p>
|
||||
This OpenID Connect service is built from the MITREid Connect Open Source project started by The MITRE Corporation.
|
||||
</p>
|
||||
<p>
|
||||
More information about the project can be found on our GitHub page: <a href="http://github.com/mitreid-connect/">MTIREid Connect on GitHub</a>
|
||||
There, you can submit bug reports, give feedback, or even contribute code patches for additional features you'd like to see.
|
||||
</p>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<%@attribute name="short" required="false" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${short == 'true'}">
|
||||
<!-- Display short version of Contact page -->
|
||||
<h2>Contact</h2>
|
||||
|
||||
<p>For more information or support, contact the administrators of this system.</p>
|
||||
|
||||
<p><a class="btn" href="mailto:idp@example.com?Subject=OpenID Connect">Email »</a></p>
|
||||
</c:when>
|
||||
<c:when test="${short == 'false' || empty short }">
|
||||
<!-- Display long version of Contact page -->
|
||||
<h2>Contact</h2>
|
||||
<p>
|
||||
For general assistance, email Bob at <a href="mailto:email@address.com?Subject=OIDC%20Server%20Assistance">email@address.com</a>.
|
||||
To offer feedback, email Sue at <a href="mailto:email@address.com?Subject=OIDC%20Server%20Feedback">email@address.com</a>.
|
||||
To report a system failure or bug report, email Joe at <a href="mailto:email@address.com?Subject=OIDC%20Server%20Failure">email@address.com</a>.
|
||||
</p>
|
||||
</c:when>
|
||||
</c:choose>
|
|
@ -0,0 +1,8 @@
|
|||
<h1>Welcome!</h1>
|
||||
|
||||
<p>OpenID Connect is a next-generation protocol built on top of the OAuth2 authorization framework.
|
||||
OpenID Connect lets you log into a remote site using your identity without exposing your
|
||||
credentials, like a username and password.
|
||||
</p>
|
||||
|
||||
<p><a class="btn btn-primary btn-large" href="http://openid.net/connect/">Learn more »</a></p>
|
|
@ -0,0 +1,21 @@
|
|||
<%@attribute name="short" required="false" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${short == 'true'}">
|
||||
<!-- Display short version of Statistics page -->
|
||||
<h2>Current Statistics</h2>
|
||||
|
||||
<p>There have been <span class="label label-info">${statsSummary["userCount"]}</span> users of this
|
||||
system who have logged in to <span class="label label-info">${statsSummary["clientCount"]}</span>
|
||||
total sites, for a total of <span class="label label-info">${statsSummary["approvalCount"]}</span> site approvals.</p>
|
||||
</c:when>
|
||||
<c:when test="${short == 'false' || empty short }">
|
||||
<!-- Display long version of Statistics page -->
|
||||
<h2>Current Statistics</h2>
|
||||
|
||||
<p>There have been <span class="label label-info">${statsSummary["userCount"]}</span> users of this
|
||||
system who have logged in to <span class="label label-info">${statsSummary["clientCount"]}</span>
|
||||
total sites, for a total of <span class="label label-info">${statsSummary["approvalCount"]}</span> site approvals.</p>
|
||||
</c:when>
|
||||
</c:choose>
|
|
@ -13,9 +13,7 @@
|
|||
<!-- Main hero unit for a primary marketing message or call to action -->
|
||||
<div class="hero-unit">
|
||||
|
||||
<p>
|
||||
This OpenID Connect service is built from the MITREid Connect Open Source project started by The MITRE Corporation.
|
||||
</p>
|
||||
<o:aboutContent/>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -13,12 +13,7 @@
|
|||
<!-- Main hero unit for a primary marketing message or call to action -->
|
||||
<div class="hero-unit">
|
||||
|
||||
<h2>Contact</h2>
|
||||
<p>
|
||||
For general assistance, email Bob at <a href="mailto:email@address.com?Subject=OIDC%20Server%20Assistance">email@address.com</a>.
|
||||
To offer feedback, email Sue at <a href="mailto:email@address.com?Subject=OIDC%20Server%20Feedback">email@address.com</a>.
|
||||
To report a system failure or bug report, email Joe at <a href="mailto:email@address.com?Subject=OIDC%20Server%20Failure">email@address.com</a>.
|
||||
</p>
|
||||
<o:contactContent/>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -10,30 +10,15 @@
|
|||
<div class="span10">
|
||||
<!-- Main hero unit for a primary marketing message or call to action -->
|
||||
<div class="hero-unit">
|
||||
<h1>Welcome!</h1>
|
||||
|
||||
<p>OpenID Connect is a next-generation protocol built on top of the OAuth2 authorization framework.
|
||||
OpenID Connect lets you log into a remote site using your identity without exposing your
|
||||
credentials, like a username and password.
|
||||
</p>
|
||||
|
||||
<p><a class="btn btn-primary btn-large" href="http://openid.net/connect/">Learn more »</a></p>
|
||||
<o:landingPageText/>
|
||||
</div>
|
||||
<!-- Example row of columns -->
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<h2>About</h2>
|
||||
|
||||
<p>This OpenID Connect service is built from the MITREid Connect Open Source project started by The MITRE Corporation.</p>
|
||||
|
||||
<p><a class="btn" href="http://github.com/mitreid-connect/">More »</a></p>
|
||||
<o:aboutContent short="true"/>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<h2>Contact</h2>
|
||||
|
||||
<p>For more information or support, contact the administrators of this system.</p>
|
||||
|
||||
<p><a class="btn" href="mailto:idp@example.com?Subject=OpenID Connect">Email »</a></p>
|
||||
<o:contactContent short="true"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -41,12 +26,7 @@
|
|||
<!-- Example row of columns -->
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<h2>Current Statistics</h2>
|
||||
|
||||
<p>There have been <span class="label label-info">${statsSummary["userCount"]}</span> users of this
|
||||
system who have logged in to <span class="label label-info">${statsSummary["clientCount"]}</span>
|
||||
total sites, for a total of <span class="label label-info">${statsSummary["approvalCount"]}</span> site approvals.</p>
|
||||
|
||||
<o:statsContent short="true"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -12,12 +12,7 @@
|
|||
<div class="span10">
|
||||
<!-- Main hero unit for a primary marketing message or call to action -->
|
||||
<div class="hero-unit">
|
||||
<h2>Current Statistics</h2>
|
||||
|
||||
<p>There have been <span class="label label-info">${statsSummary["userCount"]}</span> users of this
|
||||
system who have logged in to <span class="label label-info">${statsSummary["clientCount"]}</span>
|
||||
total sites, for a total of <span class="label label-info">${statsSummary["approvalCount"]}</span> site approvals.</p>
|
||||
|
||||
<o:statsContent/>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue