create.tpl 2.45 KB
{include file="tpl/header.tpl"}

<div id="wrapper">
	{include file="tpl/admin_sidebar_wrapper.tpl"}

	<!-- menu tray -->
	<div class="container-fluid" id="menu-tray">
		<div class="col-xs-12">
			<a href="#menu-toggle" id="menu-toggle"><i class="fa fa-bars fa-2x icon pull-left"></i></a>
		</div>
	</div>

	<div id="page-content-wrapper">
		<div class="pull-right">
			<!-- In this table we display the date and time (desktop devices only) -->
			<table id="datetime">
				<tr>
					<td id="date-container">
						<span id="day"></span><br><span id="datetime-number">&nbsp;<span id="datum">&nbsp;</span>&nbsp;</span><span id="month">&nbsp;</span>&nbsp;
					</td>
					<td id="time-container">
						<span id="hour">&nbsp;</span>&nbsp;:&nbsp;<span id="minute">&nbsp;</span>
					</td>
				</tr>
			</table>
		</div>

		<div id="container2">
			<h1 id="container2-header">Slimspots Wiki - Create</h1>
		</div>

		<div class="row">
			<div class="col-lg-12">
				<form class="form-horizontal" method="get" action="create.php">
					<div class="panel panel-default">
						<div class="panel-heading">Create</div>
						<div class="panel-body">
							<div class="form-group">
								<label class="col-sm-4 control-label">Create a new:</label>
								<div class="col-sm-8">
									<select id="select_option" class="form-control" name="select_option">
										<option value="page">Page</option>
										<option value="section">Section</option>
									</select>
								</div>
							</div>

							<div class="methode display-none" id="section">
								<div class="form-group">
									<label class="col-sm-4 control-label">Page to add the section to:</label>
									<div class="col-sm-8">
										<select class="form-control" name="page_to_add_section_to" id="page_to_add_section_to">
											{foreach from=$db_page_title item=title}
											<option value='{$title}'>{$title}</option>
											{/foreach}
										</select>
									</div>
								</div>
							</div>


							<div class="form-group">
								<label class="col-sm-4 control-label">Title:</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" name="title" />
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-4">
									<button class="btn dark-blue" type="submit" name="btn_submit">Submit</button>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>

{include file="tpl/footer.tpl"}