Subversion Repositories ALCASAR

Rev

Rev 596 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 596 Rev 600
Line 13... Line 13...
13
<link rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/default.css" type="text/css">
13
<link rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/default.css" type="text/css">
14
<!-- include JQUERY UI CSS -->
14
<!-- include JQUERY UI CSS -->
15
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/ui-lightness/jquery-ui-1.8.10.custom.css">
15
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/ui-lightness/jquery-ui-1.8.10.custom.css">
16
<!-- include tablesorter CSS -->
16
<!-- include tablesorter CSS -->
17
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/tablesorter-blue/style.css">
17
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/tablesorter-blue/style.css">
-
 
18
 
-
 
19
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/datatables/css/demo_table.css">
18
<!-- include custom page CSS -->
20
<!-- include custom page CSS -->
19
<style type="text/css">
21
<style type="text/css">
20
	div#users-contain { width: 450px; margin: 20px 0; }
22
	div#users-contain { width: 450px; margin: 20px 0; }
21
	div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
23
	div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
22
	div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
24
	div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
23
	div#users-contain table th { ui-widget-header }
25
	div#users-contain table th { ui-widget-header }
-
 
26
	
-
 
27
	.dataTables_filter {
-
 
28
    float: left;
-
 
29
    text-align: left;
-
 
30
    width: 220px;
-
 
31
}
24
</style>
32
</style>
25
<!-- include JQUERY -->
33
<!-- include JQUERY -->
26
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-1.5.min.js"></script>
34
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-1.5.min.js"></script>
27
<!-- include JQUERY UI -->
35
<!-- include JQUERY UI -->
28
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-ui-1.8.10.all.min.js"></script>
36
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-ui-1.8.10.all.min.js"></script>
29
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.min.js"></script>
37
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.min.js"></script>
30
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.pager.js"></script>
38
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.pager.js"></script>
31
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.quicksearch.js"></script>
39
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.quicksearch.js"></script>
-
 
40
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.dataTables.min.js"></script>
32
<!-- include page javascript -->
41
<!-- include page javascript -->
33
<script type="text/javascript">
42
<script type="text/javascript">
-
 
43
	var table_data_lang = {
-
 
44
		/*
-
 
45
			//"sUrl": "media/language/de_DE.txt"
-
 
46
			"sProcessing": "Bitte warten...",
-
 
47
			"sLengthMenu": "_MENU_ Einträge anzeigen",
-
 
48
			"sZeroRecords": "Keine Einträge vorhanden.",
-
 
49
			"sInfo": "_START_ bis _END_ von _TOTAL_ Einträgen",
-
 
50
			"sInfoEmpty": "0 bis 0 von 0 Einträgen",
-
 
51
			"sInfoFiltered": "(gefiltert von _MAX_  Einträgen)",
-
 
52
			"sInfoPostFix": "",
-
 
53
			"sSearch": "Suchen",
-
 
54
			"sUrl": "",
-
 
55
			"oPaginate": {
-
 
56
				"sFirst":    "Erster",
-
 
57
				"sPrevious": "Zurück",
-
 
58
				"sNext":     "Nächster",
-
 
59
				"sLast":     "Letzter"
-
 
60
			}
-
 
61
			*/
-
 
62
			"sProcessing": "Patientez...",
-
 
63
			"sLengthMenu": "Afficher _MENU_ enregistrements",
-
 
64
			"sZeroRecords": "Aucun enregistrement disponible.",
-
 
65
			"sInfo": "_START_ à _END_ sur _TOTAL_ enregistrements",
-
 
66
			"sInfoEmpty": "0 à 0 sur 0 enregistrement",
-
 
67
			"sInfoFiltered": "(Filtré à partir de _MAX_  enregistrements)",
-
 
68
			"sInfoPostFix": "",
-
 
69
			"sSearch": "Recherche : ",
-
 
70
			"sUrl": "",
-
 
71
			"oPaginate": {
-
 
72
				"sFirst":    "Première page",
-
 
73
				"sPrevious": "Page précédente",
-
 
74
				"sNext":     "Page suivante",
-
 
75
				"sLast":     "Dernière page"
-
 
76
			}
-
 
77
		};
-
 
78
		
