<?php
	$this->load->view(
		'templates/FHC-Header',
		array(
			'title' => 'Benutzer in Gruppe',
			'jquery3' => true,
			'jqueryui1' => true,
			'bootstrap3' => true,
			'fontawesome4' => true,
			'sbadmintemplate3' => true,
			'tablesorter2' => true,
			'ajaxlib' => true,
			'dialoglib' => true,
			'navigationwidget' => true,
			'phrases' => array(
				'gruppenmanagement',
				'ui'
			),
			'customCSSs' => 'public/css/sbadmin2/tablesort_bootstrap.css',
			'customJSs' => array('public/js/bootstrapper.js', 'public/js/tablesort/tablesort.js', 'public/js/person/benutzergruppe.js')
		)
	);
?>

	<div id="wrapper">

		<?php echo $this->widgetlib->widget('NavigationWidget'); ?>

		<div id="page-wrapper">
			<div class="container-fluid">
				<div class="row">
					<div class="col-lg-12">
						<h3 class="page-header">
							<?php echo ucfirst($this->p->t('gruppenmanagement', 'benutzergruppe')).' '.$gruppe_kurzbz ?>
						</h3>
					</div>
				</div>
				<div class="row">
					<div class="col-lg-12">
						<div class="form-inline">
							<div class="input-group" id="absgstatusgrselect_137998">
								<input type="text" class="form-control" name="teilnehmerSelect" id="teilnehmerSelect">
								<input type="hidden" name="teilnehmer_uid" id="teilnehmer_uid">
								<input type="hidden" name="gruppe_kurzbz" id="gruppe_kurzbz" value="<?php echo $gruppe_kurzbz ?>">
								<span class="input-group-btn">
									<button type="button" class="btn btn-default" id="teilnehmerHinzufuegen">
										<?php echo $this->p->t('gruppenmanagement', 'benutzerHinzufuegen') ?>
									</button>
								</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-lg-12">
						<table class="table table-bordered table-condensed table-responsive" id="benutzer-table">
							<thead>
								<th>Uid</th>
								<th><?php echo ucfirst($this->p->t('person', 'vorname')); ?></th>
								<th><?php echo ucfirst($this->p->t('person', 'nachname')); ?></th>
								<th><?php echo ucfirst($this->p->t('gruppenmanagement', 'aktiv')); ?></th>
								<th><?php echo ucfirst($this->p->t('ui', 'entfernen')); ?></th>
							</thead>
							<tbody>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>

<?php $this->load->view('templates/FHC-Footer'); ?>
