mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on the time tracker
This commit is contained in:
parent
bfa0a973b5
commit
2a8651985f
@ -119,17 +119,13 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
#taskList {
|
#taskList {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
#taskForm {
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.ui-timepicker-wrapper.start-time {
|
.ui-timepicker-wrapper.start-time {
|
||||||
width: 140px !important;
|
width: 140px !important;
|
||||||
}
|
}
|
||||||
@ -202,17 +198,19 @@
|
|||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<form id="taskForm">
|
<form id="taskForm">
|
||||||
<span data-bind="event: { keypress: onFormKeyPress }">
|
<span data-bind="event: { keypress: onFormKeyPress }">
|
||||||
<div style="padding-bottom: 20px" class="client-select">
|
<div class="row">
|
||||||
{!! Former::select('client_id')
|
<div style="padding-bottom: 20px" class="client-select col-md-6">
|
||||||
->addOption('', '')
|
{!! Former::select('client_id')
|
||||||
->label('client')
|
->addOption('', '')
|
||||||
->data_bind("dropdown: selectedTask().client_id") !!}
|
->label('client')
|
||||||
</div>
|
->data_bind("dropdown: selectedTask().client_id") !!}
|
||||||
<div style="padding-bottom: 20px" class="project-select">
|
</div>
|
||||||
{!! Former::select('project_id')
|
<div style="padding-bottom: 20px" class="project-select col-md-6">
|
||||||
->addOption('', '')
|
{!! Former::select('project_id')
|
||||||
->data_bind("dropdown: selectedTask().project_id")
|
->addOption('', '')
|
||||||
->label(trans('texts.project')) !!}
|
->data_bind("dropdown: selectedTask().project_id")
|
||||||
|
->label(trans('texts.project')) !!}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-bottom: 20px">
|
<div style="padding-bottom: 20px">
|
||||||
{!! Former::textarea('description')
|
{!! Former::textarea('description')
|
||||||
@ -622,6 +620,8 @@
|
|||||||
function setPanelHeights() {
|
function setPanelHeights() {
|
||||||
var height = $(window).height() - $('.navbar').height() - 2;
|
var height = $(window).height() - $('.navbar').height() - 2;
|
||||||
$('#taskList').height(height);
|
$('#taskList').height(height);
|
||||||
|
$('#taskForm').height(height);
|
||||||
|
|
||||||
}
|
}
|
||||||
$(window).on('resize', function() {
|
$(window).on('resize', function() {
|
||||||
setButtonSize();
|
setButtonSize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user