Example #1
0
				<div>
					<p>It seems like you did not yet setup the WebUI. Let's get started with that right now.</p>

					<h3>Preperation / checklist</h3>
					<ul id="check-list-box" class="list-group checked-list-box">
						<li class="list-group-item list-group-item-<?php 
echo checkCache() ? 'success' : 'danger';
?>
">Make sure the <kbd>cache</kbd> directory is writeable and readable.</li>
						<li class="list-group-item list-group-item-<?php 
echo checkSettingsFileExistance() ? 'success' : 'danger';
?>
">Rename the <kbd>settingsRename.php</kbd> file to <kbd>settings.php</kbd>.</li>
						<li class="list-group-item list-group-item-<?php 
echo checkSettingsFileWriteable() ? 'success' : 'danger';
?>
">Make sure the <kbd>settings.php</kbd> file is writeable and readable.</li>
						<li class="list-group-item list-group-item-<?php 
echo checkWeakPassword() ? 'success' : 'danger';
?>
">Open your <kbd>settings.php</kbd> with an editor (such as Notepad++) and adjust the settings. Make sure to set a strong password!</li>
					</ul>
					<a href="index.php?action=firstrun" class="btn btn-default"><i class="glyphicon glyphicon-check"></i> Run check</a>
					<?php 
if (!@$failed && isset($_GET['action'])) {
    ?>
						<a href="/" class="btn btn-primary"><i class="glyphicon glyphicon-arrow-left"></i> Back to WebUI</a>
					<?php 
}
?>
Example #2
0
				<div>
					<p>It seems like you did not yet setup the WebUI. Let's get started with that right now.</p>

					<h3>Preperation / checklist</h3>
					<ul id="check-list-box" class="list-group checked-list-box">
						<li class="list-group-item" data-state="<?php 
echo checkCache() ? 'success' : 'failed';
?>
">Make sure the <kbd>cache</kbd> directory is writeable and readable.</li>
						<li class="list-group-item" data-state="<?php 
echo checkSettingsFileExistance() ? 'success' : 'failed';
?>
">Rename the <kbd>settingsRename.php</kbd> file to <kbd>settings.php</kbd>.</li>
						<li class="list-group-item" data-state="<?php 
echo checkSettingsFileWriteable() ? 'success' : 'failed';
?>
">Make sure the <kbd>settings.php</kbd> file is writeable and readable.</li>
						<li class="list-group-item" data-state="<?php 
echo checkWeakPassword() ? 'success' : 'failed';
?>
">Open your <kbd>settings.php</kbd> with an editor (such as Notepad++) and adjust the settings. Make sure to set a strong password!</li>
					</ul>
					<a href="index.php?action=firstrun" class="btn btn-default"><i class="glyphicon glyphicon-check"></i> Run check</a>
					<?php 
if (!$failed && isset($_GET['action'])) {
    ?>
						<a href="/" class="btn btn-primary"><i class="glyphicon glyphicon-arrow-left"></i> Back to WebUI</a>
					<?php 
}
?>