Revision fb9d96e9

b/snf-astakos-app/astakos/im/static/im/css/modules.css
198 198
a.button:hover								 	{ background-color: #F89A1C; border:0 none; color:#fff;}*/
199 199

  
200 200
/*pagination*/
201
.dataTables_wrapper 							{ margin-bottom: 1em}
201
.dataTables_wrapper 							{ margin-bottom: 1em; position: relative;}
202 202
.dataTables_wrapper th:hover 					{ cursor: pointer}
203
.dataTables_info 								{ float:left;}
203
.dk_fouc .dataTables_wrapper  select			{ top: auto; visibility: visible;}
204
.dataTables_info 								{ float:left; margin-bottom: 1em;}
204 205
.dataTables_paginate                            { float:right; }
205 206
.dataTables_paginate a:after 					{ content: ' >';}
206 207
.dataTables_paginate a:first-child:after 		{ content: '';}
......
214 215
.dataTables_paginate .paginate_disabled_previous,
215 216
.dataTables_paginate .paginate_disabled_next,
216 217
.dataTables_paginate .paginate_disabled_next:hover { color: gray; text-decoration: none}
217
.dataTables_filter 								{ position: absolute; right: 0;}
218
.dataTables_filter 								{ position: absolute; right: 0; top: -2px;}
218 219
.dataTables_filter input 						{ border: 1px solid #9e9e9e; height: 21px; line-height: 21px; padding: 3px 10px;}
219 220
.dataTables_paginate .nums                      { text-align:left;}
220
.dataTables_paginate .nums span                          { color:#000;}
221
.dataTables_paginate .next-prev a.disabled				{ text-decoration: none; color:#ccc; cursor:default; }
221
.dataTables_paginate .nums span                 { color:#000;}
222
.dataTables_paginate .next-prev a.disabled		{ text-decoration: none; color:#ccc; cursor:default; }
222 223
.two-cols .lt .clients-wrapper p				{ padding:0; }
223 224
#members-table_wrapper .dataTables_filter 		{ position: relative; text-align: right}
224 225

  
b/snf-astakos-app/astakos/im/static/im/js/common.js
1
function setContainerMinHeight( applicableDiv){
2
	
3
    if ( $(applicableDiv).length > 0 ) {
1
function setContainerMinHeight(applicableDiv) {
2

  
3
    if ($(applicableDiv).length > 0) {
4 4
        //var h = $('.header').height(); div.header is not found 
5 5
        var f = $('.footer').height();
6 6
        var w = $(window).height();
......
116 116
  tableEl.dataTable({
117 117
    "bFilter": bFilter,
118 118
    "iDisplayLength": iDisplayLength,
119
    "bLengthChange": false,
119
    "bLengthChange": true,
120
    "sDom": '<"top">frt<"clearfix"i><"bottom"pl>',
121
    "bStateSave": true,
120 122
    "aoColumnDefs": [
121 123
         { "sType": "num-html", "aTargets": numHTMLArr },
122 124
         { "sType": "date-uk", "aTargets": dateArr },
......
486 488
  })
487 489

  
488 490
  tableSort($('.projects-intro').siblings('table#projects-list'), 10, true );
489
  tableSort($('.search-projects').siblings('table#projects-list'), 20, false);
491
  tableSort($('.search-projects').siblings('table#projects-list'), 20, true);
490 492
  tableSort($('#members-table'), 10, true);
491 493

  
492 494
});
b/snf-astakos-app/astakos/im/templates/im/projects/search_form.html
1 1
<div class="search-projects">
2
	<p>Search for existing Projects and join the ones you like. Please search by Project name. </p>
3
	<form action="{% url project_search %}" method="post" class="withlabels signup submit-inline">{% csrf_token %}
4
	    {% include "im/form_render.html" %}
5
	    <div class="form-row submit">
6
	        <input type="submit" class="submit altcol" value="SEARCH" />
7
	        {% if q %}<a href="{% url project_search %}">clear</a>{% endif %}
8
	    </div>
9
	</form>
2
	<p>Search for existing Projects and join the ones you like. </p><br>
10 3
</div>
11 4

  

Also available in: Unified diff