move kartik-v/yii2-widget-timepicker to backend components
This commit is contained in:
parent
b9e2be2d2d
commit
5be69526ac
152
backend/components/timepicker/src/TimePicker.php
Normal file
152
backend/components/timepicker/src/TimePicker.php
Normal file
@ -0,0 +1,152 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021
|
||||
* @package yii2-widgets
|
||||
* @subpackage timepicker
|
||||
* @version 1.0.5
|
||||
*/
|
||||
|
||||
//namespace kartik\time;
|
||||
namespace backend\components\timepicker\src;
|
||||
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\helpers\ArrayHelper;
|
||||
use yii\helpers\Html;
|
||||
use kartik\base\InputWidget;
|
||||
|
||||
/**
|
||||
* The TimePicker widget allows you to easily select a time for a text input using your mouse or keyboards arrow keys.
|
||||
* Thus widget is a wrapper enhancement over the TimePicker JQuery plugin by rendom forked from the plugin by jdewit.
|
||||
* Additional enhancements have been done to this input widget and plugin by Krajee to fix various bugs, and also
|
||||
* provide compatibility with Bootstrap 3.
|
||||
*
|
||||
* @author Kartik Visweswaran <kartikv2@gmail.com>
|
||||
* @since 1.0
|
||||
* @see https://github.com/rendom/bootstrap-3-timepicker
|
||||
* @see https://github.com/jdewit/bootstrap-timepicker
|
||||
*/
|
||||
class TimePicker extends InputWidget
|
||||
{
|
||||
/**
|
||||
* @var string the size of the input - 'lg', 'md', 'sm', 'xs'
|
||||
*/
|
||||
public $size;
|
||||
|
||||
/**
|
||||
* @var string|boolean the addon content
|
||||
*/
|
||||
public $addon;
|
||||
|
||||
/**
|
||||
* @var array HTML attributes for the addon container. The following special options are recognized:
|
||||
* - `asButton`: _boolean_, if the addon is to be displayed as a button.
|
||||
* - `buttonOptions`: _array_, HTML attributes if the addon is to be displayed like a button. If [[asButton]] is
|
||||
* `true`, this will default to :
|
||||
* - `['class' => 'btn btn-default']` for [[bsVersion]] = '3.x' or .
|
||||
* - `['class' => 'btn btn-secondary']` for [[bsVersion]] = '4.x' and '5.x'
|
||||
*/
|
||||
public $addonOptions = [];
|
||||
|
||||
/**
|
||||
* @var array HTML attributes for the input group container
|
||||
*/
|
||||
public $containerOptions = [];
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public $pluginName = 'timepicker';
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* @throws InvalidConfigException
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$this->initIcon('up');
|
||||
$this->initIcon('down');
|
||||
$this->registerAssets();
|
||||
echo Html::tag('div', $this->renderInput(), $this->containerOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes icon for time units up and down buttons
|
||||
* @param string $type whether 'up' or 'down'
|
||||
* @throws InvalidConfigException|\Exception
|
||||
*/
|
||||
protected function initIcon($type)
|
||||
{
|
||||
$prop = $type . 'ArrowStyle';
|
||||
if (!isset($this->pluginOptions[$prop])) {
|
||||
$prefix = !$this->isBs(3) ? 'fas fa-' : 'glyphicon glyphicon-';
|
||||
$this->pluginOptions[$prop] = $prefix . 'chevron-' . $type;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the input
|
||||
*
|
||||
* @return string
|
||||
* @throws InvalidConfigException|\Exception
|
||||
*/
|
||||
protected function renderInput()
|
||||
{
|
||||
$notBs3 = !$this->isBs(3);
|
||||
$isBs5 = $this->isBs(5);
|
||||
if (!isset($this->addon)) {
|
||||
$this->addon = $notBs3 ? '<i class="far fa-clock"></i>' : '<i class="glyphicon glyphicon-time"></i>';
|
||||
}
|
||||
Html::addCssClass($this->options, 'form-control');
|
||||
if (!empty($this->options['disabled'])) {
|
||||
Html::addCssClass($this->addonOptions, 'disabled-addon');
|
||||
}
|
||||
if (ArrayHelper::getValue($this->pluginOptions, 'template', true) === false) {
|
||||
$css = $notBs3 ? 'bootstrap-timepicker4' : 'bootstrap-timepicker3';
|
||||
Html::addCssClass($this->containerOptions, ['bootstrap-timepicker', $css]);
|
||||
if (isset($this->size)) {
|
||||
Html::addCssClass($this->options, ($notBs3 ? 'form-control-' : 'input-') . $this->size);
|
||||
Html::addCssClass($this->addonOptions, 'inline-addon inline-addon-' . $this->size);
|
||||
} else {
|
||||
Html::addCssClass($this->addonOptions, 'inline-addon');
|
||||
}
|
||||
return $this->getInput('textInput') . Html::tag('span', $this->addon, $this->addonOptions);
|
||||
}
|
||||
Html::addCssClass($this->containerOptions, 'bootstrap-timepicker input-group');
|
||||
$asButton = ArrayHelper::remove($this->addonOptions, 'asButton', false);
|
||||
$buttonOptions = ArrayHelper::remove($this->addonOptions, 'buttonOptions', []);
|
||||
|
||||
if ($asButton) {
|
||||
$css = $notBs3 ? 'input-group-append' : 'input-group-btn';
|
||||
$tag = $notBs3 ? 'div' : 'span';
|
||||
Html::addCssClass($this->addonOptions, [$css, 'picker']);
|
||||
$buttonOptions['type'] = 'button';
|
||||
if (empty($buttonOptions['class'])) {
|
||||
Html::addCssClass($buttonOptions, 'btn btn-default');
|
||||
}
|
||||
$button = Html::button($this->addon, $buttonOptions);
|
||||
$addon = $isBs5 ? $button : Html::tag($tag, $button, $this->addonOptions);
|
||||
} else {
|
||||
$css = $notBs3 ? 'input-group-text' : 'input-group-addon';
|
||||
Html::addCssClass($this->addonOptions, [$css, 'picker']);
|
||||
$addon = Html::tag('span', $this->addon, $this->addonOptions);
|
||||
if ($notBs3 && !$isBs5) {
|
||||
$addon = Html::tag('div', $addon, ['class' => 'input-group-append']);
|
||||
}
|
||||
}
|
||||
if (isset($this->size)) {
|
||||
Html::addCssClass($this->containerOptions, 'input-group-' . $this->size);
|
||||
}
|
||||
return $this->getInput('textInput') . $addon;
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers the client assets for [[Timepicker]] widget
|
||||
*/
|
||||
public function registerAssets()
|
||||
{
|
||||
$view = $this->getView();
|
||||
TimePickerAsset::register($view);
|
||||
$this->registerPlugin($this->pluginName);
|
||||
}
|
||||
}
|
33
backend/components/timepicker/src/TimePickerAsset.php
Normal file
33
backend/components/timepicker/src/TimePickerAsset.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021
|
||||
* @package yii2-widgets
|
||||
* @subpackage timepicker
|
||||
* @version 1.0.5
|
||||
*/
|
||||
|
||||
//namespace kartik\time;
|
||||
namespace backend\components\timepicker\src;
|
||||
|
||||
use kartik\base\AssetBundle;
|
||||
|
||||
/**
|
||||
* Asset bundle for TimePicker Widget
|
||||
*
|
||||
* @author Kartik Visweswaran <kartikv2@gmail.com>
|
||||
* @since 1.0
|
||||
*/
|
||||
class TimePickerAsset extends AssetBundle
|
||||
{
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->setSourcePath(__DIR__ . '/assets');
|
||||
$this->setupAssets('css', ['css/bootstrap-timepicker']);
|
||||
$this->setupAssets('js', ['js/bootstrap-timepicker']);
|
||||
parent::init();
|
||||
}
|
||||
}
|
190
backend/components/timepicker/src/assets/css/bootstrap-timepicker.css
vendored
Normal file
190
backend/components/timepicker/src/assets/css/bootstrap-timepicker.css
vendored
Normal file
@ -0,0 +1,190 @@
|
||||
/*!
|
||||
* Timepicker Component for Twitter Bootstrap
|
||||
*
|
||||
* Improvements by: Kartik Visweswaran, Krajee.com, 2014 - 2021
|
||||
*
|
||||
* Copyright 2013 Joris de Wit
|
||||
*
|
||||
* Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
.bootstrap-timepicker {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget {
|
||||
min-width: 19rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before {
|
||||
left: auto;
|
||||
right: 0.75rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after {
|
||||
left: auto;
|
||||
right: 0.8125rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .disabled-addon {
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .inline-addon {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 0.675rem;
|
||||
right: 0.625rem;
|
||||
line-height: 1.5;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .inline-addon-lg {
|
||||
font-size: 1.875rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .inline-addon-sm {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker4 .inline-addon {
|
||||
top: 0.5rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker3 .inline-addon-lg {
|
||||
top: 1.05rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker4 .inline-addon-lg {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker4 .inline-addon-sm {
|
||||
top: 0.375rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget.dropdown-menu {
|
||||
padding: 0.125rem 0.1875rem 0.125rem 0.125rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget.dropdown-menu.open {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget.dropdown-menu:before {
|
||||
border-bottom: 0.4375rem solid rgba(0, 0, 0, 0.2);
|
||||
border-left: 0.4375rem solid transparent;
|
||||
border-right: 0.4375rem solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
left: 0.5625rem;
|
||||
position: absolute;
|
||||
top: -0.4375rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget.dropdown-menu:after {
|
||||
border-bottom: 0.375rem solid #FFFFFF;
|
||||
border-left: 0.375rem solid transparent;
|
||||
border-right: 0.375rem solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
left: 0.625rem;
|
||||
position: absolute;
|
||||
top: -0.375rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget a.btn,
|
||||
.bootstrap-timepicker-widget input {
|
||||
border-radius: 0.25rem !important;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker input {
|
||||
border-top-left-radius: 0.25rem !important;
|
||||
border-bottom-left-radius: 0.25rem !important;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td {
|
||||
text-align: center;
|
||||
height: 1.875rem;
|
||||
margin: 0;
|
||||
padding: 0.125rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .separator {
|
||||
font-weight: bold;
|
||||
font-family: Monaco, Consolas, monospace;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td:not(.separator) {
|
||||
min-width: 1.875rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td span {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td a {
|
||||
border: 0.0625rem transparent solid;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0.125rem 0;
|
||||
outline: 0;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td a:hover {
|
||||
text-decoration: none;
|
||||
background-color: #eee;
|
||||
-webkit-border-radius: 0.25rem;
|
||||
-moz-border-radius: 0.25rem;
|
||||
border-radius: 0.25rem;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td a i {
|
||||
margin-top: 0.125rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget table td input {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker-widget .modal-content {
|
||||
padding: 0.25rem;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .picker {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (min-width: 767px) {
|
||||
.bootstrap-timepicker-widget.modal {
|
||||
width: 200px;
|
||||
margin-left: -100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.bootstrap-timepicker {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bootstrap-timepicker .dropdown-menu {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
12
backend/components/timepicker/src/assets/css/bootstrap-timepicker.min.css
vendored
Normal file
12
backend/components/timepicker/src/assets/css/bootstrap-timepicker.min.css
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/*!
|
||||
* Timepicker Component for Twitter Bootstrap
|
||||
*
|
||||
* Improvements by: Kartik Visweswaran, Krajee.com, 2014 - 2021
|
||||
*
|
||||
* Copyright 2013 Joris de Wit
|
||||
*
|
||||
* Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/.bootstrap-timepicker{position:relative}.bootstrap-timepicker-widget{min-width:19rem}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu{left:auto;right:0}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:before{left:auto;right:.75rem}.bootstrap-timepicker.pull-right .bootstrap-timepicker-widget.dropdown-menu:after{left:auto;right:.8125rem}.bootstrap-timepicker .disabled-addon{cursor:not-allowed!important}.bootstrap-timepicker .inline-addon{position:absolute;display:inline-block;top:.675rem;right:.625rem;line-height:1.5;z-index:3}.bootstrap-timepicker .inline-addon-lg{font-size:1.875rem}.bootstrap-timepicker .inline-addon-sm{font-size:1.2rem}.bootstrap-timepicker4 .inline-addon{top:.5rem}.bootstrap-timepicker3 .inline-addon-lg{top:1.05rem}.bootstrap-timepicker4 .inline-addon-lg{font-size:1.25rem}.bootstrap-timepicker4 .inline-addon-sm{top:.375rem;font-size:.85rem}.bootstrap-timepicker-widget.dropdown-menu{padding:.125rem .1875rem .125rem .125rem}.bootstrap-timepicker-widget.dropdown-menu.open{display:inline-block}.bootstrap-timepicker-widget.dropdown-menu:before{border-bottom:.4375rem solid rgba(0,0,0,.2);border-left:.4375rem solid transparent;border-right:.4375rem solid transparent;content:"";display:inline-block;left:.5625rem;position:absolute;top:-.4375rem}.bootstrap-timepicker-widget.dropdown-menu:after{border-bottom:.375rem solid #FFF;border-left:.375rem solid transparent;border-right:.375rem solid transparent;content:"";display:inline-block;left:.625rem;position:absolute;top:-.375rem}.bootstrap-timepicker-widget a.btn,.bootstrap-timepicker-widget input{border-radius:.25rem!important}.bootstrap-timepicker input{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.bootstrap-timepicker-widget table{width:100%;margin:0}.bootstrap-timepicker-widget table td{text-align:center;height:1.875rem;margin:0;padding:.125rem}.bootstrap-timepicker .separator{font-weight:700;font-family:Monaco,Consolas,monospace}.bootstrap-timepicker-widget table td:not(.separator){min-width:1.875rem}.bootstrap-timepicker-widget table td span{width:100%}.bootstrap-timepicker-widget table td a{border:.0625rem solid transparent;width:100%;display:inline-block;margin:0;padding:.125rem 0;outline:0;color:#333}.bootstrap-timepicker-widget table td a:hover{text-decoration:none;background-color:#eee;-webkit-border-radius:.25rem;-moz-border-radius:.25rem;border-radius:.25rem;border-color:#ddd}.bootstrap-timepicker-widget table td a i{margin-top:.125rem}.bootstrap-timepicker-widget table td input{margin:0;text-align:center}.bootstrap-timepicker-widget .modal-content{padding:.25rem}.bootstrap-timepicker .picker{cursor:pointer}@media (min-width:767px){.bootstrap-timepicker-widget.modal{width:200px;margin-left:-100px}}@media (max-width:767px){.bootstrap-timepicker,.bootstrap-timepicker .dropdown-menu{width:100%}}
|
875
backend/components/timepicker/src/assets/js/bootstrap-timepicker.js
vendored
Normal file
875
backend/components/timepicker/src/assets/js/bootstrap-timepicker.js
vendored
Normal file
@ -0,0 +1,875 @@
|
||||
/*!
|
||||
* Timepicker Component for Twitter Bootstrap
|
||||
*
|
||||
* Improvements by: Kartik Visweswaran, Krajee.com, 2014 - 2021
|
||||
*
|
||||
* Copyright 2013 Joris de Wit
|
||||
*
|
||||
* Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
(function ($, window, document, undefined) {
|
||||
'use strict';
|
||||
|
||||
// TIMEPICKER PUBLIC CLASS DEFINITION
|
||||
var Timepicker = function (element, options) {
|
||||
this.widget = '';
|
||||
this.$element = $(element);
|
||||
this.defaultTime = options.defaultTime;
|
||||
this.disableFocus = options.disableFocus;
|
||||
this.isOpen = options.isOpen;
|
||||
this.minuteStep = options.minuteStep;
|
||||
this.modalBackdrop = options.modalBackdrop;
|
||||
this.secondStep = options.secondStep;
|
||||
this.showInputs = options.showInputs;
|
||||
this.showMeridian = options.showMeridian;
|
||||
this.showSeconds = options.showSeconds;
|
||||
this.template = options.template;
|
||||
this.appendWidgetTo = options.appendWidgetTo;
|
||||
this.upArrowStyle = options.upArrowStyle;
|
||||
this.downArrowStyle = options.downArrowStyle;
|
||||
this.containerClass = options.containerClass;
|
||||
|
||||
this._init();
|
||||
};
|
||||
|
||||
Timepicker.prototype = {
|
||||
constructor: Timepicker,
|
||||
_init: function () {
|
||||
var self = this;
|
||||
|
||||
if (this.$element.parent().hasClass('bootstrap-timepicker')) {
|
||||
if (this.$element.parent('.bootstrap-timepicker').find('.picker').length) {
|
||||
this.$element.parent('.bootstrap-timepicker').find('.picker').on({
|
||||
'click.timepicker': $.proxy(this.showWidget, this)
|
||||
});
|
||||
} else {
|
||||
this.$element.closest(this.containerClass).find('.input-group-addon').on({
|
||||
'click.timepicker': $.proxy(this.showWidget, this)
|
||||
});
|
||||
}
|
||||
|
||||
this.$element.on({
|
||||
'focus.timepicker': $.proxy(this.highlightUnit, this),
|
||||
'click.timepicker': $.proxy(this.highlightUnit, this),
|
||||
'keydown.timepicker': $.proxy(this.elementKeydown, this),
|
||||
'blur.timepicker': $.proxy(this.blurElement, this)
|
||||
});
|
||||
} else {
|
||||
if (this.template) {
|
||||
this.$element.on({
|
||||
'focus.timepicker': $.proxy(this.showWidget, this),
|
||||
'click.timepicker': $.proxy(this.showWidget, this),
|
||||
'blur.timepicker': $.proxy(this.blurElement, this)
|
||||
});
|
||||
} else {
|
||||
this.$element.on({
|
||||
'focus.timepicker': $.proxy(this.highlightUnit, this),
|
||||
'click.timepicker': $.proxy(this.highlightUnit, this),
|
||||
'keydown.timepicker': $.proxy(this.elementKeydown, this),
|
||||
'blur.timepicker': $.proxy(this.blurElement, this)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (this.template !== false) {
|
||||
this.$widget = $(this.getTemplate()).prependTo(this.$element.parents(this.appendWidgetTo)).on('click', $.proxy(this.widgetClick, this));
|
||||
} else {
|
||||
this.$widget = false;
|
||||
}
|
||||
|
||||
if (this.showInputs && this.$widget !== false) {
|
||||
this.$widget.find('input').each(function () {
|
||||
$(this).on({
|
||||
'click.timepicker': function () {
|
||||
$(this).select();
|
||||
},
|
||||
'keydown.timepicker': $.proxy(self.widgetKeydown, self)
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
this.setDefaultTime(this.defaultTime);
|
||||
},
|
||||
blurElement: function () {
|
||||
this.highlightedUnit = undefined;
|
||||
this.updateFromElementVal();
|
||||
},
|
||||
decrementHour: function () {
|
||||
if (this.showMeridian) {
|
||||
if (this.hour === 1) {
|
||||
this.hour = 12;
|
||||
} else if (this.hour === 12) {
|
||||
this.hour--;
|
||||
|
||||
return this.toggleMeridian();
|
||||
} else if (this.hour === 0) {
|
||||
this.hour = 11;
|
||||
|
||||
return this.toggleMeridian();
|
||||
} else {
|
||||
this.hour--;
|
||||
}
|
||||
} else {
|
||||
if (this.hour === 0) {
|
||||
this.hour = 23;
|
||||
} else {
|
||||
this.hour--;
|
||||
}
|
||||
}
|
||||
this.update();
|
||||
},
|
||||
decrementMinute: function (step) {
|
||||
var newVal;
|
||||
|
||||
if (step) {
|
||||
newVal = this.minute - step;
|
||||
} else {
|
||||
newVal = this.minute - this.minuteStep;
|
||||
}
|
||||
|
||||
if (newVal < 0) {
|
||||
this.decrementHour();
|
||||
this.minute = newVal + 60;
|
||||
} else {
|
||||
this.minute = newVal;
|
||||
}
|
||||
this.update();
|
||||
},
|
||||
decrementSecond: function () {
|
||||
var newVal = this.second - this.secondStep;
|
||||
|
||||
if (newVal < 0) {
|
||||
this.decrementMinute(true);
|
||||
this.second = newVal + 60;
|
||||
} else {
|
||||
this.second = newVal;
|
||||
}
|
||||
this.update();
|
||||
},
|
||||
elementKeydown: function (e) {
|
||||
switch (e.keyCode) {
|
||||
case 9: //tab
|
||||
this.updateFromElementVal();
|
||||
|
||||
switch (this.highlightedUnit) {
|
||||
case 'hour':
|
||||
e.preventDefault();
|
||||
this.highlightNextUnit();
|
||||
break;
|
||||
case 'minute':
|
||||
if (this.showMeridian || this.showSeconds) {
|
||||
e.preventDefault();
|
||||
this.highlightNextUnit();
|
||||
}
|
||||
break;
|
||||
case 'second':
|
||||
if (this.showMeridian) {
|
||||
e.preventDefault();
|
||||
this.highlightNextUnit();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 27: // escape
|
||||
this.updateFromElementVal();
|
||||
break;
|
||||
case 37: // left arrow
|
||||
e.preventDefault();
|
||||
this.highlightPrevUnit();
|
||||
this.updateFromElementVal();
|
||||
break;
|
||||
case 38: // up arrow
|
||||
e.preventDefault();
|
||||
switch (this.highlightedUnit) {
|
||||
case 'hour':
|
||||
this.incrementHour();
|
||||
this.highlightHour();
|
||||
break;
|
||||
case 'minute':
|
||||
this.incrementMinute();
|
||||
this.highlightMinute();
|
||||
break;
|
||||
case 'second':
|
||||
this.incrementSecond();
|
||||
this.highlightSecond();
|
||||
break;
|
||||
case 'meridian':
|
||||
this.toggleMeridian();
|
||||
this.highlightMeridian();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 39: // right arrow
|
||||
e.preventDefault();
|
||||
this.updateFromElementVal();
|
||||
this.highlightNextUnit();
|
||||
break;
|
||||
case 40: // down arrow
|
||||
e.preventDefault();
|
||||
switch (this.highlightedUnit) {
|
||||
case 'hour':
|
||||
this.decrementHour();
|
||||
this.highlightHour();
|
||||
break;
|
||||
case 'minute':
|
||||
this.decrementMinute();
|
||||
this.highlightMinute();
|
||||
break;
|
||||
case 'second':
|
||||
this.decrementSecond();
|
||||
this.highlightSecond();
|
||||
break;
|
||||
case 'meridian':
|
||||
this.toggleMeridian();
|
||||
this.highlightMeridian();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
},
|
||||
formatTime: function (hour, minute, second, meridian) {
|
||||
hour = hour < 10 ? '0' + hour : hour;
|
||||
minute = minute < 10 ? '0' + minute : minute;
|
||||
second = second < 10 ? '0' + second : second;
|
||||
|
||||
return hour + ':' + minute + (this.showSeconds ? ':' + second : '') + (this.showMeridian ? ' ' + meridian : '');
|
||||
},
|
||||
getCursorPosition: function () {
|
||||
var input = this.$element.get(0);
|
||||
|
||||
if ('selectionStart' in input) {// Standard-compliant browsers
|
||||
|
||||
return input.selectionStart;
|
||||
} else if (document.selection) {// IE fix
|
||||
input.focus();
|
||||
var sel = document.selection.createRange(),
|
||||
selLen = document.selection.createRange().text.length;
|
||||
|
||||
sel.moveStart('character', -input.value.length);
|
||||
|
||||
return sel.text.length - selLen;
|
||||
}
|
||||
},
|
||||
getTemplate: function () {
|
||||
var template,
|
||||
hourTemplate,
|
||||
minuteTemplate,
|
||||
secondTemplate,
|
||||
meridianTemplate,
|
||||
templateContent;
|
||||
|
||||
if (this.showInputs) {
|
||||
hourTemplate = '<input type="text" name="hour" class="bootstrap-timepicker-hour form-control" maxlength="2"/>';
|
||||
minuteTemplate = '<input type="text" name="minute" class="bootstrap-timepicker-minute form-control" maxlength="2"/>';
|
||||
secondTemplate = '<input type="text" name="second" class="bootstrap-timepicker-second form-control" maxlength="2"/>';
|
||||
meridianTemplate = '<input type="text" name="meridian" class="bootstrap-timepicker-meridian form-control" maxlength="2"/>';
|
||||
} else {
|
||||
hourTemplate = '<span class="bootstrap-timepicker-hour"></span>';
|
||||
minuteTemplate = '<span class="bootstrap-timepicker-minute"></span>';
|
||||
secondTemplate = '<span class="bootstrap-timepicker-second"></span>';
|
||||
meridianTemplate = '<span class="bootstrap-timepicker-meridian"></span>';
|
||||
}
|
||||
|
||||
templateContent = '<table>' +
|
||||
'<tr>' +
|
||||
'<td><a href="#" data-action="incrementHour"><i class="' + this.upArrowStyle + '"></i></a></td>' +
|
||||
'<td class="separator"> </td>' +
|
||||
'<td><a href="#" data-action="incrementMinute"><i class="' + this.upArrowStyle + '"></i></a></td>' +
|
||||
(this.showSeconds ?
|
||||
'<td class="separator"> </td>' +
|
||||
'<td><a href="#" data-action="incrementSecond"><i class="' + this.upArrowStyle + '"></i></a></td>'
|
||||
: '') +
|
||||
(this.showMeridian ?
|
||||
'<td class="separator"> </td>' +
|
||||
'<td class="meridian-column"><a href="#" data-action="toggleMeridian"><i class="' + this.upArrowStyle + '"></i></a></td>'
|
||||
: '') +
|
||||
'</tr>' +
|
||||
'<tr>' +
|
||||
'<td>' + hourTemplate + '</td> ' +
|
||||
'<td class="separator">:</td>' +
|
||||
'<td>' + minuteTemplate + '</td> ' +
|
||||
(this.showSeconds ?
|
||||
'<td class="separator">:</td>' +
|
||||
'<td>' + secondTemplate + '</td>'
|
||||
: '') +
|
||||
(this.showMeridian ?
|
||||
'<td class="separator"> </td>' +
|
||||
'<td>' + meridianTemplate + '</td>'
|
||||
: '') +
|
||||
'</tr>' +
|
||||
'<tr>' +
|
||||
'<td><a href="#" data-action="decrementHour"><i class="' + this.downArrowStyle + '"></i></a></td>' +
|
||||
'<td class="separator"></td>' +
|
||||
'<td><a href="#" data-action="decrementMinute"><i class="' + this.downArrowStyle + '"></i></a></td>' +
|
||||
(this.showSeconds ?
|
||||
'<td class="separator"> </td>' +
|
||||
'<td><a href="#" data-action="decrementSecond"><i class="' + this.downArrowStyle + '"></i></a></td>'
|
||||
: '') +
|
||||
(this.showMeridian ?
|
||||
'<td class="separator"> </td>' +
|
||||
'<td><a href="#" data-action="toggleMeridian"><i class="' + this.downArrowStyle + '"></i></a></td>'
|
||||
: '') +
|
||||
'</tr>' +
|
||||
'</table>';
|
||||
|
||||
switch (this.template) {
|
||||
case 'modal':
|
||||
template = '<div class="bootstrap-timepicker-widget modal hide fade in" data-backdrop="' + (this.modalBackdrop ? 'true' : 'false') + '">' +
|
||||
'<div class="modal-header">' +
|
||||
'<a href="#" class="close" data-dismiss="modal">×</a>' +
|
||||
'<h3>Pick a Time</h3>' +
|
||||
'</div>' +
|
||||
'<div class="modal-content">' +
|
||||
templateContent +
|
||||
'</div>' +
|
||||
'<div class="modal-footer">' +
|
||||
'<a href="#" class="btn btn-primary" data-dismiss="modal">OK</a>' +
|
||||
'</div>' +
|
||||
'</div>';
|
||||
break;
|
||||
case 'dropdown':
|
||||
template = '<div class="bootstrap-timepicker-widget dropdown-menu">' + templateContent + '</div>';
|
||||
break;
|
||||
}
|
||||
|
||||
return template;
|
||||
},
|
||||
getTime: function () {
|
||||
return this.formatTime(this.hour, this.minute, this.second, this.meridian);
|
||||
},
|
||||
hideWidget: function () {
|
||||
if (this.isOpen === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.showInputs) {
|
||||
this.updateFromWidgetInputs();
|
||||
}
|
||||
|
||||
this.$element.trigger({
|
||||
'type': 'hide.timepicker',
|
||||
'time': {
|
||||
'value': this.getTime(),
|
||||
'hours': this.hour,
|
||||
'minutes': this.minute,
|
||||
'seconds': this.second,
|
||||
'meridian': this.meridian
|
||||
}
|
||||
});
|
||||
|
||||
if (this.template === 'modal' && this.$widget.modal) {
|
||||
this.$widget.modal('hide');
|
||||
} else {
|
||||
this.$widget.removeClass('open');
|
||||
}
|
||||
|
||||
$(document).off('mousedown.timepicker');
|
||||
|
||||
this.isOpen = false;
|
||||
},
|
||||
highlightUnit: function () {
|
||||
this.position = this.getCursorPosition();
|
||||
if (this.position >= 0 && this.position <= 2) {
|
||||
this.highlightHour();
|
||||
} else if (this.position >= 3 && this.position <= 5) {
|
||||
this.highlightMinute();
|
||||
} else if (this.position >= 6 && this.position <= 8) {
|
||||
if (this.showSeconds) {
|
||||
this.highlightSecond();
|
||||
} else {
|
||||
this.highlightMeridian();
|
||||
}
|
||||
} else if (this.position >= 9 && this.position <= 11) {
|
||||
this.highlightMeridian();
|
||||
}
|
||||
},
|
||||
highlightNextUnit: function () {
|
||||
switch (this.highlightedUnit) {
|
||||
case 'hour':
|
||||
this.highlightMinute();
|
||||
break;
|
||||
case 'minute':
|
||||
if (this.showSeconds) {
|
||||
this.highlightSecond();
|
||||
} else if (this.showMeridian) {
|
||||
this.highlightMeridian();
|
||||
} else {
|
||||
this.highlightHour();
|
||||
}
|
||||
break;
|
||||
case 'second':
|
||||
if (this.showMeridian) {
|
||||
this.highlightMeridian();
|
||||
} else {
|
||||
this.highlightHour();
|
||||
}
|
||||
break;
|
||||
case 'meridian':
|
||||
this.highlightHour();
|
||||
break;
|
||||
}
|
||||
},
|
||||
highlightPrevUnit: function () {
|
||||
switch (this.highlightedUnit) {
|
||||
case 'hour':
|
||||
this.highlightMeridian();
|
||||
break;
|
||||
case 'minute':
|
||||
this.highlightHour();
|
||||
break;
|
||||
case 'second':
|
||||
this.highlightMinute();
|
||||
break;
|
||||
case 'meridian':
|
||||
if (this.showSeconds) {
|
||||
this.highlightSecond();
|
||||
} else {
|
||||
this.highlightMinute();
|
||||
}
|
||||
break;
|
||||
}
|
||||
},
|
||||
highlightHour: function () {
|
||||
var $element = this.$element.get(0);
|
||||
|
||||
this.highlightedUnit = 'hour';
|
||||
|
||||
if ($element.setSelectionRange) {
|
||||
setTimeout(function () {
|
||||
$element.setSelectionRange(0, 2);
|
||||
}, 0);
|
||||
}
|
||||
},
|
||||
highlightMinute: function () {
|
||||
var $element = this.$element.get(0);
|
||||
|
||||
this.highlightedUnit = 'minute';
|
||||
|
||||
if ($element.setSelectionRange) {
|
||||
setTimeout(function () {
|
||||
$element.setSelectionRange(3, 5);
|
||||
}, 0);
|
||||
}
|
||||
},
|
||||
highlightSecond: function () {
|
||||
var $element = this.$element.get(0);
|
||||
|
||||
this.highlightedUnit = 'second';
|
||||
|
||||
if ($element.setSelectionRange) {
|
||||
setTimeout(function () {
|
||||
$element.setSelectionRange(6, 8);
|
||||
}, 0);
|
||||
}
|
||||
},
|
||||
highlightMeridian: function () {
|
||||
var $element = this.$element.get(0);
|
||||
|
||||
this.highlightedUnit = 'meridian';
|
||||
|
||||
if ($element.setSelectionRange) {
|
||||
if (this.showSeconds) {
|
||||
setTimeout(function () {
|
||||
$element.setSelectionRange(9, 11);
|
||||
}, 0);
|
||||
} else {
|
||||
setTimeout(function () {
|
||||
$element.setSelectionRange(6, 8);
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
},
|
||||
incrementHour: function () {
|
||||
if (this.showMeridian) {
|
||||
if (this.hour === 11) {
|
||||
this.hour++;
|
||||
return this.toggleMeridian();
|
||||
} else if (this.hour === 12) {
|
||||
this.hour = 0;
|
||||
}
|
||||
}
|
||||
if (this.hour === 23) {
|
||||
this.hour = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
this.hour++;
|
||||
this.update();
|
||||
},
|
||||
incrementMinute: function (step) {
|
||||
var newVal;
|
||||
|
||||
if (step) {
|
||||
newVal = this.minute + step;
|
||||
} else {
|
||||
newVal = this.minute + this.minuteStep - (this.minute % this.minuteStep);
|
||||
}
|
||||
|
||||
if (newVal > 59) {
|
||||
this.incrementHour();
|
||||
this.minute = newVal - 60;
|
||||
} else {
|
||||
this.minute = newVal;
|
||||
}
|
||||
this.update();
|
||||
},
|
||||
incrementSecond: function () {
|
||||
var newVal = this.second + this.secondStep - (this.second % this.secondStep);
|
||||
|
||||
if (newVal > 59) {
|
||||
this.incrementMinute(true);
|
||||
this.second = newVal - 60;
|
||||
} else {
|
||||
this.second = newVal;
|
||||
}
|
||||
this.update();
|
||||
},
|
||||
remove: function () {
|
||||
$('document').off('.timepicker');
|
||||
if (this.$widget) {
|
||||
this.$widget.remove();
|
||||
}
|
||||
delete this.$element.data().timepicker;
|
||||
},
|
||||
setDefaultTime: function (defaultTime) {
|
||||
if (!this.$element.val()) {
|
||||
if (defaultTime === 'current') {
|
||||
var dTime = new Date(),
|
||||
hours = dTime.getHours(),
|
||||
minutes = Math.floor(dTime.getMinutes() / this.minuteStep) * this.minuteStep,
|
||||
seconds = Math.floor(dTime.getSeconds() / this.secondStep) * this.secondStep,
|
||||
meridian = 'AM';
|
||||
|
||||
if (this.showMeridian) {
|
||||
if (hours === 0) {
|
||||
hours = 12;
|
||||
} else if (hours >= 12) {
|
||||
if (hours > 12) {
|
||||
hours = hours - 12;
|
||||
}
|
||||
meridian = 'PM';
|
||||
} else {
|
||||
meridian = 'AM';
|
||||
}
|
||||
}
|
||||
|
||||
this.hour = hours;
|
||||
this.minute = minutes;
|
||||
this.second = seconds;
|
||||
this.meridian = meridian;
|
||||
|
||||
this.update(true);
|
||||
|
||||
} else if (defaultTime === false) {
|
||||
this.hour = 0;
|
||||
this.minute = 0;
|
||||
this.second = 0;
|
||||
this.meridian = 'AM';
|
||||
} else {
|
||||
this.setTime(defaultTime);
|
||||
}
|
||||
} else {
|
||||
this.updateFromElementVal();
|
||||
}
|
||||
},
|
||||
setTime: function (time) {
|
||||
var arr,
|
||||
timeArray;
|
||||
|
||||
if (this.showMeridian) {
|
||||
arr = time.split(' ');
|
||||
timeArray = arr[0].split(':');
|
||||
this.meridian = arr[1];
|
||||
} else {
|
||||
timeArray = time.split(':');
|
||||
}
|
||||
|
||||
this.hour = parseInt(timeArray[0], 10);
|
||||
this.minute = parseInt(timeArray[1], 10);
|
||||
this.second = parseInt(timeArray[2], 10);
|
||||
|
||||
if (isNaN(this.hour)) {
|
||||
this.hour = 0;
|
||||
}
|
||||
if (isNaN(this.minute)) {
|
||||
this.minute = 0;
|
||||
}
|
||||
|
||||
if (this.showMeridian) {
|
||||
if (this.hour > 12) {
|
||||
this.hour = 12;
|
||||
} else if (this.hour < 1) {
|
||||
this.hour = 12;
|
||||
}
|
||||
|
||||
if (this.meridian === 'am' || this.meridian === 'a') {
|
||||
this.meridian = 'AM';
|
||||
} else if (this.meridian === 'pm' || this.meridian === 'p') {
|
||||
this.meridian = 'PM';
|
||||
}
|
||||
|
||||
if (this.meridian !== 'AM' && this.meridian !== 'PM') {
|
||||
this.meridian = 'AM';
|
||||
}
|
||||
} else {
|
||||
if (this.hour >= 24) {
|
||||
this.hour = 23;
|
||||
} else if (this.hour < 0) {
|
||||
this.hour = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.minute < 0) {
|
||||
this.minute = 0;
|
||||
} else if (this.minute >= 60) {
|
||||
this.minute = 59;
|
||||
}
|
||||
|
||||
if (this.showSeconds) {
|
||||
if (isNaN(this.second)) {
|
||||
this.second = 0;
|
||||
} else if (this.second < 0) {
|
||||
this.second = 0;
|
||||
} else if (this.second >= 60) {
|
||||
this.second = 59;
|
||||
}
|
||||
}
|
||||
|
||||
this.update();
|
||||
},
|
||||
showWidget: function () {
|
||||
if (this.isOpen) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.$element.is(':disabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
$(document).on('mousedown.timepicker', function (e) {
|
||||
// Clicked outside the timepicker, hide it
|
||||
if ($(e.target).closest('.bootstrap-timepicker-widget').length === 0) {
|
||||
self.hideWidget();
|
||||
}
|
||||
});
|
||||
|
||||
this.$element.trigger({
|
||||
'type': 'show.timepicker',
|
||||
'time': {
|
||||
'value': this.getTime(),
|
||||
'hours': this.hour,
|
||||
'minutes': this.minute,
|
||||
'seconds': this.second,
|
||||
'meridian': this.meridian
|
||||
}
|
||||
});
|
||||
|
||||
if (this.disableFocus) {
|
||||
this.$element.blur();
|
||||
}
|
||||
|
||||
this.updateFromElementVal();
|
||||
|
||||
if (this.template === 'modal' && this.$widget.modal) {
|
||||
this.$widget.modal('show').on('hidden', $.proxy(this.hideWidget, this));
|
||||
} else {
|
||||
if (this.isOpen === false) {
|
||||
this.$widget.addClass('open');
|
||||
}
|
||||
}
|
||||
|
||||
this.isOpen = true;
|
||||
},
|
||||
toggleMeridian: function () {
|
||||
this.meridian = this.meridian === 'AM' ? 'PM' : 'AM';
|
||||
this.update();
|
||||
},
|
||||
update: function (skipChange) {
|
||||
this.$element.trigger({
|
||||
'type': 'changeTime.timepicker',
|
||||
'time': {
|
||||
'value': this.getTime(),
|
||||
'hours': this.hour,
|
||||
'minutes': this.minute,
|
||||
'seconds': this.second,
|
||||
'meridian': this.meridian
|
||||
}
|
||||
});
|
||||
|
||||
this.updateElement(skipChange);
|
||||
this.updateWidget();
|
||||
},
|
||||
updateElement: function (skipChange) {
|
||||
var $el = this.$element;
|
||||
$el.val(this.getTime());
|
||||
if (!skipChange) {
|
||||
$el.change();
|
||||
}
|
||||
},
|
||||
updateFromElementVal: function () {
|
||||
var val = this.$element.val();
|
||||
|
||||
if (val) {
|
||||
this.setTime(val);
|
||||
}
|
||||
},
|
||||
updateWidget: function () {
|
||||
if (this.$widget === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
var hour = this.hour < 10 ? '0' + this.hour : this.hour,
|
||||
minute = this.minute < 10 ? '0' + this.minute : this.minute,
|
||||
second = this.second < 10 ? '0' + this.second : this.second;
|
||||
|
||||
if (this.showInputs) {
|
||||
this.$widget.find('input.bootstrap-timepicker-hour').val(hour);
|
||||
this.$widget.find('input.bootstrap-timepicker-minute').val(minute);
|
||||
|
||||
if (this.showSeconds) {
|
||||
this.$widget.find('input.bootstrap-timepicker-second').val(second);
|
||||
}
|
||||
if (this.showMeridian) {
|
||||
this.$widget.find('input.bootstrap-timepicker-meridian').val(this.meridian);
|
||||
}
|
||||
} else {
|
||||
this.$widget.find('span.bootstrap-timepicker-hour').text(hour);
|
||||
this.$widget.find('span.bootstrap-timepicker-minute').text(minute);
|
||||
|
||||
if (this.showSeconds) {
|
||||
this.$widget.find('span.bootstrap-timepicker-second').text(second);
|
||||
}
|
||||
if (this.showMeridian) {
|
||||
this.$widget.find('span.bootstrap-timepicker-meridian').text(this.meridian);
|
||||
}
|
||||
}
|
||||
},
|
||||
updateFromWidgetInputs: function () {
|
||||
if (this.$widget === false) {
|
||||
return;
|
||||
}
|
||||
var time = $('input.bootstrap-timepicker-hour', this.$widget).val() + ':' +
|
||||
$('input.bootstrap-timepicker-minute', this.$widget).val() +
|
||||
(this.showSeconds ? ':' + $('input.bootstrap-timepicker-second', this.$widget).val() : '') +
|
||||
(this.showMeridian ? ' ' + $('input.bootstrap-timepicker-meridian', this.$widget).val() : '');
|
||||
|
||||
this.setTime(time);
|
||||
},
|
||||
widgetClick: function (e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
var action = $(e.target).closest('a').data('action');
|
||||
if (action) {
|
||||
this[action]();
|
||||
}
|
||||
},
|
||||
widgetKeydown: function (e) {
|
||||
var $input = $(e.target).closest('input'),
|
||||
name = $input.attr('name');
|
||||
|
||||
switch (e.keyCode) {
|
||||
case 9: //tab
|
||||
if (this.showMeridian) {
|
||||
if (name === 'meridian') {
|
||||
return this.hideWidget();
|
||||
}
|
||||
} else {
|
||||
if (this.showSeconds) {
|
||||
if (name === 'second') {
|
||||
return this.hideWidget();
|
||||
}
|
||||
} else {
|
||||
if (name === 'minute') {
|
||||
return this.hideWidget();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.updateFromWidgetInputs();
|
||||
break;
|
||||
case 27: // escape
|
||||
this.hideWidget();
|
||||
break;
|
||||
case 38: // up arrow
|
||||
e.preventDefault();
|
||||
switch (name) {
|
||||
case 'hour':
|
||||
this.incrementHour();
|
||||
break;
|
||||
case 'minute':
|
||||
this.incrementMinute();
|
||||
break;
|
||||
case 'second':
|
||||
this.incrementSecond();
|
||||
break;
|
||||
case 'meridian':
|
||||
this.toggleMeridian();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 40: // down arrow
|
||||
e.preventDefault();
|
||||
switch (name) {
|
||||
case 'hour':
|
||||
this.decrementHour();
|
||||
break;
|
||||
case 'minute':
|
||||
this.decrementMinute();
|
||||
break;
|
||||
case 'second':
|
||||
this.decrementSecond();
|
||||
break;
|
||||
case 'meridian':
|
||||
this.toggleMeridian();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//TIMEPICKER PLUGIN DEFINITION
|
||||
$.fn.timepicker = function (option) {
|
||||
var args = Array.apply(null, arguments);
|
||||
args.shift();
|
||||
return this.each(function () {
|
||||
var $this = $(this),
|
||||
data = $this.data('timepicker'),
|
||||
options = typeof option === 'object' && option;
|
||||
|
||||
if (!data) {
|
||||
$this.data('timepicker', (data = new Timepicker(this, $.extend({}, $.fn.timepicker.defaults, options, $(this).data()))));
|
||||
}
|
||||
|
||||
if (typeof option === 'string') {
|
||||
data[option].apply(data, args);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
$.fn.timepicker.defaults = {
|
||||
defaultTime: 'current',
|
||||
disableFocus: false,
|
||||
isOpen: false,
|
||||
minuteStep: 15,
|
||||
modalBackdrop: false,
|
||||
secondStep: 15,
|
||||
showSeconds: false,
|
||||
showInputs: true,
|
||||
showMeridian: true,
|
||||
template: 'dropdown',
|
||||
appendWidgetTo: '.bootstrap-timepicker',
|
||||
upArrowStyle: 'glyphicon glyphicon-chevron-up',
|
||||
downArrowStyle: 'glyphicon glyphicon-chevron-down',
|
||||
containerClass: 'bootstrap-timepicker'
|
||||
};
|
||||
|
||||
$.fn.timepicker.Constructor = Timepicker;
|
||||
|
||||
})(jQuery, window, document);
|
6
backend/components/timepicker/src/assets/js/bootstrap-timepicker.min.js
vendored
Normal file
6
backend/components/timepicker/src/assets/js/bootstrap-timepicker.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -47,7 +47,7 @@ use yii\widgets\ActiveForm;
|
||||
]
|
||||
) ?>
|
||||
|
||||
<?= $form->field($model, 'time_limit')->widget(TimePicker::class,
|
||||
<?= $form->field($model, 'time_limit')->widget(\backend\components\timepicker\src\TimePicker::class,
|
||||
[
|
||||
'name' => 'time_limit_picker',
|
||||
'pluginOptions' => [
|
||||
|
@ -33,7 +33,7 @@ use yii\widgets\ActiveForm;
|
||||
]
|
||||
) ?>
|
||||
|
||||
<?= $form->field($model, 'time_limit')->widget(TimePicker::class,
|
||||
<?= $form->field($model, 'time_limit')->widget(\backend\components\timepicker\src\TimePicker::class,
|
||||
[
|
||||
'name' => 'time_limit_picker',
|
||||
'pluginOptions' => [
|
||||
|
@ -34,8 +34,7 @@
|
||||
"ramsey/uuid": "^4.2",
|
||||
"kartik-v/yii2-widget-depdrop": "dev-master",
|
||||
"2amigos/yii2-transliterator-helper": "*",
|
||||
"ext-json": "*",
|
||||
"kartik-v/yii2-widget-timepicker": "dev-master"
|
||||
"ext-json": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"yiisoft/yii2-debug": "~2.0.0",
|
||||
|
64
composer.lock
generated
64
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "87552c9f0d88300635082bc7f18b1ad8",
|
||||
"content-hash": "8c490c0c2f4470c7f35b226266d2c94d",
|
||||
"packages": [
|
||||
{
|
||||
"name": "2amigos/yii2-file-upload-widget",
|
||||
@ -1614,65 +1614,6 @@
|
||||
],
|
||||
"time": "2021-10-06T11:17:54+00:00"
|
||||
},
|
||||
{
|
||||
"name": "kartik-v/yii2-widget-timepicker",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/kartik-v/yii2-widget-timepicker.git",
|
||||
"reference": "680aec2d79846e926c072da455cf6f33e1c3bb12"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/kartik-v/yii2-widget-timepicker/zipball/680aec2d79846e926c072da455cf6f33e1c3bb12",
|
||||
"reference": "680aec2d79846e926c072da455cf6f33e1c3bb12",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"kartik-v/yii2-krajee-base": ">=2.0.0"
|
||||
},
|
||||
"default-branch": true,
|
||||
"type": "yii2-extension",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.0.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"kartik\\time\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"BSD-3-Clause"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Kartik Visweswaran",
|
||||
"email": "kartikv2@gmail.com",
|
||||
"homepage": "http://www.krajee.com/"
|
||||
}
|
||||
],
|
||||
"description": "Enhanced Yii2 wrapper for the bootstrap timepicker plugin (sub repo split from yii2-widgets)",
|
||||
"homepage": "https://github.com/kartik-v/yii2-widget-timepicker",
|
||||
"keywords": [
|
||||
"bootstrap",
|
||||
"extension",
|
||||
"form",
|
||||
"jquery",
|
||||
"picker",
|
||||
"plugin",
|
||||
"time",
|
||||
"widget",
|
||||
"yii2"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/kartik-v/yii2-widget-timepicker/issues",
|
||||
"source": "https://github.com/kartik-v/yii2-widget-timepicker/tree/v1.0.5"
|
||||
},
|
||||
"time": "2021-10-28T03:49:56+00:00"
|
||||
},
|
||||
{
|
||||
"name": "kavalar/hhapi",
|
||||
"version": "dev-master",
|
||||
@ -6873,8 +6814,7 @@
|
||||
"kartik-v/yii2-widget-select2": 20,
|
||||
"kavalar/hhapi": 20,
|
||||
"kartik-v/yii2-grid": 20,
|
||||
"kartik-v/yii2-widget-depdrop": 20,
|
||||
"kartik-v/yii2-widget-timepicker": 20
|
||||
"kartik-v/yii2-widget-depdrop": 20
|
||||
},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
|
@ -26367,3 +26367,181 @@
|
||||
127.0.0.1 - - [02/Nov/2021:18:43:36 +0300] "GET /questionnaire/questionnaire-category HTTP/1.1" 200 13081 "http://backend.guild.loc/questionnaire/answer/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [02/Nov/2021:18:43:36 +0300] "GET /debug/default/toolbar?tag=61815ca8b17a6 HTTP/1.1" 200 3423 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [02/Nov/2021:18:43:37 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:44 +0300] "GET /gii/crud HTTP/1.1" 200 12929 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/39b83f70/css/select2.css HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/71772193/css/bootstrap.css HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/5b57ee2f/css/select2-addl.css HTTP/1.1" 404 11893 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/bae3a4f/css/kv-widgets.css HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/5b57ee2f/css/select2-krajee.css HTTP/1.1" 404 11893 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/css/site.css HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/ccdf1f3a/css/font-awesome.min.css HTTP/1.1" 404 11894 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 404 11892 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/5aa3f20b/jquery.js HTTP/1.1" 404 11893 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/cd83ad4b/css/skins/_all-skins.min.css HTTP/1.1" 404 11889 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/27128343/yii.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/39b83f70/js/select2.full.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/39b83f70/js/i18n/ru.js HTTP/1.1" 404 11892 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/5b57ee2f/js/select2-krajee.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/bae3a4f/js/kv-widgets.js HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/27128343/yii.gridView.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/js/site.js HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/71772193/js/bootstrap.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 404 11892 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/debug/default/toolbar?tag=61823144ade25 HTTP/1.1" 200 3422 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/5aa3f20b/jquery.js HTTP/1.1" 404 11889 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 404 11889 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/27128343/yii.js HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/39b83f70/js/select2.full.js HTTP/1.1" 404 11890 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/39b83f70/js/i18n/ru.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/5b57ee2f/js/select2-krajee.js HTTP/1.1" 404 11892 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:45 +0300] "GET /secure/assets/bae3a4f/js/kv-widgets.js HTTP/1.1" 404 11887 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:46 +0300] "GET /secure/assets/27128343/yii.gridView.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:46 +0300] "GET /secure/js/site.js HTTP/1.1" 404 11889 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:46 +0300] "GET /secure/assets/71772193/js/bootstrap.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:50:46 +0300] "GET /secure/assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 404 11891 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:12 +0300] "GET /gii/crud HTTP/1.1" 200 10483 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/71772193/css/bootstrap.css HTTP/1.1" 200 145933 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/7e18d02c/main.css HTTP/1.1" 200 4936 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/7e18d02c/logo.png HTTP/1.1" 200 6677 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 200 288580 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 200 20934 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/27128343/yii.validation.js HTTP/1.1" 200 16405 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/27128343/yii.activeForm.js HTTP/1.1" 200 36765 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 200 75484 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/b1e9395/typeahead.bundle.js HTTP/1.1" 200 96186 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/7e18d02c/gii.js HTTP/1.1" 200 12755 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /assets/71772193/fonts/glyphicons-halflings-regular.woff2 HTTP/1.1" 200 18028 "http://backend.guild.loc/assets/71772193/css/bootstrap.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /debug/default/toolbar?tag=61823160a7ed5 HTTP/1.1" 200 3392 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:13 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:27 +0300] "GET /gii HTTP/1.1" 200 8218 "http://backend.guild.loc/gii/crud" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:09:51:27 +0300] "GET /debug/default/toolbar?tag=6182316f5a25c HTTP/1.1" 200 3390 "http://backend.guild.loc/gii" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /questionnaire/questionnaire-category HTTP/1.1" 200 13079 "http://backend.guild.loc/questionnaire/answer/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 200 7070 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/71772193/css/bootstrap.css HTTP/1.1" 200 145933 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 200 106548 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /css/site.css HTTP/1.1" 200 805 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/ccdf1f3a/css/font-awesome.min.css HTTP/1.1" 200 31000 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/cd83ad4b/css/skins/_all-skins.min.css HTTP/1.1" 200 41635 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 200 75484 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 200 20934 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /assets/ccdf1f3a/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://backend.guild.loc/assets/ccdf1f3a/css/font-awesome.min.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:06 +0300] "GET /debug/default/toolbar?tag=6182373621478 HTTP/1.1" 200 3423 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:07 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:12 +0300] "GET /questionnaire/questionnaire HTTP/1.1" 200 14678 "http://backend.guild.loc/questionnaire/questionnaire-category" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:13 +0300] "GET /debug/default/toolbar?tag=6182373cc0e24 HTTP/1.1" 200 3415 "http://backend.guild.loc/questionnaire/questionnaire" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:16:14 +0300] "GET /questionnaire/questionnaire/create HTTP/1.1" 500 45707 "http://backend.guild.loc/questionnaire/questionnaire" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:17:35 +0300] "GET /questionnaire/questionnaire/create HTTP/1.1" 500 117635 "http://backend.guild.loc/questionnaire/questionnaire" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:17:35 +0300] "GET /debug/default/toolbar?tag=6182378f62988 HTTP/1.1" 200 3482 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:17:35 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:48 +0300] "GET /questionnaire/questionnaire/create HTTP/1.1" 200 13462 "http://backend.guild.loc/questionnaire/questionnaire" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/71772193/css/bootstrap.css HTTP/1.1" 200 145933 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/39b83f70/css/select2.css HTTP/1.1" 200 17358 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/5b57ee2f/css/select2-krajee.css HTTP/1.1" 200 20817 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/5b57ee2f/css/select2-addl.css HTTP/1.1" 200 994 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/bae3a4f/css/kv-widgets.css HTTP/1.1" 200 813 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/3eee46c3/css/bootstrap-timepicker.css HTTP/1.1" 200 3995 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /css/site.css HTTP/1.1" 200 805 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/ccdf1f3a/css/font-awesome.min.css HTTP/1.1" 200 31000 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 200 106548 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/cd83ad4b/css/skins/_all-skins.min.css HTTP/1.1" 200 41635 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 200 288580 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 200 20934 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/39b83f70/js/select2.full.js HTTP/1.1" 200 173566 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/39b83f70/js/i18n/ru.js HTTP/1.1" 200 1171 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/5b57ee2f/js/select2-krajee.js HTTP/1.1" 200 7344 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/bae3a4f/js/kv-widgets.js HTTP/1.1" 200 1061 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/27128343/yii.validation.js HTTP/1.1" 200 16405 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/3eee46c3/js/bootstrap-timepicker.js HTTP/1.1" 200 32247 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/27128343/yii.activeForm.js HTTP/1.1" 200 36765 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /js/site.js HTTP/1.1" 200 1214 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 200 75484 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 200 13611 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 200 7070 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /debug/default/toolbar?tag=618237d8b78d7 HTTP/1.1" 200 3422 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/bae3a4f/img/loading-plugin.gif HTTP/1.1" 200 847 "http://backend.guild.loc/assets/bae3a4f/css/kv-widgets.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/ccdf1f3a/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://backend.guild.loc/assets/ccdf1f3a/css/font-awesome.min.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /assets/71772193/fonts/glyphicons-halflings-regular.woff2 HTTP/1.1" 200 18028 "http://backend.guild.loc/assets/71772193/css/bootstrap.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:49 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:54 +0300] "GET /assets/5b57ee2f/css/search.png HTTP/1.1" 200 269 "http://backend.guild.loc/assets/5b57ee2f/css/select2-krajee.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:18:54 +0300] "GET /assets/5b57ee2f/css/loading.gif HTTP/1.1" 200 1737 "http://backend.guild.loc/assets/5b57ee2f/css/select2-krajee.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:19:19 +0300] "POST /questionnaire/questionnaire/create HTTP/1.1" 302 5 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:19:19 +0300] "GET /questionnaire/questionnaire/view?id=36 HTTP/1.1" 200 12619 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:19:19 +0300] "GET /debug/default/toolbar?tag=618237f78130d HTTP/1.1" 200 3411 "http://backend.guild.loc/questionnaire/questionnaire/view?id=36" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:19:19 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/questionnaire/view?id=36" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:19:23 +0300] "GET /questionnaire/questionnaire/index HTTP/1.1" 200 14831 "http://backend.guild.loc/questionnaire/questionnaire/view?id=36" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:19:23 +0300] "GET /debug/default/toolbar?tag=618237fb8a1fb HTTP/1.1" 200 3416 "http://backend.guild.loc/questionnaire/questionnaire/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:12 +0300] "GET /questionnaire/question HTTP/1.1" 200 14327 "http://backend.guild.loc/questionnaire/questionnaire/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:13 +0300] "GET /debug/default/toolbar?tag=6182382cb4255 HTTP/1.1" 200 3413 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /questionnaire/question HTTP/1.1" 200 14323 "http://backend.guild.loc/questionnaire/questionnaire/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/71772193/css/bootstrap.css HTTP/1.1" 200 145933 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /css/site.css HTTP/1.1" 200 805 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/ccdf1f3a/css/font-awesome.min.css HTTP/1.1" 200 31000 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 200 106548 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/cd83ad4b/css/skins/_all-skins.min.css HTTP/1.1" 200 41635 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 200 288580 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 200 20934 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/27128343/yii.gridView.js HTTP/1.1" 200 9507 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /js/site.js HTTP/1.1" 200 1214 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 200 75484 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 200 13611 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 200 7070 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /assets/ccdf1f3a/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://backend.guild.loc/assets/ccdf1f3a/css/font-awesome.min.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /debug/default/toolbar?tag=6182382e6aef2 HTTP/1.1" 200 3412 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:14 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:16 +0300] "GET /questionnaire/question/create HTTP/1.1" 200 14153 "http://backend.guild.loc/questionnaire/question" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:16 +0300] "GET /assets/3eee46c3/js/bootstrap-timepicker.js HTTP/1.1" 304 0 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:16 +0300] "GET /assets/3eee46c3/css/bootstrap-timepicker.css HTTP/1.1" 304 0 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:17 +0300] "GET /debug/default/toolbar?tag=618238309416b HTTP/1.1" 200 3418 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:41 +0300] "POST /questionnaire/question/create HTTP/1.1" 302 5 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:41 +0300] "GET /questionnaire/question/view?id=11 HTTP/1.1" 200 12039 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:41 +0300] "GET /debug/default/toolbar?tag=618238495513b HTTP/1.1" 200 3413 "http://backend.guild.loc/questionnaire/question/view?id=11" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:41 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/question/view?id=11" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:46 +0300] "GET /questionnaire/question/index HTTP/1.1" 200 14404 "http://backend.guild.loc/questionnaire/question/view?id=11" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:20:47 +0300] "GET /debug/default/toolbar?tag=6182384eccd40 HTTP/1.1" 200 3411 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /questionnaire/question/index HTTP/1.1" 200 14406 "http://backend.guild.loc/questionnaire/question/view?id=11" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/71772193/css/bootstrap.css HTTP/1.1" 200 145933 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /css/site.css HTTP/1.1" 200 805 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/ccdf1f3a/css/font-awesome.min.css HTTP/1.1" 200 31000 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/cd83ad4b/css/skins/_all-skins.min.css HTTP/1.1" 200 41635 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 200 106548 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 200 288580 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 200 20934 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/27128343/yii.gridView.js HTTP/1.1" 200 9507 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /js/site.js HTTP/1.1" 200 1214 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 200 75484 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 200 13611 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:24 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 200 7070 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:25 +0300] "GET /assets/ccdf1f3a/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://backend.guild.loc/assets/ccdf1f3a/css/font-awesome.min.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:25 +0300] "GET /debug/default/toolbar?tag=618238b04ba2a HTTP/1.1" 200 3410 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:25 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:26 +0300] "GET /questionnaire/question/create HTTP/1.1" 200 14020 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:26 +0300] "GET /assets/3eee46c3/css/bootstrap-timepicker.css HTTP/1.1" 304 0 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:26 +0300] "GET /assets/3eee46c3/js/bootstrap-timepicker.js HTTP/1.1" 304 0 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:26 +0300] "GET /debug/default/toolbar?tag=618238b21a043 HTTP/1.1" 200 3417 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:55 +0300] "POST /questionnaire/question/create HTTP/1.1" 302 5 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:55 +0300] "GET /questionnaire/question/view?id=12 HTTP/1.1" 200 12027 "http://backend.guild.loc/questionnaire/question/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:55 +0300] "GET /debug/default/toolbar?tag=618238cf47813 HTTP/1.1" 200 3413 "http://backend.guild.loc/questionnaire/question/view?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:57 +0300] "GET /questionnaire/question/index HTTP/1.1" 200 14566 "http://backend.guild.loc/questionnaire/question/view?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:22:57 +0300] "GET /debug/default/toolbar?tag=618238d17a08f HTTP/1.1" 200 3413 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:03 +0300] "GET /questionnaire/question/update?id=12 HTTP/1.1" 200 14079 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:04 +0300] "GET /assets/3eee46c3/css/bootstrap-timepicker.css HTTP/1.1" 304 0 "http://backend.guild.loc/questionnaire/question/update?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:04 +0300] "GET /assets/3eee46c3/js/bootstrap-timepicker.js HTTP/1.1" 304 0 "http://backend.guild.loc/questionnaire/question/update?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:04 +0300] "GET /debug/default/toolbar?tag=618238d7bcb37 HTTP/1.1" 200 3412 "http://backend.guild.loc/questionnaire/question/update?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:11 +0300] "POST /questionnaire/question/update?id=12 HTTP/1.1" 302 5 "http://backend.guild.loc/questionnaire/question/update?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:11 +0300] "GET /questionnaire/question/view?id=12 HTTP/1.1" 200 12035 "http://backend.guild.loc/questionnaire/question/update?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:12 +0300] "GET /debug/default/toolbar?tag=618238dfc0d7b HTTP/1.1" 200 3413 "http://backend.guild.loc/questionnaire/question/view?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:12 +0300] "GET /questionnaire/question/index HTTP/1.1" 200 14574 "http://backend.guild.loc/questionnaire/question/view?id=12" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:13 +0300] "GET /debug/default/toolbar?tag=618238e0c6380 HTTP/1.1" 200 3415 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:19 +0300] "GET /questionnaire/questionnaire HTTP/1.1" 200 14827 "http://backend.guild.loc/questionnaire/question/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:19 +0300] "GET /debug/default/toolbar?tag=618238e701ef2 HTTP/1.1" 200 3415 "http://backend.guild.loc/questionnaire/questionnaire" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:20 +0300] "GET /questionnaire/questionnaire/create HTTP/1.1" 200 13316 "http://backend.guild.loc/questionnaire/questionnaire" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:20 +0300] "GET /debug/default/toolbar?tag=618238e86f5a8 HTTP/1.1" 200 3421 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:31 +0300] "POST /questionnaire/questionnaire/create HTTP/1.1" 302 5 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:31 +0300] "GET /questionnaire/questionnaire/view?id=37 HTTP/1.1" 200 12610 "http://backend.guild.loc/questionnaire/questionnaire/create" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:31 +0300] "GET /debug/default/toolbar?tag=618238f341a38 HTTP/1.1" 200 3412 "http://backend.guild.loc/questionnaire/questionnaire/view?id=37" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:34 +0300] "GET /questionnaire/questionnaire/index HTTP/1.1" 200 14797 "http://backend.guild.loc/questionnaire/questionnaire/view?id=37" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:34 +0300] "GET /debug/default/toolbar?tag=618238f6058b0 HTTP/1.1" 200 3417 "http://backend.guild.loc/questionnaire/questionnaire/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:37 +0300] "GET /questionnaire/questionnaire/index?page=2 HTTP/1.1" 200 13285 "http://backend.guild.loc/questionnaire/questionnaire/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:37 +0300] "GET /debug/default/toolbar?tag=618238f968916 HTTP/1.1" 200 3414 "http://backend.guild.loc/questionnaire/questionnaire/index?page=2" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:46 +0300] "GET /questionnaire/questionnaire/index?page=1 HTTP/1.1" 200 14815 "http://backend.guild.loc/questionnaire/questionnaire/index?page=2" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
127.0.0.1 - - [03/Nov/2021:10:23:46 +0300] "GET /debug/default/toolbar?tag=61823901eb1e4 HTTP/1.1" 200 3416 "http://backend.guild.loc/questionnaire/questionnaire/index?page=1" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0"
|
||||
|
@ -656,3 +656,4 @@ Stack trace:
|
||||
2021/10/28 12:07:50 [error] 728#728: *363 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/user-questionnaire/questionnaires-list?user_id=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||
2021/10/28 12:07:59 [error] 728#728: *363 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/answer/get-answers?question_id=7 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||
2021/10/29 16:02:38 [error] 712#712: *805 FastCGI sent in stderr: "PHP message: PHP Fatal error: Declaration of backend\modules\questionnaire\models\AnswerSearch::rules() must be compatible with common\models\Answer::rules(): array in /var/www/guild.loc/backend/modules/questionnaire/models/AnswerSearch.php on line 17" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /questionnaire/answer/index?AnswerSearch%5Bquestion_id%5D=&AnswerSearch%5Banswer_body%5D=&AnswerSearch%5Banswer_flag%5D=&AnswerSearch%5Bstatus%5D=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/questionnaire/answer/index?AnswerSearch%5Bquestion_id%5D=&AnswerSearch%5Banswer_body%5D=&AnswerSearch%5Banswer_flag%5D=&AnswerSearch%5Bstatus%5D="
|
||||
2021/11/03 10:16:14 [error] 743#743: *45 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class kartik\time\TimePickerAsset, because the name is already in use in /var/www/guild.loc/backend/components/timepicker/src/TimePickerAsset.php on line 0" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /questionnaire/questionnaire/create HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/questionnaire/questionnaire"
|
||||
|
Loading…
Reference in New Issue
Block a user