create.tpl
2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{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"> <span id="datum"> </span> </span><span id="month"> </span>
</td>
<td id="time-container">
<span id="hour"> </span> : <span id="minute"> </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"}