34
	$(document).ready(function(){
79
	$(document).ready(function(){
35
		// Tabs
80
		// Tabs
36
		$('#tabs-users').tabs();
81
		$('#tabs-users').tabs();
37
		// buttons
82
		// buttons
38
		$( "button, input:submit, input:button, input:reset").button();
83
		$( "button, input:submit, input:button, input:reset").button();
39
		// Users table
84
		// Users table
-
 
85
		/*
40
		$("#test") 
86
		$("#test") 
41
		.tablesorter({widthFixed: true, widgets: ['zebra']}) 
87
		.tablesorter({widthFixed: true, widgets: ['zebra']}) 
42
		.tablesorterPager({container: $("#pager")});
88
		.tablesorterPager({container: $("#pager")});
-
 
89
		*/
-
 
90
		
-
 
91
		//$('input#searchtest').quicksearch('table#test tbody tr');
-
 
92
		
-
 
93
		$('#users_table').dataTable(
-
 
94
		{
-
 
95
			// fonction suivante permet d'avoir une colone numéroté dynamiquement (non triable)
-
 
96
			"fnDrawCallback": function ( oSettings ) {
-
 
97
				/* Need to redo the counters if filtered or sorted */
-
 
98
				if ( oSettings.bSorted || oSettings.bFiltered )
-
 
99
				{
-
 
100
					for ( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ )
-
 
101
					{
-
 
102
						$('td:eq(0)', oSettings.aoData[ oSettings.aiDisplay[i] ].nTr ).html( i+1 );
-
 
103
					}
-
 
104
				}
-
 
105
			},
-
 
106
			"aoColumnDefs": [
-
 
107
				{ "bSortable": false, "aTargets": [ 0 ] }
-
 
108
			],
-
 
109
			"aaSorting": [[ 1, 'asc' ]],
-
 
110
			//fin 			
-
 
111
			/*
-
 
112
				"bPaginate":	true,	//	Active la pagination (10 par défaut)
-
 
113
				"bLengthChange":true,	//	Affiche le choix du nombre de résultat affiché
-
 
114
				"bFilter":		true,	//  Affiche le champ de recherche (filtre)
-
 
115
				"bSort":		true,	//	Active la possibilité de trie
-
 
116
				"bInfo":		true,	//	Affiche le nombre de résultat affiché et total
-
 
117
				"bAutoWidth":	true	//	?
-
 
118
					
-
 
119
				"bJQueryUI": true,	//	pour utiliser les styles JQUERY UI
-
 
120
				"sPaginationType": "full_numbers", // affiche la pagination en nombre de page
-
 
121
			
-
 
122
				"bProcessing": true,	// active source de donnée AJAX
-
 
123
				"bServerSide": true,	// pagnination, filtre, etc... du coté du serveur
-
 
124
				"sAjaxSource": "../examples_support/server_processing.php",	// URL de la source de donnée (SI AJAX activé!)
-
 
125
			*/
-
 
126
			"oLanguage": table_data_lang
-
 
127
		});
-
 
128
		
43
		
129
		
-
 
130
		$('#users_table_filter').after('<div style="float:left"><a href="javascript:alert(\'Fonction prochainement dispobible.\');" title="Recherche avancée">Avancée</a></div>');
-
 
131
		
-
 
132
		
-
 
133
		$('#vouchers_table').dataTable({
-
 
134
		
-
 
135
		// fonction suivante permet d'avoir une colone numéroté dynamiquement (non triable)
-
 
136
		"fnDrawCallback": function ( oSettings ) {
44
		$('input#searchtest').quicksearch('table#test tbody tr');
137
			/* Need to redo the counters if filtered or sorted */
-
 
138
			if ( oSettings.bSorted || oSettings.bFiltered )
-
 
139
			{
-
 
140
				for ( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ )
-
 
141
				{
-
 
142
					$('td:eq(0)', oSettings.aoData[ oSettings.aiDisplay[i] ].nTr ).html( i+1 );
-
 
143
				}
-
 
144
			}
-
 
145
		},
-
 
146
		"aoColumnDefs": [
-
 
147
			{ "bSortable": false, "aTargets": [ 0 ] }
-
 
148
		],
-
 
149
		"aaSorting": [[ 1, 'asc' ]],
-
 
150
		//fin
-
 
151
		});
45
	});
152
	});
46
</script>
153
</script>
47
</head>
154
</head>
48
<body>
155
<body>
49
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">
156
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">
Line 57... Line 164...
57
		<li><a href="#tabs3">Profils</a></li>
164
		<li><a href="#tabs3">Profils</a></li>
58
	</ul>
165
	</ul>
59
	<div id="tabs1">
166
	<div id="tabs1">
60
		<div>
167
		<div>
61
		Un usager est un utilisateur standard de votre réseau de consultation.<br>
168
		Un usager est un utilisateur standard de votre réseau de consultation.<br>
62
		<font color="red">ATTENTION POUR DEMONSTRATION DES OPTIONS A UTILISER (exemple avec bug)</font>
169
		<font color="red">ATTENTION POUR DEMONSTRATION DES OPTIONS A UTILISER. Données locales dans l'exemple, gérées par le serveur (AJAX) en production</font>
63
		</div>
170
		</div>
-
 
171
		
64
		<br>
172
		<br>
65
		<div id="rechercher_usager_box" style="float:left;">
-
 
66
		<form name="searchform">
-
 
67
			<label for="searchtest">Recherche :</label>
-
 
68
			<input type="text" id="searchtest" value="">
-
 
69
			<a href="" title="Recherche avancée">Avancée</a>
-
 
70
		</form>
-
 
71
		</div>
-
 
72
		<div style="float:right;">
-
 
73
		<form name="searchform">
-
 
74
			<input type="button" value="Nouvel usager">
-
 
75
		</form>
-
 
76
		</div>
-
 
