added PHPUinit
This commit is contained in:
.env.test.gitignoreyarn.lock
assets
bin
composer.jsoncomposer.lockconfig
package.jsonphpunit.xml.distpublic/coverage
Command
Controller
Admin
DashboardController.php.htmlPagesCrudController.php.htmlProjectsCrudController.php.htmlQuotesCrudController.php.htmlUserCrudController.php.htmldashboard.htmlindex.html
BaseController.php.htmlFrontendController.php.htmlPagesController.php.htmlProjectsController.php.htmlSecurityController.php.htmlUserController.php.htmldashboard.htmlindex.htmlEntity
Pages.php.htmlProjects.php.htmlQuotes.php.htmlResetPasswordRequest.php.htmlUser.php.htmldashboard.htmlindex.html
EventSubscriber
Exception
Form
ChangePasswordFormType.php.htmlEditProfileFormType.php.htmlRegistrationFormType.php.htmlResetPasswordRequestFormType.php.htmldashboard.htmlindex.html
Kernel.php.htmlRepository
PagesRepository.php.htmlProjectsRepository.php.htmlQuotesRepository.php.htmlResetPasswordRequestRepository.php.htmlUserRepository.php.htmldashboard.htmlindex.html
Security
Twig
_css
_icons
_js
dashboard.htmlindex.htmlsrc/Command
symfony.locktests
Unit
bootstrap.php
7
public/coverage/_js/bootstrap.min.js
vendored
Normal file
7
public/coverage/_js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
public/coverage/_js/d3.min.js
vendored
Normal file
5
public/coverage/_js/d3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
62
public/coverage/_js/file.js
Normal file
62
public/coverage/_js/file.js
Normal file
@@ -0,0 +1,62 @@
|
||||
$(function() {
|
||||
var $window = $(window)
|
||||
, $top_link = $('#toplink')
|
||||
, $body = $('body, html')
|
||||
, offset = $('#code').offset().top
|
||||
, hidePopover = function ($target) {
|
||||
$target.data('popover-hover', false);
|
||||
|
||||
setTimeout(function () {
|
||||
if (!$target.data('popover-hover')) {
|
||||
$target.popover('hide');
|
||||
}
|
||||
}, 300);
|
||||
};
|
||||
|
||||
$top_link.hide().click(function(event) {
|
||||
event.preventDefault();
|
||||
$body.animate({scrollTop:0}, 800);
|
||||
});
|
||||
|
||||
$window.scroll(function() {
|
||||
if($window.scrollTop() > offset) {
|
||||
$top_link.fadeIn();
|
||||
} else {
|
||||
$top_link.fadeOut();
|
||||
}
|
||||
}).scroll();
|
||||
|
||||
$('.popin')
|
||||
.popover({trigger: 'manual'})
|
||||
.on({
|
||||
'mouseenter.popover': function () {
|
||||
var $target = $(this);
|
||||
var $container = $target.children().first();
|
||||
|
||||
$target.data('popover-hover', true);
|
||||
|
||||
// popover already displayed
|
||||
if ($target.next('.popover').length) {
|
||||
return;
|
||||
}
|
||||
|
||||
// show the popover
|
||||
$container.popover('show');
|
||||
|
||||
// register mouse events on the popover
|
||||
$target.next('.popover:not(.popover-initialized)')
|
||||
.on({
|
||||
'mouseenter': function () {
|
||||
$target.data('popover-hover', true);
|
||||
},
|
||||
'mouseleave': function () {
|
||||
hidePopover($container);
|
||||
}
|
||||
})
|
||||
.addClass('popover-initialized');
|
||||
},
|
||||
'mouseleave.popover': function () {
|
||||
hidePopover($(this).children().first());
|
||||
}
|
||||
});
|
||||
});
|
2
public/coverage/_js/jquery.min.js
vendored
Normal file
2
public/coverage/_js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
public/coverage/_js/nv.d3.min.js
vendored
Normal file
8
public/coverage/_js/nv.d3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
5
public/coverage/_js/popper.min.js
vendored
Normal file
5
public/coverage/_js/popper.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user