aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/website_import_tools.tpl
blob: d4360f634975621b624c31b24c008303097c6689 (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
<div id="website-import-tools" class="widget">
	<h3>{{$title}}</h3>
	<ul class="nav nav-pills nav-stacked">
		<li>
			<a href="#" onclick="openClose('import-form'); return false;"><i class="fa fa-cloud-upload generic-icons"></i> {{$import_label}}</a>
		</li>
		<form id="import-form" enctype="multipart/form-data" method="post" action="" style="display: none;" class="sub-menu">
            <!--
            <p class="descriptive-text">{{$file_import_text}}</p>
            <div class="form-group">
				<select id="import" name="target" class="form-control">
					<option value="">{{$import_placeholder}}</option>
				</select>
			</div>
            -->
            <!-- Or download from another channel cloud files -->
            <p class="descriptive-text">{{$file_remote_text}}</p>
            <div class="form-group">
                <div class="input-group">
                    <input class="widget-input" type="text" name="url" title="{{$hint}}" placeholder="{{$desc}}" />
                    <div class="input-group-btn">
                        <button class="btn btn-default btn-sm" type="submit" name="remotesubmit" value="{{$follow}}"><i class="fa fa-cloud-download generic-icons"></i></button>
                    </div>
                </div>
            </div>
            <!-- Or upload a zipped file containing the website -->
            <p class="descriptive-text">{{$file_upload_text}}</p>
			<div class="form-group">
				<input id="website-upload-choose" type="file" name="zip_file" />
			</div>
			<button class="btn btn-primary btn-sm" type="submit" name="w_upload" value="w_upload">Upload</button>
		</form>
	</ul>
</div>