Revision 2b207cbf
b/snf-astakos-app/astakos/im/static/im/css/forms.css | ||
---|---|---|
66 | 66 |
form .with-errors label { color: #e4776f; } |
67 | 67 |
.form-error { color:red; font-size: 0.8em; padding: 5px 5px; } |
68 | 68 |
.form-errors.all .form-error { position: relative; border-radius: 0; margin-bottom: 1.3em; padding: 0.5em; } |
69 |
div.form-stacked { margin-bottom: 4em; }
|
|
69 |
div.form-stacked { margin-bottom: 2em; padding-bottom:1em; }
|
|
70 | 70 |
.checkbox-widget.checked { background-color: #FF0000; background-image: url("../images/checkbox.png"); background-position: 50% 50%; } |
71 | 71 |
.content a.checkbox-widget { border: 1px solid #808080; cursor: pointer; display: block; float: left; height: 25px; margin:5px 20px 0 0 ; width: 25px; } |
72 | 72 |
form.withlabels .checkbox-widget { margin-top:12px; } |
b/snf-astakos-app/astakos/im/static/im/css/modules.css | ||
---|---|---|
599 | 599 |
.landing-page .cms a { color:#3780b0; } |
600 | 600 |
.landing-page .rt { text-align:center;vertical-align:middle; } |
601 | 601 |
#signup-classic { clear:both; } |
602 |
#signup-classic + .form-stacked { display:none; } |
|
603 |
.extralogin a.standalone { display:block; width:130px; margin-bottom:20px } |
|
602 |
#signup-classic + .form-stacked { display:none; background:url(../images/dots.jpg) repeat-x left bottom; width:330px;} |
|
603 |
.extralogin a.standalone { display:block; width:150px; margin-bottom:20px } |
b/snf-astakos-app/astakos/im/static/im/js/auth_methods.js | ||
---|---|---|
1 |
function placeTokenConfirm(){ |
|
2 |
|
|
3 |
var position = $('#token-span').parents('.form-row').position(); |
|
4 |
$('#token-confirm').css('top', position.top - 10); |
|
5 |
} |
|
6 |
|
|
1 | 7 |
$(document).ready(function() { |
2 | 8 |
|
3 | 9 |
|
... | ... | |
83 | 89 |
$('.form-following .extra-img').click(function(e){ |
84 | 90 |
|
85 | 91 |
$(this).parents('.form-row').toggleClass('open'); |
92 |
|
|
86 | 93 |
id = $(this).attr('id'); |
87 | 94 |
$('.form-row').each(function() { |
88 | 95 |
if( $(this).hasClass(id) ) { |
... | ... | |
105 | 112 |
if ( id == 'email-span') { newEmailDiv.find('input').focus(); } |
106 | 113 |
if ( id == 'password-span') { oldPasswordDiv.find('input').focus(); } |
107 | 114 |
} |
115 |
|
|
116 |
placeTokenConfirm(); |
|
108 | 117 |
}); |
109 | 118 |
|
110 | 119 |
// check uncheck checkbox |
... | ... | |
124 | 133 |
$('#token-span').click(function(e){ |
125 | 134 |
$(this).parents('.form-row').toggleClass('open'); |
126 | 135 |
$(this).siblings('span.info').find('span').hide(); |
127 |
var position = $(this).parents('.form-row').position(); |
|
128 |
$('#token-confirm').css('top', position.top - 10); |
|
129 |
$('#token-confirm').toggle(); |
|
136 |
placeTokenConfirm(); |
|
137 |
$('#token-confirm').toggle('slow'); |
|
130 | 138 |
return false; |
131 | 139 |
}); |
132 | 140 |
|
b/snf-astakos-app/astakos/im/static/im/js/forms.js | ||
---|---|---|
131 | 131 |
var csrf_value = $("input[name="+MIDDLEWARE_TOKEN_INPUT_NAME+"]").val(); |
132 | 132 |
var url = CHANGE_TOKEN_URL; |
133 | 133 |
var form = $("<form>"); |
134 |
var csrf = $('<input>'); |
|
134 |
var csrf = $('<input type="hidden">');
|
|
135 | 135 |
|
136 | 136 |
form.attr('action', url); |
137 | 137 |
form.attr('method', 'POST'); |
Also available in: Unified diff