summaryrefslogblamecommitdiffstats
path: root/modules-available/syslog/templates/heading.html
blob: 8dd3d440d4970dbb1782ecd1dc7f5ec041dc3a3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                         








                                                                                                                                                  




























                                                                                                                                                    


























                                                                                                                                                    

                                   
<div class="page-header">
	<span class="buttonbar pull-right">
		<button type="button" class="btn btn-default" data-toggle="modal" data-target="#modal-export" {{perms.export-user-data.disabled}}>
			<span class="glyphicon glyphicon-export"></span>
			{{lang_userExport}}
		</button>
		<button type="button" class="btn btn-default" data-toggle="modal" data-target="#modal-settings">
			<span class="glyphicon glyphicon-cog"></span> {{lang_settings}}
		</button>
	</span>

	<div id="modal-settings" class="modal fade" role="dialog">
		<div class="modal-dialog">
			<div class="modal-content">
				<form method="post" action="?do=syslog">
					<input type="hidden" name="token" value="{{token}}">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal">&times;</button>
						<h4 class="modal-title"><b>{{lang_settings}}</b></h4>
					</div>
					<div class="modal-body">
						<p>{{lang_anonDaysDescription}}</p>
						<input {{perms.configure-anonymization.disabled}} class="form-control" type="number" name="anondays"
								value="{{anondays}}" min="0" max="180">
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">{{lang_cancel}}</button>
						<button {{perms.configure-anonymization.disabled}} type="submit"
								class="btn btn-primary">
							<span class="glyphicon glyphicon-floppy-disk"></span>
							{{lang_save}}
						</button>
					</div>
				</form>
			</div>

		</div>
	</div>

	<div id="modal-export" class="modal fade" role="dialog">
		<div class="modal-dialog">
			<div class="modal-content">
				<form method="post" action="api.php?do=syslog">
					<input type="hidden" name="token" value="{{token}}">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal">&times;</button>
						<h4 class="modal-title"><b>{{lang_userExport}}</b></h4>
					</div>
					<div class="modal-body">
						<p>{{lang_exportUserDesc}}</p>
						<label for="export-user-name">{{lang_userLogin}}</label>
						<input id="export-user-name" type="text" name="export-user" class="form-control" style="width:100%">
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">{{lang_cancel}}</button>
						<button type="submit" class="btn btn-primary">
							<span class="glyphicon glyphicon-export"></span>
							{{lang_export}}
						</button>
					</div>
				</form>
			</div>

		</div>
	</div>

	<h1>{{lang_clientLog}}</h1>
</div>