Subversion Repositories ALCASAR

Rev

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

Rev 703 Rev 720
Line 39... Line 39...
39
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
39
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
40
<!-- include default CSS -->
40
<!-- include default CSS -->
41
<link rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/default.css" type="text/css">
41
<link rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/default.css" type="text/css">
42
<!-- include JQUERY UI CSS -->
42
<!-- include JQUERY UI CSS -->
43
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/ui-lightness/jquery-ui-1.8.10.custom.css">
43
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/ui-lightness/jquery-ui-1.8.10.custom.css">
-
 
44
<!-- include tablesorter CSS -->
-
 
45
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/tablesorter-blue/style.css">
44
<!-- include custom page CSS -->
46
<!-- include custom page CSS -->
45
<style type="text/css">
47
<style type="text/css">
46
 
48
 
47
</style>
49
</style>
48
<!-- include JQUERY -->
50
<!-- include JQUERY -->
49
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-1.5.min.js"></script>
51
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-1.5.min.js"></script>
50
<!-- include JQUERY UI -->
52
<!-- include JQUERY UI -->
51
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-ui-1.8.10.all.min.js"></script>
53
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-ui-1.8.10.all.min.js"></script>
-
 
54
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.min.js"></script>
-
 
55
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.pager.js"></script>
-
 
56
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.dataTables.min.js"></script>
52
<!-- include page javascript -->
57
<!-- include page javascript -->
53
<script type="text/javascript">
58
<script type="text/javascript">
-
 
59
	var table_data_lang = {
-
 
60
		"sProcessing": "Patientez...",
-
 
61
		"sLengthMenu": "Afficher _MENU_ enregistrements",
-
 
62
		"sZeroRecords": "Aucun enregistrement disponible.",
-
 
63
		"sInfo": "_START_ à _END_ sur _TOTAL_ enregistrements",
-
 
64
		"sInfoEmpty": "0 à 0 sur 0 enregistrement",
-
 
65
		"sInfoFiltered": "(Filtré à partir de _MAX_  enregistrements)",
-
 
66
		"sInfoPostFix": "",
-
 
67
		"sSearch": "Recherche : ",
-
 
68
		"sUrl": "",
-
 
69
		"oPaginate": {
-
 
70
			"sFirst":    "Première page",
-
 
71
			"sPrevious": "Page précédente",
-
 
72
			"sNext":     "Page suivante",
-
 
73
			"sLast":     "Dernière page"
-
 
74
		}
-
 
75
	};
54
 
76
	
-
 
77
	$(document).ready(function(){
-
 
78
		// buttons
-
 
79
		$( "button, input:submit, input:button, input:reset").button();
-
 
80
		// Directories table		
-
 
81
		$('#activity_table').dataTable(
-
 
82
		{
-
 
83
			// fonction suivante permet d'avoir une colone numérotée dynamiquement (non triable)
-
 
84
			"fnDrawCallback": function ( oSettings ) {
-
 
85
				/* Need to redo the counters if filtered or sorted */
-
 
86
				if ( oSettings.bSorted || oSettings.bFiltered )
-
 
87
				{
-
 
88
					for ( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ )
-
 
89
					{
-
 
90
						$('td:eq(0)', oSettings.aoData[ oSettings.aiDisplay[i] ].nTr ).html( i+1 );
-
 
91
					}
-
 
92
				}
-
 
93
			},
-
 
94
			"aoColumnDefs": [
-
 
95
				{ "bSortable": false, "aTargets": [ 0 ] }
-
 
96
			],
-
 
97
			"aaSorting": [[ 1, 'asc' ]]
-
 
98
			//fin 			
-
 
99
			,"oLanguage": table_data_lang
-
 
100
		});
-
 
101
	});
55
</script>
102
</script>
56
</head>
103
</head>
57
<body>
104
<body>
-
 
105
<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">
-
 
106
		<span class="ui-dialog-title" id="ui-dialog-title-dialog">ACTIVITY PAGE</span>
-
 
107
	</div>
-
 
108
	<br />
-
 
109
	Activité sur le réseau de consultation.<br />
-
 
110
	Cette page est rafraichie toutes les 30 secondes.<br />
-
 
111
	<font color="red">Fonctions prochainement disponibles.</font><br />
-
 
112
 
-
 
113
	<div>
-
 
114
	<table id="activity_table" cellspacing="1" class="tablesorter" border="0" width="100%">
-
 
115
		<thead>
-
 
116
			<tr>
-
 
117
				<th width="20">#</th><th width="200">Adresse IP</th><th width="100">Adresse MAC</th><th>Usager</th><th>Actions</th>
-
 
118
			</tr>
-
 
119
		</thead>
-
 
120
		<tfoot>
-
 
121
			<tr>
-
 
122
				<th width="20">#</th><th width="200">Adresse IP</th><th width="100">Adresse MAC</th><th>Usager</th><th>Actions</th>
-
 
123
			</tr>
-
 
124
		</tfoot>
-
 
125
		<tbody>
-
 
126
		<?php
-
 
127
		/*
58
<h1>ACTIVITY PAGE</h1>
128
		foreach ($groups as $group){
-
 
129
			echo "<tr><td></td><td>".$group['name']."</td><td>".$group['nb_users']."</td><td><font color=red>ND</font></td></tr>";
-
 
130
		}
-
 
131
		*/
-
 
132
		?>
-
 
133
		</tbody>
-
 
134
	</table>
-
 
135
	</div>
59
</body>
136
</body>
60
</html>
137
</html>
61
 
138