Skip to content

Commit

Permalink
Improve report generation modal
Browse files Browse the repository at this point in the history
  • Loading branch information
wanguiwaweru committed Jul 21, 2024
1 parent ed7b83f commit cafe7ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/case_court_reports/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
}

const setTimeZone = () => {
if(!$('#case-selection').val()){
alert('Select an active case and specify the date range.');
}
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone
document.getElementById("user-time-zone").value = timeZone
}
Expand Down
6 changes: 6 additions & 0 deletions public/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,12 @@ h6,
color: #262d3f;
display: block;
margin-bottom: 10px; }
.input-style-1 select{
width: 465px;
height: 40px;
border-radius: 5px;
border: 1px solid #4a6cf7;
}
.input-style-1 input,
.input-style-1 textarea {
width: 100%;
Expand Down

0 comments on commit cafe7ac

Please sign in to comment.