77
		<table id="test" cellspacing="1" class="tablesorter" border="0" width="100%">
173
		<table id="users_table" cellspacing="1" class="tablesorter" border="0" width="100%">
78
		<thead>
174
		<thead>
79
			<tr>
175
			<tr>
80
				<th width="20">#</th><th width="200">Usagers</th><th>Nom, prénom</th><th width="100">Date validitée</th>
176
				<th width="20">#</th><th width="200">Usagers</th><th>Nom, prénom</th><th width="100">Date validitée</th>
81
			</tr>
177
			</tr>
82
		</thead>
178
		</thead>
Line 284... Line 380...
284
				<td>monsieur anonyme</td>
380
				<td>monsieur anonyme</td>
285
				<td>30/07/2011</td>
381
				<td>30/07/2011</td>
286
			</tr>
382
			</tr>
287
		</tbody>
383
		</tbody>
288
		</table>
384
		</table>
289
		
385
			
290
		<div id="pager" class="pager">
-
 
291
			<form>
-
 
292
				<img src="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/first.png" class="first"/>
-
 
293
				<img src="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/prev.png" class="prev"/>
-
 
294
				<input type="text" class="pagedisplay" size="5"/>
-
 
295
				<img src="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/next.png" class="next"/>
-
 
296
				<img src="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/last.png" class="last"/>
-
 
297
				<select class="pagesize">
-
 
298
					<option selected="selected"  value="10">10</option>
-
 
299
					<option value="20">20</option>
-
 
300
					<option value="30">30</option>
-
 
301
					<option  value="40">40</option>
-
 
302
				</select>
-
 
303
			</form>
-
 
304
		</div>
-
 
305
		<br><br><br>
386
		<br><br><br>
306
	</div>
387
	</div>
307
	<div id="tabs2">
388
	<div id="tabs2">
308
		<div>
389
		<div>
309
		Un "Voucher" est un compte d'accès de type "pré-payé" qui dépend d'une durée d'utilisation ou d'un délai dans le temps.
390
		Un "Voucher" est un compte d'accès de type "pré-payé" qui dépend d'une durée d'utilisation ou d'un délai dans le temps.
310
		</div>
391
		</div>
-
 
392
		<br>
-
 
393
		<table id="vouchers_table" cellspacing="1" class="tablesorter" border="0" width="100%">
-
 
394
		<!--
-
 
395
		<thead>
-
 
396
			<tr>
-
 
397
				<th width="20">#</th>
-
 
398
				<th>Vouchers</th>
-
 
399
				<th>Description</th>
-
 
400
				<th>Nom complet (identifier la personne)</th>
-
 
401
				<th>Date validitée</th>
-
 
402
			</tr>
-
 
403
		</thead>
-
 
404
		<tfoot>
-
 
405
			<tr>
-
 
406
				<th width="20">#</th>
-
 
407
				<th>Vouchers</th>
-
 
408
				<th>Description</th>
-
 
409
				<th>Nom complet (identifier la personne)</th>
-
 
410
				<th>Date validitée</th>
-
 
411
			</tr>
-
 
412
		</tfoot>
-
 
413
		-->
-
 
414
		<thead>
-
 
415
			<tr>
-
 
416
				<th width="20">#</th><th width="200">Usagers</th><th>Nom, prénom</th><th width="100">Date validitée</th>
-
 
417
			</tr>
-
 
418
		</thead>
-
 
419
		<tfoot>
-
 
420
			<tr>
-
 
421
				<th width="20">#</th><th width="200">Usagers</th><th>Nom, prénom</th><th width="100">Date validitée</th>
-
 
422
			</tr>
-
 
423
		</tfoot>
-
 
424
		<tbody>
-
 
425
		<!--
-
 
426
			<tr><td>1</td><td><a href="user.php">cfjdjpjsdpajdazpjpaz</a></td><td><br /></td><td><br /></td><td><br /></td></tr>
-
 
427
			<tr><td>2</td><td>cfjdjpjsdpajdazpjpaz</td><td><br /></td><td><br /></td><td><br /></td></tr>
-
 
428
			<tr><td>3</td><td>casas456defe5zsd6saz</td><td><br /></td><td><br /></td><td><br /></td></tr>
-
 
429
			<tr><td>4</td><td>cfjdjpjsdddzd54zsd5q</td><td><br /></td><td><br /></td><td><br /></td></tr>
-
 
430
			<tr><td>5</td><td>cfd5d1s5d5df5fzpjpaz</td><td><br /></td><td><br /></td><td><br /></td></tr>
311
	
431
		-->
-
 
432
		</tbody>
-
 
433
		</table>
312
	</div>
434
	</div>
313
	<div id="tabs3">
435
	<div id="tabs3">
314
		<div>
436
		<div>
315
		Afin de gagner du temps dans la création des comptes usagers et vouchers, vous avez la possibilité de prédéfinir des profils de création de compte.
437
		Afin de gagner du temps dans la création des comptes usagers et vouchers, vous avez la possibilité de prédéfinir des profils de création de compte.
316
		</div>
438
		</div>