Add UI assets and wsgi file
This commit is contained in:
parent
fdd116917f
commit
f3b8a624e3
6 changed files with 334 additions and 0 deletions
24
roles/ipsilon/files/ipsilon.wsgi
Normal file
24
roles/ipsilon/files/ipsilon.wsgi
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
Alias /ui /usr/share/ipsilon/ui
|
||||||
|
Alias /.well-known /etc/ipsilon/wellknown
|
||||||
|
WSGIScriptAlias / /usr/sbin/ipsilon
|
||||||
|
WSGIDaemonProcess ipsilon user=ipsilon group=ipsilon home=/var/lib/ipsilon
|
||||||
|
|
||||||
|
|
||||||
|
<Location />
|
||||||
|
WSGIProcessGroup ipsilon
|
||||||
|
</Location>
|
||||||
|
|
||||||
|
<Directory /usr/sbin>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory /usr/share/ipsilon>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory /etc/ipsilon/wellknown>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
<Location /.well-known/browserid>
|
||||||
|
ForceType application/json
|
||||||
|
</Location>
|
BIN
roles/ipsilon/files/ui-fedora/fedora-authn-logo-white.png
Normal file
BIN
roles/ipsilon/files/ui-fedora/fedora-authn-logo-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
143
roles/ipsilon/files/ui-fedora/fedora.css
Normal file
143
roles/ipsilon/files/ui-fedora/fedora.css
Normal file
|
@ -0,0 +1,143 @@
|
||||||
|
@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 2px 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;
|
||||||
|
}
|
||||||
|
|
158
roles/ipsilon/files/ui-fedora/logo.svg
Normal file
158
roles/ipsilon/files/ui-fedora/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 18 KiB |
BIN
roles/ipsilon/files/ui-fedora/repeater.png
Normal file
BIN
roles/ipsilon/files/ui-fedora/repeater.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 190 B |
|
@ -23,6 +23,11 @@
|
||||||
dest=/usr/share/ipsilon/templates-fedora
|
dest=/usr/share/ipsilon/templates-fedora
|
||||||
owner=ipsilon group=ipsilon mode=0666
|
owner=ipsilon group=ipsilon mode=0666
|
||||||
|
|
||||||
|
- name: copy ipsilon ui assets
|
||||||
|
copy: src=ui-fedora
|
||||||
|
dest=/usr/share/ipsilon/ui/fedora
|
||||||
|
owner=ipsilon group=ipsilon mode=0666
|
||||||
|
|
||||||
- name: copy ipsilon configuration
|
- name: copy ipsilon configuration
|
||||||
template: src={{ item }}.cfg
|
template: src={{ item }}.cfg
|
||||||
dest=/etc/ipsilon/{{ item }}.cfg
|
dest=/etc/ipsilon/{{ item }}.cfg
|
||||||
|
@ -35,6 +40,10 @@
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
|
- name: copy ipsilon wsgi
|
||||||
|
copy: src=ipsilon.wsgi
|
||||||
|
dest=/etc/httpd/conf.d/ipsilon.wsgi
|
||||||
|
|
||||||
- name: copy persona private key
|
- name: copy persona private key
|
||||||
copy: src={{ private }}/files/ipsilon/persona.key dest=/etc/ipsilon/persona.key
|
copy: src={{ private }}/files/ipsilon/persona.key dest=/etc/ipsilon/persona.key
|
||||||
owner=ipsilon group=ipsilon mode=0600
|
owner=ipsilon group=ipsilon mode=0600
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue