commit ff8333db5c5265ef0d70444fa323e9e68844a9eb
Author: Olga Brani <olgabrani@grnet.gr>
Date:   Tue Jan 15 12:12:12 2013 +0200

    Style fixes

diff --git a/snf-astakos-app/astakos/im/static/im/css/modules.css b/snf-astakos-app/astakos/im/static/im/css/modules.css
index 19f5c95..6404c99 100644
--- a/snf-astakos-app/astakos/im/static/im/css/modules.css
+++ b/snf-astakos-app/astakos/im/static/im/css/modules.css
@@ -400,10 +400,14 @@ form.quotas-form  span.info span				{ width:285px;  }
 .quotas-form .with-checkbox .checkbox-widget	{ margin-top:9px; } 
 .quotas-form .with-checkbox span.info 			{ top:12px; }
 .quotas-form .form-row.submit					{ text-align:center; }
-.quotas-form input[type="submit"]				{ margin:15px 0; background-color:#B3B3B3 }
+.quotas-form input[type="submit"]				{ margin:15px 0; }
+/* grey green buttons 
+.quotas-form input[type="submit"]				{ background-color:#B3B3B3 }
 .quotas-form input[type="submit"]:hover			{ background:#55B577 }
 .quotas-form input[type="submit"]:focus			{ border-color: #B3B3B3}
 .quotas-form input[type="submit"]:focus:hover	{ border-color: #55B577}
+*/
+
 .quotas-form input[type="submit"].lt			{ position:absolute; left:0; top:0; }
 .quotas-form fieldset ul						{ padding:0; margin:0 0 1em; position:relative; }
 .quotas-form fieldset ul li						{ list-style:none outside none; float:left; margin:0 0 0 60px; padding:0; }
diff --git a/snf-astakos-app/astakos/im/static/im/js/quotas.js b/snf-astakos-app/astakos/im/static/im/js/quotas.js
index 7f50573..27ea9c3 100644
--- a/snf-astakos-app/astakos/im/static/im/js/quotas.js
+++ b/snf-astakos-app/astakos/im/static/im/js/quotas.js
@@ -7,7 +7,10 @@ function group_form_show_resources(el){
 			 
 			$(this).appendTo('.visible');
 			$(this).show('slow');
-			$(this).find('input')[0].focus()
+			console.info('lala');
+			$(this).find('input').first().focus();
+			console.info($(this).find('input').first());
+			console.info('boo');
 		}
 	});
 	if ($('.quotas-form .with-info .with-errors input[type="text"]')){
@@ -23,10 +26,15 @@ function bytesToSize2(bytes) {
     return  (bytes / Math.pow(1024, i)).toFixed( 0 ) + sizes[ isNaN( bytes ) ? 0 : i+1 ];
 }
 
-$(document).ready(function() {
 
+function goToByScroll(id){
+	$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
+}
 	
+$(document).ready(function() {
+
 	
+	 
 	// ugly fix to transfer data easily 
 	$('.with-info input[name^="is_selected_"]').each(function() {
 		$(this).parents('.form-row').hide();
@@ -296,9 +304,7 @@ $(document).ready(function() {
 		}
 	});  
 	
-	function goToByScroll(id){
-	     $('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
-	}
+	
 	
 	
 	$('#group_create_form').submit(function(){
@@ -327,9 +333,10 @@ $(document).ready(function() {
 		 
 	});
 
-
+	goToByScroll("top");
 	$('.quotas-form .form-row.with-errors input[type="text"]').first().focus();
 	
 	
 	
+	
 });
\ No newline at end of file
diff --git a/snf-astakos-app/astakos/im/templates/im/profile.html b/snf-astakos-app/astakos/im/templates/im/profile.html
index 8ac1d09..be9919c 100644
--- a/snf-astakos-app/astakos/im/templates/im/profile.html
+++ b/snf-astakos-app/astakos/im/templates/im/profile.html
@@ -6,7 +6,7 @@
 <form action={%url edit_profile %} method="post" class="withlabels hidden-submit">{% csrf_token %}
     
     {% with profile_form as form %}
-    {% include "im/form_render.html" %}
+	{% include "im/form_render.html" %}
     {% endwith %}
 
     <div class="form-row submit">
@@ -16,6 +16,12 @@
     </div>
 </form>
 
+<form action="" method="post" class="">
+	<input type="hidden" value="">
+	<input type="submit" value="">
+</form>
+
+
 <div class="full-dotted">
     {% include "im/profile_auth_methods.html" %}
 </div>
diff --git a/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html b/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html
index e62fc16..9eb2a9f 100644
--- a/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html
+++ b/snf-astakos-app/astakos/im/templates/im/projects/project_detail.html
@@ -195,4 +195,4 @@ href="{% url astakos.im.views.project_leave object.pk %}">LEAVE</a>
 </div>
 
 {% endwith %} 
-{% endblock %}
+{% endblock %}
\ No newline at end of file
diff --git a/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form.html b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form.html
index a0465a2..c621055 100644
--- a/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form.html
+++ b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form.html
@@ -10,11 +10,14 @@
 {% block page.body %}
 <h2>
     {% if update_form %}REQUEST PROJECT MODIFICATION{% else %}REQUEST PROJECT{% endif %}
-    {% if show_form %}{% else %}
     / <span class="subtitle">
-    {% if update_form %}CONFIRM{% else %}CONFIRM{% endif %}
+    	{% if show_form %}
+    		FORM
+    	{% else %}
+    		{% if update_form %}CONFIRM{% else %}CONFIRM{% endif %}
+    	{% endif %}
     </span>
-    {% endif %}
+     
 </h2>
 
 {% if not show_form %}
diff --git a/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html
index b85c017..f41bfb0 100644
--- a/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html
+++ b/snf-astakos-app/astakos/im/templates/im/projects/projectapplication_form_summary.html
@@ -50,12 +50,7 @@
 		 	<dl class="alt-style">
 		 	    {% for rp in form.resource_policies %}
 		 		    <dt>
-           				Max {% if rp.is_abbreviation %}
-                                {{ rp.verbose_name|upper }}
-                            {% else %}
-                                {{ rp.verbose_name }}
-                            {% endif %}
-                            {% if not rp.unit %}s {% endif  %}  per user
+           				Max {% if rp.is_abbreviation %}{{ rp.verbose_name|upper }}{% else %}{{ rp.verbose_name }}{% endif %}{% if not rp.unit %}s {% endif  %}  per user
            			</dt>
 			 		<dd>
 			 			
@@ -82,7 +77,7 @@
 		 
 		<input type="hidden" name="user"  id="id_user" value="{{user.id}}">
 		<div class="form-row submit">
-            <input type="submit" value="BACK" class="submit lt"   onclick='this.form.action="?edit=1&verify=0";'>
+            <input type="submit" value="BACK" class="submit lt"  onclick='this.form.action="?edit=1&verify=0";'>
             <input type="submit" value="SUBMIT" class="submit" >
         </div>
 	</form>
