-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from hotspotbilling/development
Import Hotspot and PPOE Package and Users
- Loading branch information
Showing
4 changed files
with
204 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{include file="sections/header.tpl"} | ||
|
||
<form class="form-horizontal" method="post" role="form" action="{$_url}plugin/mikrotik_import_start_ui"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12"> | ||
<div class="panel panel-primary panel-hovered panel-stacked mb30"> | ||
<div class="panel-heading">Information</div> | ||
<div class="panel-body"> | ||
<ol> | ||
<li>This Plugin only import Packages and Users</li> | ||
<li>Active package will not be imported</li> | ||
<li>You must Refill the user or User buy new package</li> | ||
</ol> | ||
</div> | ||
</div> | ||
<div class="panel panel-primary panel-hovered panel-stacked mb30"> | ||
<div class="panel-heading">Import User and Packages from Mikrotik</div> | ||
<div class="panel-body"> | ||
<div class="form-group"> | ||
<label class="col-md-2 control-label">{$_L['Type']}</label> | ||
<div class="col-md-6"> | ||
<input type="radio" id="Hot" name="type" value="Hotspot"> {$_L['Hotspot_Plans']} | ||
<input type="radio" id="POE" name="type" value="PPPOE"> {$_L['PPPOE_Plans']} | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-md-2 control-label">{$_L['Routers']}</label> | ||
<div class="col-md-6"> | ||
<select id="server" required name="server" class="form-control"> | ||
<option value=''>{$_L['Select_Routers']}</option> | ||
</select> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-lg-offset-2 col-lg-10"> | ||
<button class="btn btn-success waves-effect waves-light" type="submit">Import User</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
{include file="sections/footer.tpl"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{include file="sections/header.tpl"} | ||
|
||
<form class="form-horizontal" method="post" role="form" action="{$_url}settings/app-post"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12"> | ||
<div class="panel panel-primary panel-hovered panel-stacked mb30"> | ||
<div class="panel-heading">Information</div> | ||
<div class="panel-body"> | ||
After import, you need to configure Packages, set time limit | ||
</div> | ||
</div> | ||
<div class="panel panel-primary panel-hovered panel-stacked mb30"> | ||
<div class="panel-heading">Package import</div> | ||
<div class="panel-body"> | ||
<ol> | ||
{foreach $results as $result} | ||
<li>{$result}</li> | ||
{/foreach} | ||
</ol> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
{include file="sections/footer.tpl"} |