mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-03-07 20:48:24 +00:00
Added javascript cookie check, if blocked, login in new tab
This commit is contained in:
@@ -58,7 +58,7 @@ class EventOembed(generic.View):
|
||||
full_url = "{0}://{1}{2}".format(request.scheme, request.META['HTTP_HOST'], embed_url)
|
||||
|
||||
data = {
|
||||
'html': '<iframe src="{0}" frameborder="0" width="100%" height="300"></iframe>'.format(full_url),
|
||||
'html': '<iframe src="{0}" frameborder="0" width="100%" height="250"></iframe>'.format(full_url),
|
||||
'version': '1.0',
|
||||
'type': 'rich',
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -150,10 +150,16 @@ ins {
|
||||
|
||||
html.embedded{
|
||||
min-height:100%;
|
||||
display: table;
|
||||
background: #e9e9e9;
|
||||
width: 100%;
|
||||
|
||||
body{
|
||||
min-height:100%;
|
||||
padding:0;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
background: none;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.embed_container{
|
||||
@@ -161,8 +167,9 @@ html.embedded{
|
||||
padding:12px 0px;
|
||||
min-height:100%;
|
||||
width:100%;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
||||
.source{
|
||||
background: url('/static/imgs/pyrigs-avatar.png') no-repeat;
|
||||
background-size: 16px 16px;
|
||||
|
||||
Reference in New Issue
Block a user