Remove old Ipsilon theme

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-01-19 23:33:59 +01:00
parent 5f7f976bfb
commit eace1e4e52
17 changed files with 0 additions and 573 deletions

View file

@ -1,7 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
This is the Federated Open Authentication provider homepage.
{% endblock %}
{% block main %}
You will be redirected to this application whenever another application requires you to authenticate.
{% endblock %}

View file

@ -1,15 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
500 - Internal Server Error
{% endblock %}
{% block main %}
{% if message: %}
<p>{{ message }}</p>
{% else %}
<p>Ipsilon encountered an unexpected internal error while trying to
fulfill your request.</p>
{% endif %}
<p>Please retry again.</p>
<p>If the error persists, contact the server administrator to resolve
the problem.</p>
{% endblock %}

View file

@ -1,36 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
href="//fedoraproject.org/static/images/favicon.ico"/>
<link rel="stylesheet" href="{{ basepath }}/ui/fedora/fedora.css">
<meta name="generator" content="Ipsilon">
{%- if heads %}
{%- for group, value in heads.items() %}
{%- for head in value %}
{{ head | safe }}
{%- endfor %}
{%- endfor %}
{%- endif %}
</head>
<body>
<div class="header_bg">
<div class="body header">
<img id="logo" alt="logo" src="{{ basepath }}/ui/fedora/fedora-authn-logo-white.png"/>
</div>
</div>
<div style="font-size:14px;width:800px;margin-left:auto;margin-right:auto;padding:10px;margin-top:15px;margin-bottom:50px; border-radius:5px; text-align:center;color: #31708F;background-color: #D9EDF7;border-color: #BCDFF1;">We are going to introduce a new interface for this login screen on January 15th. <a style="color: rgb(70, 154, 197);text-decoration:none;" target="_blank" href="https://fedoramagazine.org/fedora-openid-login-new-improved/">Click here to see some screenshots.</a></div>
<div class="body main">
<p id="toptext">{% block toptext %}{% endblock %}</p>
<div class="middlebox">
{% block main %}{% endblock %}
</div>
</div>
</body>
</html>

View file

@ -1,24 +0,0 @@
{% extends "layout.html" %}
{% block title %}Login{% endblock %}
{% block toptext %}
{{ login_target }} is asking to authenticate using Ipsilon
{% endblock %}
{% block main %}
Login with your credentials
{% if error %}<p>{{error}}</p>{% endif %}
<div>
<form method="post" action="{{ action }}" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="ipsilon_transaction_id" id="ipsilon_transaction_id" value="{{ ipsilon_transaction_id}}"/>
<p class="form_item">
<input id="username" name="login_name" placeholder="Username" autofocus value="{{ username | e }}" />
</p>
<p class="form_item">
<input id="password" name="login_password" type="password" placeholder="Password" />
</p>
<p class="form_item">
<input type="submit" id="loginbutton" value="Login">
</p>
</form>
</div>
{% endblock %}

View file

@ -1,11 +0,0 @@
{% extends "layout.html" %}
{% block title %}Login{% endblock %}
{% block toptext %}
{{ login_target }} is asking to authenticate using Ipsilon
{% endblock %}
{% block main %}
<div>
Redirecting... {{ redirect }}
</div>
{% endblock %}

View file

@ -1,13 +0,0 @@
{% extends "master.html" %}
{% block toptext %}
Logged out
{% endblock %}
{% block main %}
{% if user.name %}
<p>Something prevented a successful logout</p>
<p>You are still logged in as {{ user.fullname }}</p>
{% else %}
<p>Successfully logged out.</p>
<p>Return to <a href="{{ basepath }}/">Home</a> page</p>
{% endif %}
{% endblock %}

View file

@ -1,13 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
404 - Not Found
{% endblock %}
{% block main %}
{% if message: %}
<p>{{ message }}</p>
{% else %}
<p>This page does not exist.</p>
{% endif %}
<p>If you think this is an error, contact the server administrator to resolve
the problem.</p>
{% endblock %}

View file

@ -1,40 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
{{trustroot}} is asking to authenticate via OpenID using Ipsilon
{% endblock %}
{% block main %}
Review the authorization details
<div>
<form method="post" action="{{action}}" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="ipsilon_transaction_id" id="ipsilon_transaction_id" value="{{ ipsilon_transaction_id }}" />
<p class="form_item">
<table class="details">
{% for entry in authz_details|dictsort %}
<tr>
<td>{{ entry[0] }}</td>
{%- if entry[1] is iterable and not entry[1] is string -%}
<td>{{ entry[1] | join(', ') }}</td>
{%- else -%}
<td>{{ entry[1] }}</td>
{%- endif -%}
</tr>
{% endfor %}
<tr>
<td>Remember approval for</td>
<td><select name="remember_for_days">
<option value="0">never</option>
<option value="3">3 days</option>
<option value="7">7 days</option>
</select>
</td>
</tr>
</table>
</p>
<p class="form_item">
<input type="submit" name="decided_deny" value="Reject">
<input type="submit" name="decided_allow" value="Allow">
</p>
</form>
</div>
{% endblock %}

View file

@ -1,7 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
This is the OpenID page for {{username}}.
{% endblock %}
{% block main %}
This page is primarily used internally
{% endblock %}

View file

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
<XRD>
<Service>
{%- for t in types %}
<Type>{{ t }}</Type>
{%- endfor %}
{%- if uri %}
<URI>{{ uri }}</URI>
{%- endif %}
{%- if localid %}
<LocalID>{{ localid }}</LocalID>
{%- endif %}
</Service>
</XRD>
</xrds:XRDS>

View file

@ -1,59 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
This page is used internally
{% endblock %}
{% block main %}
<script type="text/javascript" src="https://login.persona.org/provisioning_api.js"></script>
<script type="text/javascript">
var xmlhttp = new XMLHttpRequest()
var loggedin = {{ loggedin|lower }};
xmlhttp.onreadystatechange = function()
{
if(xmlhttp.readyState == 4)
{
if(xmlhttp.status == 200)
{
navigator.id.registerCertificate(xmlhttp.responseText);
}
else if((xmlhttp.status == 401) || (xmlhttp.status == 403))
{
navigator.id.raiseProvisioningFailure('Error in provisioning!');
}
else
{
alert("Response code: " + xmlhttp.status);
alert("Response text: " + xmlhttp.responseText);
}
}
}
function generateServerSide(email, publicKey, certDuration, callback)
{
xmlhttp.open("POST", "Sign/", true);
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.send("email=" + encodeURIComponent(email)
+ "&publicKey=" + encodeURIComponent(publicKey)
+ "&certDuration=" + encodeURIComponent(certDuration));
}
function startProvisioning()
{
navigator.id.beginProvisioning(function(email, certDuration)
{
if(loggedin)
{
navigator.id.genKeyPair(function(publicKey)
{
generateServerSide(email, publicKey, certDuration);
});
} else {
navigator.id.raiseProvisioningFailure('user is not authenticated');
}
});
}
startProvisioning();
</script>
{% endblock %}

View file

@ -1,19 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
This page is used internally
{% endblock %}
{% block main %}
<script type="text/javascript" src="https://login.persona.org/authentication_api.js"></script>
<script type="text/javascript">
var loggedin = {{ loggedin|lower }};
if(loggedin)
{
navigator.id.beginAuthentication(function(email) {
navigator.id.completeAuthentication();
});
} else {
navigator.id.raiseAuthenticationFailure('User cancelled signon');
}
</script>
{% endblock %}

View file

@ -1,12 +0,0 @@
{% extends "layout.html" %}
{% block toptext %}
401 - Unauthorized
{% endblock %}
{% block main %}
{% if message: %}
<p>{{ message }}</p>
{% else %}
<p>Authentication was not succesful</p>
{% endif %}
<p><a href="{{ basepath }}/login" title="Login">Try to login again</a></p>
{% endblock %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -1,143 +0,0 @@
@import url(https://fonts.googleapis.com/css?family=Cantarell:400,700);
body
{
padding:0;
margin:0;
font-family: 'Cantarell', sans-serif;
font-size:20px;
}
.header_bg
{
width:100%;
background-image: url('repeater.png');
height:84px;
display: block;
}
.body
{
max-width:800px;
margin-left:auto;
margin-right:auto;
}
.main
{
/* margin-top:50px;*/
}
.header
{
height:100%;
}
#loginbutton
{
float: right;
margin-right: 4px;
margin-left: 8px;
}
#logo
{
padding-top:9px;
margin-left:auto;
margin-right:auto;
display:block;
}
.middlebox
{
width:320px;
background:#eee;
margin-left:auto;
margin-right:auto;
box-shadow: 0px 0px 5px 1px #999;
padding:10px 40px 40px;
color:#555;
text-align:center;
}
table.details
{
text-align:left;
font-size:16px;
margin-left:auto;
margin-right:auto;
}
table.details td:first-child
{
font-weight:bold;
text-align:right;
padding-right:10px;
}
#toptext
{
text-align:center;
/* margin-bottom:30px;*/
}
input {
border: 1px solid #555;
padding-top:5px;
padding-bottom:5px;
font-size: 15px;
/* width: 100%; */
background: #fff;
color: 000000;
text-indent:10px;
font-family: 'Cantarell', sans-serif;
}
input:focus {
box-shadow: 0px 0px 5px #3366FF;
}
input[type=submit]
{
text-indent:0px;
background-image: url('repeater.png');
color:white;
/* font-weight:bold;*/
width: 150px;
}
.middlebox a {
padding-left: 5px;
padding-right: 5px;
}
.button {
border: 1px solid #555;
padding-top: 5px;
padding-bottom: 5px;
font-size: 15px;
/* width: 100%; */
background: #fff;
text-indent: 10px;
font-family: 'Cantarell', sans-serif;
text-indent: 0px;
background-image: url('repeater.png');
color: white;
/* font-weight: bold;*/
text-decoration: none;
/* display: block; */
}
#password, #username {
width: 310px;
}
input::-moz-focus-inner {
border:0;
padding:0;
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B