update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
@@ -55,7 +55,7 @@ active
|
||||
<label for="Acceptme">I accept the <a href="#openModal">License Agreement</a></label>
|
||||
</div>
|
||||
<br>
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<a href="{!! route('prerequisites') !!}"><input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue" name="accept1"></a>
|
||||
<input type="submit" class="button button-large button-next" value="Cancel" style="float: left">
|
||||
</p>
|
||||
|
||||
@@ -11,6 +11,37 @@ active
|
||||
|
||||
|
||||
@section('content')
|
||||
|
||||
<?php //dd(ini_get('disable_functions')); ?>
|
||||
|
||||
|
||||
<?php
|
||||
// $sets = explode(",", ini_get('disable_functions'));
|
||||
// $required_functions = ['escapeshellarg'];
|
||||
// foreach ($sets as $key) {
|
||||
// $key = trim($key);
|
||||
// foreach ($required_functions as $value) {
|
||||
// if($key == $value) {
|
||||
// if (strpos(ini_get('disable_functions'), $key) !== false) {
|
||||
// dd("found");
|
||||
// } else {
|
||||
// dd("not - found");
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// dd($sets);
|
||||
|
||||
// // foreach ( as $key => $value) {
|
||||
// // # code...
|
||||
// // }
|
||||
// if (strpos($to_check, $statement) !== false) {
|
||||
// return true;
|
||||
// } else {
|
||||
// return false;
|
||||
// }
|
||||
?>
|
||||
|
||||
<div id="form-content">
|
||||
<center><h1>Environment Test</h1></center>
|
||||
@if (Session::has('fail_to_change'))
|
||||
@@ -90,19 +121,27 @@ function php_config_value_to_bytes($val) {
|
||||
* to check file permissions
|
||||
*
|
||||
*/
|
||||
function checkFilePermission(&$results) {
|
||||
function checkFilePermission(&$results)
|
||||
{
|
||||
$path2 = base_path().DIRECTORY_SEPARATOR.'storage';
|
||||
$f2 = substr(sprintf("%o",fileperms($path2)),-3);
|
||||
if (file_exists(base_path() . DIRECTORY_SEPARATOR . "example.env")) {
|
||||
$path1 = base_path().DIRECTORY_SEPARATOR.'example.env';
|
||||
$f1 = substr(sprintf("%o",fileperms($path1)),-3);
|
||||
if( $f1 >= '644') {
|
||||
$results[] = new TestResult('File permission looks fine', STATUS_OK);
|
||||
return true;
|
||||
} else {
|
||||
$results[] = new TestResult('File permissions needed.<ul><b>Change file permission to "644" for following files</b><li>'.$path1.'</li></ul></br>Change the permission manually on your server or <a href="change-file-permission">click here.</a>', STATUS_ERROR);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
$f1 = '644';
|
||||
}
|
||||
if( $f1 >= '644' && $f2 >= '755') {
|
||||
$results[] = new TestResult('File permission looks fine', STATUS_OK);
|
||||
return true;
|
||||
} else {
|
||||
if(isset($path1)){
|
||||
$results[] = new TestResult('File permissions needed.<ul><b>Change file permission for following files</b><li>'.$path1.'%nbsp: \'644\'</li><li>'.$path2.'%nbsp: \'755\'</li></ul></br>Change the permission manually on your server or <a href="change-file-permission">click here.</a>', STATUS_ERROR);
|
||||
} else {
|
||||
$results[] = new TestResult('File permissions needed.<ul><b>Change file permission to "755" for following files</b><li>'.$path2.'</li></ul></br>Change the permission manually on your server or <a href="change-file-permission">click here.</a>', STATUS_ERROR);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -169,7 +208,7 @@ function validate_zend_compatibility_mode(&$results) {
|
||||
function validate_extensions(&$results) {
|
||||
$ok = true;
|
||||
|
||||
$required_extensions = array('mcrypt', 'openssl', 'pdo');
|
||||
$required_extensions = array('mcrypt', 'openssl', 'pdo', 'fileinfo', 'curl', 'zip');
|
||||
|
||||
foreach ($required_extensions as $required_extension) {
|
||||
if (extension_loaded($required_extension)) {
|
||||
@@ -196,7 +235,7 @@ function validate_extensions(&$results) {
|
||||
|
||||
// 'gd' => 'GD is used for image manipulation. Without it, system is not able to create thumbnails for files or manage avatars, logos and project icons. Please refer to <a href="http://www.php.net/manual/en/image.installation.php">this</a> page for installation instructions',
|
||||
// 'mbstring' => 'MultiByte String is used for work with Unicode. Without it, system may not split words and string properly and you can have weird question mark characters in Recent Activities for example. Please refer to <a href="http://www.php.net/manual/en/mbstring.installation.php">this</a> page for installation instructions',
|
||||
'curl' => 'cURL is used to support various network tasks. Please refer to <a href="http://www.php.net/manual/en/curl.installation.php">this</a> page for installation instructions',
|
||||
// 'curl' => 'cURL is used to support various network tasks. Please refer to <a href="http://www.php.net/manual/en/curl.installation.php">this</a> page for installation instructions',
|
||||
// 'iconv' => 'Iconv is used for character set conversion. Without it, system is a bit slower when converting different character set. Please refer to <a href="http://www.php.net/manual/en/iconv.installation.php">this</a> page for installation instructions',
|
||||
// 'imap' => 'IMAP is used to connect to POP3 and IMAP servers. Without it, Incoming Mail module will not work. Please refer to <a href="http://www.php.net/manual/en/imap.installation.php">this</a> page for installation instructions',
|
||||
// 'zlib' => 'ZLIB is used to read and write gzip (.gz) compressed files',
|
||||
@@ -214,6 +253,30 @@ function validate_extensions(&$results) {
|
||||
return $ok;
|
||||
} // validate_extensions
|
||||
|
||||
/**
|
||||
* function to check if there are laravel required functions are disabled
|
||||
*/
|
||||
function checkDisabledFunctions(&$results) {
|
||||
$ok = true;
|
||||
$sets = explode(",", ini_get('disable_functions'));
|
||||
$required_functions = ['escapeshellarg'];
|
||||
// dd($required_functions,$sets);
|
||||
foreach ($sets as $key) {
|
||||
$key = trim($key);
|
||||
foreach ($required_functions as $value) {
|
||||
if($key == $value) {
|
||||
if (strpos(ini_get('disable_functions'), $key) !== false) {
|
||||
$results[] = new TestResult("Function '$value' is required in order to run Faveo Helpdesk. Please check php.ini to enable this function or contact your server administrator", STATUS_ERROR);
|
||||
$ok = false;
|
||||
} else {
|
||||
$results[] = new TestResult("All required functions found", STATUS_OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $ok;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------
|
||||
// Do the magic
|
||||
// ---------------------------------------------------
|
||||
@@ -224,8 +287,9 @@ $php_ok = validate_php($results);
|
||||
$memory_ok = validate_memory_limit($results);
|
||||
$extensions_ok = validate_extensions($results);
|
||||
$file_permission = checkFilePermission($results);
|
||||
$required_functions = checkDisabledFunctions($results);
|
||||
?>
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<?php
|
||||
foreach ($results as $result) {
|
||||
print '<span class="' . strtolower($result->status) . '">' . $result->status . '</span> — ' . $result->message . '<br/>';
|
||||
@@ -233,7 +297,7 @@ foreach ($results as $result) {
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
if ($php_ok && $memory_ok && $extensions_ok && $file_permission ) {
|
||||
if ($php_ok && $memory_ok && $extensions_ok && $file_permission && $required_functions) {
|
||||
?>
|
||||
</div>
|
||||
|
||||
@@ -244,7 +308,7 @@ if ($php_ok && $memory_ok && $extensions_ok && $file_permission ) {
|
||||
|
||||
<form action="{{URL::route('postprerequisites')}}" method="post" class="border-line">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue">
|
||||
<a href="{!! route('licence') !!}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
@@ -258,7 +322,7 @@ if ($php_ok && $memory_ok && $extensions_ok && $file_permission ) {
|
||||
<div class="woocommerce-message woocommerce-tracker" >
|
||||
<p id="fail">This system does not meet Faveo system requirements</p>
|
||||
</div>
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<a href="{{URL::route('licence')}}" style="float: left"><button value="prev" class="button-primary button button-large">Previous</button></a>
|
||||
<button disabled="" class="button-primary button button-large button-next" style="float: right">Continue</button>
|
||||
</p> <?php
|
||||
|
||||
@@ -44,13 +44,11 @@ active
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
{!! Form::open(['url'=> '/step4post']) !!}
|
||||
<table ng-controller="MainController">
|
||||
<tr>
|
||||
<td>
|
||||
<label for="selectbox1">Database <span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
<label for="selectbox1">Database <span style="color: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="side-by-side clearfix moveleftthre">
|
||||
@@ -68,8 +66,7 @@ active
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box1">Host<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
<label for="box1">Host<span style="color: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="host">
|
||||
@@ -93,8 +90,7 @@ active
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box3">Database Name<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
<label for="box3">Database Name<span style="color: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="databasename">
|
||||
@@ -106,8 +102,7 @@ active
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box4">User Name<span style="color
|
||||
: red; font-size: 12px;">*</span></label>
|
||||
<label for="box4">User Name<span style="color: red; font-size: 12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="username">
|
||||
@@ -131,7 +126,7 @@ active
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue">
|
||||
<a href="{!! route('prerequisites') !!}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
|
||||
@@ -91,7 +91,7 @@ if (DB_HOST && DB_USER && DB_NAME) {
|
||||
// Validators
|
||||
// ---------------------------------------------------
|
||||
// dd($results);
|
||||
?><p class="wc-setup-actions step"><?php
|
||||
?><p class="setup-actions step"><?php
|
||||
foreach ($results as $result) {
|
||||
print '<br><span class="' . strtolower($result->status) . '">' . $result->status . '</span> — ' . $result->message . '';
|
||||
} // foreach
|
||||
@@ -150,7 +150,7 @@ if (DB_HOST && DB_USER && DB_NAME) {
|
||||
</div>
|
||||
|
||||
<div style="border-bottom: 1px solid #eee;">
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<a href="{{ URL::route('account') }}" class="pull-right" id="next" style="text-color:black"><input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue"> </a>
|
||||
<a href="{{ URL::route('configuration') }}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
@@ -205,7 +205,7 @@ $(document).ready(function () {
|
||||
|
||||
|
||||
<div style="border-bottom: 1px solid #eee;">
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="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>
|
||||
<a href="{{URL::route('configuration')}}" class="button button-large button-next" style="float: left;">Previous</a>
|
||||
</p>
|
||||
@@ -214,7 +214,7 @@ $(document).ready(function () {
|
||||
<?php } // if ?>
|
||||
<div id="legend">
|
||||
{{-- <ul> --}}
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<span class="ok">Ok</span> — All Ok <br/>
|
||||
<span class="warning">Warning</span> — Not a deal breaker, but it's recommended to have this installed for some features to work<br/>
|
||||
<span class="error">Error</span> — Faveo HELPDESK require this feature and can't work without it<br/>
|
||||
|
||||
@@ -334,7 +334,7 @@ active
|
||||
<input id="dummy-data" class="input-checkbox" type="checkbox" name="dummy-data">
|
||||
<label for="dummy-data" style="color:#3AA7D9">Install dummy data</label>
|
||||
<br><br>
|
||||
<p class="wc-setup-actions step">
|
||||
<p class="setup-actions step">
|
||||
<input type="submit" id="submitme" class="button-primary button button-large button-next" value="Install">
|
||||
<a href="{{url('step4')}}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
|
||||
@@ -29,19 +29,19 @@ active
|
||||
<h1 style="text-align: center;">Your Helpdesk is Ready!</h1>
|
||||
<div class="woocommerce-message woocommerce-tracker">
|
||||
<p>All right, sparky! You’ve made it through the installation.</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="wc-setup-next-steps">
|
||||
<div class="wc-setup-next-steps-first">
|
||||
<div class="setup-next-steps">
|
||||
<div class="setup-next-steps-first">
|
||||
<h2>Next Steps</h2>
|
||||
<ul>
|
||||
<li class="setup-product"><a class="button button-primary button-large" href="{!! url('auth/login') !!}" style="float: none; text-align: center; font-size: 24px; padding: 15px; line-height: 1;">Login to Faveo</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="wc-setup-next-steps-last">
|
||||
<div class="setup-next-steps-last">
|
||||
<h2>Learn More</h2>
|
||||
<ul>
|
||||
<li class="video-walkthrough"><a target="_blank" href="https://www.youtube.com/channel/UC-eqh-h241b1janp6sU7Iiw">Video walk through</a>
|
||||
@@ -59,7 +59,7 @@ active
|
||||
</div>
|
||||
|
||||
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
||||
<script src="{{asset("lb-faveo/js/index.js")}}"></script>
|
||||
|
||||
|
||||
@stop
|
||||
@@ -4,47 +4,44 @@
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Faveo HELPDESK</title>
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/load-styles.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/css.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/admin.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/wc-setup.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/activation.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/style.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link href="{{asset("lb-faveo/css/ggpopover.css")}}" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/prism.css")}}">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/chosen.css")}}">
|
||||
<link href="{{asset("lb-faveo/media/images/favicon.ico")}}" rel="shortcut icon" />
|
||||
<link href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery.ui.css" rel="stylesheet" />
|
||||
<link href="{{asset("lb-faveo/css/load-styles.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/css.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/admin.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/setup.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/activation.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/style.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/ggpopover.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/prism.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/css/chosen.css")}}" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body class="wc-setup wp-core-ui">
|
||||
<h1 id="wc-logo"><a href="http://www.faveohelpdesk.com">
|
||||
<img src="{{asset("lb-faveo/media/installer/faveo.png")}}" alt="faveo" width="
|
||||
250px"></a></h1>
|
||||
<ol class="wc-setup-steps">
|
||||
<body class="setup wp-core-ui">
|
||||
<center><a href="http://www.faveohelpdesk.com">
|
||||
<img src="{{asset("lb-faveo/media/installer/faveo.png")}}" alt="faveo" width="250px"></a></center>
|
||||
<ol class="setup-steps">
|
||||
<li class="@yield('license')">License Agreement</li>
|
||||
<li class="@yield('environment')">Environment Test</li>
|
||||
<li class="@yield('database')">Database Setup</li>
|
||||
<li class="@yield('locale')">Locale Information</li>
|
||||
<li class="@yield('ready')">Ready</li>
|
||||
</ol>
|
||||
<div class="wc-setup-content">
|
||||
<div class="setup-content">
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
|
||||
<p style="text-align: center;"> Copyright © 2015 - <?php echo date('Y')?> · Ladybird Web Solution Pvt Ltd. All Rights Reserved. Powered by <a target="_blank" href="http://www.faveohelpdesk.com">Faveo </a></p>
|
||||
|
||||
|
||||
<script src="{{asset("lb-faveo/js/ggpopover.js")}}" type="text/javascript"></script>
|
||||
|
||||
|
||||
<script src="{{asset("lb-faveo/js/ggpopover.js")}}"></script>
|
||||
<script type="text/javascript">
|
||||
$('[data-toggle="popover"]').ggpopover();
|
||||
</script>
|
||||
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> -->
|
||||
|
||||
<script src="{{asset("lb-faveo/js/chosen.jquery.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/prism.js")}}" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
<script src="{{asset("lb-faveo/js/prism.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var config = {
|
||||
'.chosen-select': {},
|
||||
@@ -65,5 +62,6 @@
|
||||
$(selector).chosen(config[selector]);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,63 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Faveo HELPDESK</title>
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/load-styles.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/css.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/admin.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/wc-setup.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/activation.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/style.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link href="{{asset("lb-faveo/css/ggpopover.css")}}" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/prism.css")}}">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/chosen.css")}}">
|
||||
</head>
|
||||
<body class="wc-setup wp-core-ui">
|
||||
<h1 id="wc-logo"><a href="http://www.faveohelpdesk.com">
|
||||
<img src="{{asset("lb-faveo/media/installer/faveo.png")}}" alt="faveo" width="
|
||||
250px"></a></h1>
|
||||
|
||||
<div class="wc-setup-content">
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
|
||||
<p style="text-align: center;"> Copyright © 2015 - <?php echo date('Y')?> · Ladybird Web Solution Pvt Ltd. All Rights Reserved. Powered by <a target="_blank" href="http://www.faveohelpdesk.com">Faveo </a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="{{asset("lb-faveo/js/ggpopover.js")}}"></script>
|
||||
<script type="text/javascript">
|
||||
$('[data-toggle="popover"]').ggpopover();
|
||||
</script>
|
||||
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> -->
|
||||
<script src="{{asset("lb-faveo/js/chosen.jquery.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/prism.js")}}" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var config = {
|
||||
'.chosen-select': {},
|
||||
'.chosen-select-deselect': {
|
||||
allow_single_deselect: true
|
||||
},
|
||||
'.chosen-select-no-single': {
|
||||
disable_search_threshold: 10
|
||||
},
|
||||
'.chosen-select-no-results': {
|
||||
no_results_text: 'Oops, nothing found!'
|
||||
},
|
||||
'.chosen-select-width': {
|
||||
width: "95%"
|
||||
}
|
||||
}
|
||||
for (var selector in config) {
|
||||
$(selector).chosen(config[selector]);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user