Update v1.0.6.4

This commit is contained in:
sujitprasad
2016-02-24 20:38:42 +05:30
parent d39ef2985d
commit 4270cbcfb3
29 changed files with 700 additions and 198 deletions

View File

@@ -0,0 +1,73 @@
@extends('themes.default1.installer.layout.installer')
@section('serial')
active
@stop
@section('content')
<div class="wc-setup-content" ng-app="myApp">
<h1 style="text-align: center;">Faveo HELPDESK Serial Key</h1>
<p><strong>Please enter your serial key for Faveo HELPDESK PRO</strong></p>
@if(Session::has('success'))
<div class="wc-setup-content">
<div class="woocommerce-message woocommerce-tracker">
<div class="ok">
<span id="fail">{{Session::get('success')}}</span><br/><br/>
</div>
</div>
</div>
@endif
<!-- fail message -->
@if(Session::has('fails'))
<div class="wc-setup-content">
<div class="woocommerce-message woocommerce-tracker">
<div class="fail">
<span id="fail">{{Session::get('fails')}}</span><br/><br/>
</div>
</div>
</div>
@endif
<form action="http://www.faveohelpdesk.com/billing/serial" method="post">
<input type="hidden" name="domain" value="http://{{ $_SERVER['HTTP_HOST'] }}">
<input type="hidden" name="url" value="http://{{$_SERVER['HTTP_HOST']}}{{$_SERVER['REQUEST_URI']}}">
<input type="hidden" name="_token" value="{{csrf_token()}}">
<table ng-controller="AutotabController">
<div>
<p ng-bind="user"></p>
</div>
<tr >
<td style="width: 200px;">
<label for="box1" id="test">Order Number<span style="color: red;font-size:12px;">*</span>
</label>
<br/><br/>
</td>
<td style="">
{!! $errors->first('order_no', '<spam class="help-block">:message</spam>') !!}
<input type="text" name="order_no" style="margin-left:180px;width:274px;" value="010451236">
<br/><br/>
</td>
</tr>
<tr>
<td style="width: 200px;">
<label for="box1" id="test">Serial key<span style="color: red;font-size:12px;">*</span>
</label>
</td>
<td ng-repeat="productKey in productKeys" style="margin-left: 150px;">
{!! $errors->first('serial', '<spam class="help-block">:message</spam>') !!}
<input type="text" name="first" id="productKey1" ng-model="productKey.set1" maxlength="4" size="4" required style="padding: 3px; margin-left: 180px; width: 50px;">&nbsp;-
<input type="text" name="second" id="productKey2" ng-model="productKey.set2" maxlength="4" size="4" required style="padding: 3px; margin-left: 3px; width: 50px;">&nbsp;-
<input type="text" name="third" id="productKey3" ng-model="productKey.set3" maxlength="4" size="4" required style="padding: 3px; margin-left: 3px; width: 50px;">&nbsp;-
<input type="text" name="forth" id="productKey4" ng-model="productKey.set4" maxlength="4" size="4" required style="padding: 3px; margin-left: 3px; width: 50px;">
</td>
</tr>
</table>
<br>
<p class="wc-setup-actions step">
<input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue">
</p>
</form>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="{{asset("lb-faveo/js/jquery.autotab.js")}}"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js"></script>
<script src="{{asset("lb-faveo/js/angular.js")}}" type="text/javascript"></script>
@stop

View File

