<?php echo $this->partial('Layout/nav'); ?>

<div class="container">
	<div class="container-page-wrapper shodowed bordered">
		<div class="container-page-container">
			<div class="row">
				<div class="col-lg-8">
					<h1><?php echo $this->actionTitle; ?></h1>
				</div>
				<div class="col-lg-4 clearfix">
				</div>
			</div>
			<hr>
			
			<?php //debug($this->view->requests); ?>
			
			<form>
				<div class="form-group">
					<label for=""><?php echo _('Users'); ?></label>
					<select class="form-control" id="rqs-lgs-user">
						<option value="0"><?php echo _('All'); ?></option>
						<?php foreach($this->view->users as $user): ?>
							<option value="<?php echo $user['id']; ?>"><?php echo $user['surname'], ' ', $user['name'], ' (', $user['username'], ')'; ?></option>
						<?php endforeach; ?>
					</select>
				</div>
				<div class="form-group">
					<label for=""><?php echo _('Requests'); ?></label>
					<select class="form-control" id="rqs-lgs-id">
						<option value="0"><?php echo _('All'); ?></option>
						<?php foreach($this->view->requests as $request): ?>
							<option value="<?php echo $request['id']; ?>"><?php echo '#', $request['id']; ?></option>
						<?php endforeach; ?>
					</select>
				</div>
				
				<button type="button" class="btn btn-primary btn-rqst-dwnl-logs mb-2"><?php echo _('Download'); ?></button>
			</form>
		</div>
	</div>
</div>