-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpermexport.tpl
53 lines (53 loc) · 2.13 KB
/
permexport.tpl
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
<section class="content container-fluid">
<div class="col-xs-12 col-xs-offset-0 col-sm-10 col-sm-offset-1 col-md-10 col-md-offset-1 col-lg-10 col-lg-offset-1 no-padding">
{if !empty($error)}
<div class="alert alert-danger">{$error}</div>
{/if}
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title">{$lang['permexport']}</h3>
</div>
<div class="box-body">
<p>{$lang['permexdesc']}</p>
<form method="post" action="index.php?site=permexport&sid={$sid}">
<table class="table table-striped">
<tr>
<th><label for="new_sourcemode">{$lang['sourcetype']}</label></th>
<td>
<select class="form-control" id="new_sourcemode" name="sourcemode">
<option value="1">{$lang['servergroup']}</option>
<option value="2">{$lang['channelgroup']}</option>
<option value="3">{$lang['channel']}</option>
<option value="4">{$lang['client']}</option>
</select>
</td>
</tr>
<tr>
<th><label for="new_sourceid">{$lang['sourceid']}</label></th>
<td><input type="text" class="form-control" id="new_sourceid" name="sourceid" /></td>
</tr>
<tr>
<th><label for="new_targetmode">{$lang['targettype']}</label></th>
<td>
<select class="form-control" id="new_targetmode" name="targetmode">
<option value="1">{$lang['servergroup']}</option>
<option value="2">{$lang['channelgroup']}</option>
<option value="3">{$lang['channel']}</option>
<option value="4">{$lang['client']}</option>
</select>
</td>
</tr>
<tr>
<th><label for="new_targetid">{$lang['targetid']}</label></th>
<td><input type="text" name="targetid" class="form-control" id="new_targetid" /></td>
</tr>
</table>
<input class="btn btn-primary btn-flat btn-block" type="submit" name="showcommands" value="{$lang['view']}" />
{if isset($smarty.post.showcommands) AND empty($error)}
<textarea name="showfield" cols="50" rows="10" readonly class="form-control resize-vert">{$permexport}</textarea>
{/if}
</form>
</div>
</div>
</div>
</section>