@@ -13,11 +13,23 @@ active
@stop
@section('content')
<div ng-app="myApp">
@if(Session::has('fails'))
<div class="wc-setup-content">
<div class="woocommerce-message woocommerce-tracker">
<div class="fail">
<span id="fail">{!! Lang::get('lang.fails') !!}! {{Session::get('fails')}}</span><br/><br/>
</div>
</div>
</div>
@endif
<h1 style="text-align: center;">Database Setup</h1>
<p class="wc-setup-content">Below you should enter your database connection details. If youre not sure about these, contact your host.</p>
{!! Form::open(['url'=> '/step4post']) !!}
<table>
<table ng-controller="MainController">
<tr>
<td>
<label for="selectbox1">Database <span style="color
@@ -27,7 +39,6 @@ active
<div class="side-by-side clearfix moveleftthre">
<div>
<select name="default" data-placeholder="Choose a SQL format..." class="chosen-select" style="width:290px;" tabindex="2">
<option value=""></option>
<option value="mysql">MySQL</option>
<option value="pgsql">PgSQL</option>
<option value="sqlsrv">SQLSRV</option>
@@ -35,6 +46,10 @@ active
</div>
</div>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Databasetitle}}" data-content="@{{Databasecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -44,6 +59,10 @@ active
<td>
<input type="text" name="host" required>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Hosttitle}}" data-content="@{{Hostcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -52,6 +71,10 @@ active
<td>
<input type="text" name="port">
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Porttitle}}" data-content="@{{Portcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -61,6 +84,10 @@ active
<td>
<input type="text" name="databasename" required>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Databasenametitle}}" data-content="@{{Databasenamecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -70,6 +97,10 @@ active
<td>
<input type="text" name="username" required>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Usertitle}}" data-content="@{{Usercontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -78,6 +109,10 @@ active
<td>
<input type="text" name="password">
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Passwordtitle}}" data-content="@{{Passwordcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
</table>
<br>
@@ -88,4 +123,7 @@ active
</form>
</div>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js"></script>
<script src="{{asset("lb-faveo/js/angular2.js")}}" type="text/javascript"></script>
</div>
@stop

View File

@@ -195,6 +195,15 @@ $(document).ready(function () {
<div class="woocommerce-message woocommerce-tracker" >
<p id="fail">Database connection unsuccessful. This system does not meet Faveo system requirements</p>
</div>
<p>This either means that the username and password information is incorrect or we can&rsquo;t contact the database server. This could mean your host&rsquo;s database server is down.</p>
<ul>
<li>Are you sure you have the correct username and password?</li>
<li>Are you sure that you have typed the correct hostname?</li>
<li>Are you sure that the database server is running?</li>
</ul>
<p>If you&rsquo;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="http://www.ladybirdweb.com/support">Faveo Support </a>.</p>
<div style="border-bottom: 1px solid #eee;">
<p class="wc-setup-actions step">
<input type="submit" id="submitme" class="button-danger button button-large button-next" style="background-color: #d43f3a;color:#fff;" value="continue" disabled>

View File

@@ -17,11 +17,12 @@ active
@stop
@section('content')
<div class="wc-setup-content">
<div ng-app="myApp">
<h1 style="text-align: center;">Locale Information</h1>
{!! Form::open(['url'=>route('postaccount')]) !!}
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<!-- checking if the form submit fails -->
@if($errors->first('firstname')||$errors->first('Lastname')||$errors->first('email')||$errors->first('username')||$errors->first('password')||$errors->first('confirmpassword'))
<div class="woocommerce-message woocommerce-tracker">
<div class="fail">
@@ -46,10 +47,24 @@ active
</div>
</div>
@endif
</div>
<div class="wc-setup-content">
<!-- checking if the system fails -->
@if(Session::has('fails'))
<div class="woocommerce-message woocommerce-tracker">
<div class="fail">
<span id="fail">{{Session::get('fails')}} </span><br/><br/>
</div>
</div>
@endif
<div ng-controller="MainController">
<table>
<h1>Personal Information</h1>
<p>Welcome to the five-minute Faveo installation process! Just fill in the information below.</p>
<h1 style="border-top:1px solid #dedede; border-bottom:1px solid #dedede; padding: 10px 0px 10px 0px;">Personal Information</h1>
<p>Please provide the following information. Dont worry, you can always change these settings later.</p>
<div>
<tr>
<td>
@@ -59,6 +74,10 @@ active
<td>
{!! Form::text('firstname',null,['style' =>'margin-left:250px']) !!}
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Nametitle}}" data-content="@{{Namecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -68,6 +87,10 @@ active
<td>
{!! Form::text('Lastname',null,['style' =>'margin-left:250px']) !!}
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Lasttitle}}" data-content="@{{Lastcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -77,6 +100,10 @@ active
<td>
{!! Form::text('email',null,['style' =>'margin-left:250px']) !!}
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Emailtitle}}" data-content="@{{Emailcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
</div>
@@ -96,6 +123,10 @@ active
<td>
{!! Form::text('username',null,['style' =>'margin-left:195px']) !!}
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{UserNametitle}}" data-content="@{{UserNamecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -106,6 +137,10 @@ active
<td>
<input type="password" name="password" style="margin-left: 195px" >
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Passtitle}}" data-content="@{{Passcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -116,6 +151,10 @@ active
<td>
<input type="password" name="confirmpassword" style="margin-left: 195px" >
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Confirmtitle}}" data-content="@{{Confirmcontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
</div>
</table>
@@ -130,7 +169,6 @@ active
<div class="side-by-side clearfix moveleft">
<div>
<select name="datetime" data-placeholder="Choose a date format..." class="chosen-select" style="width:295px;" tabindex="2">
<option value=""></option>
<option value="d/m/Y H:i:s">DD/MM/YYYY H:i:s</option>
<option value="m/d/Y H:i:s">MM/DD/YYYY H:i:s</option>
<option value="Y/m/d H:i:s">YYYY/MM/DD H:i:s</option>
@@ -138,6 +176,10 @@ active
</div>
</div>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Datetimetitle}}" data-content="@{{Datetimecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -147,7 +189,6 @@ active
<div class="side-by-side clearfix moveleft">
<div>
<select name="timezone" data-placeholder="Choose a timezone..." class="chosen-select" style="width:295px;" tabindex="2">
<option value=""></option>
<option value="US/Samoa">US/Samoa</option>
<option value="US/Hawaii">US/Hawaii</option>
<option value="US/Alaska">US/Alaska</option>
@@ -264,6 +305,10 @@ active
</div>
</div>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Timezonetitle}}" data-content="@{{Timezonecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
<tr>
<td>
@@ -278,12 +323,15 @@ active
?>
<select name="language" data-placeholder="Choose a timezone..." class="chosen-select" style="width:295px;" tabindex="2">
@foreach($values as $value)
<option value=""></option>
<option value="{!! $value !!}">{!! Config::get('languages.' . $value) !!}</option>
@endforeach
</select>
</div>
</td>
<td>
<button type="button" data-toggle="popover" data-placement="right" data-arrowcolor="#eeeeee" data-bordercolor="#bbbbbb" data-title-backcolor="#cccccc" data-title-bordercolor="#bbbbbb" data-title-textcolor="#444444" data-content-backcolor="#eeeeee" data-content-textcolor="#888888" title="@{{Languagetitle}}" data-content="@{{Languagecontent}}" style="padding: 0px;border: 0px; border-radius: 5px;"><i class="fa fa-question-circle" style="padding: 0px;"></i>
</button>
</td>
</tr>
</div>
</table>
@@ -296,4 +344,7 @@ active
</div>
</p>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js"></script>
<script src="{{asset("lb-faveo/js/angular2.js")}}" type="text/javascript"></script>
</div>
@stop