aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/webpage_export_list.tpl
blob: b22b3818a475c5848864e968aa5ae7666620a3e8 (plain) (blame)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<div class="generic-content-wrapper">
		<form action="" method="post" autocomplete="on" >
		<input type="hidden" name="action" value="{{$action}}">
		<div class="section-title-wrapper">
			<div class="pull-right">				
					<button class="btn btn-md btn-success" type="submit" name="submit" value="{{$exportbtn}}">{{$exportbtn}}</button>
			</div>
			<h2>{{$title}}</h2>
			<div class="clear"></div>
		</div>
		<div id="import-website-content-wrapper" class="section-content-wrapper">
				<div class="pull-left">
						<button id="toggle-select-all" class="btn btn-sm btn-primary" onclick="checkedAll(window.isChecked); return false;"><i class="fa fa-check"></i>&nbsp;Toggle Select All</button>
				</div>
				<div class="clear"></div>
				<hr>
				<!--<h4>Pages</h4>-->
				<div>
				<table class="table-striped table-responsive table-hover" style="width: 100%;">
						<thead>
								<tr><th></th><th>Page Link</th><th>Page Title</th><th>Type</th></tr>
						</thead>
						{{foreach $pages as $page}}
								<tr>
									<td width="30px" style="padding-right: 20px;">
										<div class='squaredThree'>
										<input type="checkbox" id="page_{{$page.mid}}" name="page[]" value="{{$page.mid}}">
										<label for="page_{{$page.mid}}"></label>
										</div>
									</td>
									<td width="30%">
										<div class="desc">
											{{$page.pagetitle}}<br>
										</div>
									</td>
									<td width="55%">
										<div class='desc'>
											{{$page.title}}<br>
										</div>
									</td>
									<td width="15%">
										<div class='desc'>
											{{$page.mimetype}}<br>
										</div>
									</td>
								</tr>
						{{/foreach}}
				</table>
				</div>
				<hr>
				<div class="clear"></div>
				<!--<h4>Layouts</h4>-->
				<div>
				<table class="table-striped table-responsive table-hover" style="width: 100%;">
						<thead>
								<tr><th width="20px"></th><th>Layout Name</th><th>Layout Description</th><th>Type</th></tr>
						</thead>
						{{foreach $layouts as $layout}}
								<tr>
									<td width="30px" style="padding-right: 20px;">
										<div class='squaredThree'>
										<input type="checkbox" id="layout_{{$layout.mid}}" name="layout[]" value="{{$layout.mid}}">
										<label for="layout_{{$layout.mid}}"></label>
										</div>
									</td>
									<td width="30%">
										<div class="desc">
											{{$layout.name}}<br>
										</div>
									</td>
									<td width="55%">
										<div class='desc'>
											{{$layout.description}}<br>
										</div>
									</td>
									<td width="15%">
										<div class='desc'>
											{{$layout.mimetype}}<br>
										</div>
									</td>
								</tr>
						{{/foreach}}
				</table>
				</div>
				<hr>
				<div class="clear"></div>
				<!--<h4>Blocks</h4>-->
				<div>
				<table class="table-striped table-responsive table-hover" style="width: 100%;">
						<thead>
								<tr><th width="30px"></th><th>Block Name</th><th>Block Title</th><th>Type</th></tr>
						</thead>
						{{foreach $blocks as $block}}
								<tr>
									<td width="30px" style="padding-right: 20px;">
										<div class='squaredThree'>
										<input type="checkbox" id="block_{{$block.mid}}" name="block[]" value="{{$block.mid}}">
										<label for="block_{{$block.mid}}"></label>
										</div>
									</td>
									<td width="30%">
										<div class="desc">
											{{$block.name}}<br>
										</div>
									</td>
									<td width="55%">
										<div class='desc'>
											{{$block.title}}<br>
										</div>
									</td>
									<td width=15%">
										<div class='desc'>
											{{$block.mimetype}}<br>
										</div>
									</td>
								</tr>
						{{/foreach}}
				</table>
				</div>
				
		</div>
		</form>
</div>