added start and stop entries

enhanced administration of activities/projects/customers
added navbar for active records and recent activities
added edit timesheet entry form
added translation packages for errors and flashmessages
upgraded composer packages
This commit is contained in:
Kevin Papst
2018-01-04 14:06:07 +01:00
parent 3f429a3663
commit c9c82e767f
50 changed files with 973 additions and 405 deletions

View File

@@ -20,11 +20,15 @@ $(document).ready(function() {
publish: function() {
pubSub.trigger.apply(pubSub, arguments);
},
ticktac: function(selector) {
$(selector + ' img').hover(function () {
$(this).attr('src', $.fn.kimai.settings.imagePath + '/buzzer-on-hover.png');
pauseRecord: function(selector) {
$(selector + ' .pull-left i').hover(function () {
var link = $(this).parents('a');
link.attr('href', link.attr('href').replace('/stop', '/pause'));
$(this).removeClass('fa-stop-circle').addClass('fa-pause-circle').addClass('text-orange');
},function () {
$(this).attr('src', $.fn.kimai.settings.imagePath + '/buzzer-on.png');
var link = $(this).parents('a');
link.attr('href', link.attr('href').replace('/pause', '/stop'));
$(this).removeClass('fa-pause-circle').removeClass('text-orange').addClass('fa-stop-circle');
});
}
};