Revision ff8333db

b/snf-astakos-app/astakos/im/static/im/css/modules.css
400 400
.quotas-form .with-checkbox .checkbox-widget	{ margin-top:9px; } 
401 401
.quotas-form .with-checkbox span.info 			{ top:12px; }
402 402
.quotas-form .form-row.submit					{ text-align:center; }
403
.quotas-form input[type="submit"]				{ margin:15px 0; background-color:#B3B3B3 }
403
.quotas-form input[type="submit"]				{ margin:15px 0; }
404
/* grey green buttons 
405
.quotas-form input[type="submit"]				{ background-color:#B3B3B3 }
404 406
.quotas-form input[type="submit"]:hover			{ background:#55B577 }
405 407
.quotas-form input[type="submit"]:focus			{ border-color: #B3B3B3}
406 408
.quotas-form input[type="submit"]:focus:hover	{ border-color: #55B577}
409
*/
410

  
407 411
.quotas-form input[type="submit"].lt			{ position:absolute; left:0; top:0; }
408 412
.quotas-form fieldset ul						{ padding:0; margin:0 0 1em; position:relative; }
409 413
.quotas-form fieldset ul li						{ list-style:none outside none; float:left; margin:0 0 0 60px; padding:0; }
b/snf-astakos-app/astakos/im/static/im/js/quotas.js
7 7
			 
8 8
			$(this).appendTo('.visible');
9 9
			$(this).show('slow');
10
			$(this).find('input')[0].focus()
10
			console.info('lala');
11
			$(this).find('input').first().focus();
12
			console.info($(this).find('input').first());
13
			console.info('boo');
11 14
		}
12 15
	});
13 16
	if ($('.quotas-form .with-info .with-errors input[type="text"]')){
......
23 26
    return  (bytes / Math.pow(1024, i)).toFixed( 0 ) + sizes[ isNaN( bytes ) ? 0 : i+1 ];
24 27
}
25 28

  
26
$(document).ready(function() {
27 29

  
30
function goToByScroll(id){
31
	$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
32
}
28 33
	
34
$(document).ready(function() {
35

  
29 36
	
37
	 
30 38
	// ugly fix to transfer data easily 
31 39
	$('.with-info input[name^="is_selected_"]').each(function() {
32 40
		$(this).parents('.form-row').hide();
......
296 304
		}
297 305
	});  
298 306
	
299
	function goToByScroll(id){
300
	     $('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
301
	}
307
	
302 308
	
303 309
	
304 310
	$('#group_create_form').submit(function(){
......
327 333
		 
328 334
	});
329 335

  
330

  
336
	goToByScroll("top");
331 337
	$('.quotas-form .form-row.with-errors input[type="text"]').first().focus();
332 338
	
333 339
	
334 340
	
341
	
335 342
});
b/snf-astakos-app/astakos/im/templates/im/profile.html
6 6
<form action={%url edit_profile %} method="post" class="withlabels hidden-submit">{% csrf_token %}
7 7
    
8 8
    {% with profile_form as form %}
9
    {% include "im/form_render.html" %}
9
	{% include "im/form_render.html" %}
10 10
    {% endwith %}
11 11

  
12 12
    <div class="form-row submit">
......
16 16
    </div>
17 17
</form>
18 18

  
19
<form action="" method="post" class="">
20
	<input type="hidden" value="">
21
	<input type="submit" value="">
22
</form>
23

  
24

  
19 25
<div class="full-dotted">
20 26
    {% include "im/profile_auth_methods.html" %}
21 27
</div>
b/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html
195 195
</div>
196 196

  
197 197
{% endwith %} 
198
{% endblock %}
198
{% endblock %}
b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form.html
10 10
{% block page.body %}
11 11
<h2>
12 12
    {% if update_form %}REQUEST PROJECT MODIFICATION{% else %}REQUEST PROJECT{% endif %}
13
    {% if show_form %}{% else %}
14 13
    / <span class="subtitle">
15
    {% if update_form %}CONFIRM{% else %}CONFIRM{% endif %}
14
    	{% if show_form %}
15
    		FORM
16
    	{% else %}
17
    		{% if update_form %}CONFIRM{% else %}CONFIRM{% endif %}
18
    	{% endif %}
16 19
    </span>
17
    {% endif %}
20
     
18 21
</h2>
19 22

  
20 23
{% if not show_form %}
b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html
50 50
		 	<dl class="alt-style">
51 51
		 	    {% for rp in form.resource_policies %}
52 52
		 		    <dt>
53
           				Max {% if rp.is_abbreviation %}
54
                                {{ rp.verbose_name|upper }}
55
                            {% else %}
56
                                {{ rp.verbose_name }}
57
                            {% endif %}
58
                            {% if not rp.unit %}s {% endif  %}  per user
53
           				Max {% if rp.is_abbreviation %}{{ rp.verbose_name|upper }}{% else %}{{ rp.verbose_name }}{% endif %}{% if not rp.unit %}s {% endif  %}  per user
59 54
           			</dt>
60 55
			 		<dd>
61 56
			 			
......
82 77
		 
83 78
		<input type="hidden" name="user"  id="id_user" value="{{user.id}}">
84 79
		<div class="form-row submit">
85
            <input type="submit" value="BACK" class="submit lt"   onclick='this.form.action="?edit=1&verify=0";'>
80
            <input type="submit" value="BACK" class="submit lt"  onclick='this.form.action="?edit=1&verify=0";'>
86 81
            <input type="submit" value="SUBMIT" class="submit" >
87 82
        </div>
88 83
	</form>

Also available in: Unified diff