Skip to content

Commit

Permalink
Mins
Browse files Browse the repository at this point in the history
  • Loading branch information
jabbate19 committed Oct 13, 2024
1 parent 1548cd2 commit 362f593
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/api/v1/auth/csh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async fn login(data: web::Data<AppState>) -> impl Responder {
#[derive(Deserialize, ToSchema)]
pub struct AuthRequest {
code: String,
#[allow(dead_code)]
state: String,
}

Expand Down
1 change: 1 addition & 0 deletions src/api/v1/auth/google.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ async fn login(data: web::Data<AppState>) -> impl Responder {
#[derive(Deserialize, ToSchema)]
pub struct AuthRequest {
code: String,
#[allow(dead_code)]
state: String,
}

Expand Down
3 changes: 2 additions & 1 deletion src/frontend/src/components/AddCarButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@
<label for="addCarReturn">Return Time</label>
<input
v-model="returnTime"
:min="departureTime"
type="datetime-local"
class="form-control"
id="addCarReturn"
/>
</div>
<div class="form-group">
<label for="addCarDeparture">Maximum Capacity</label>
<input v-model="maxCapacity" type="number" class="form-control" id="addCarDeparture" />
<input v-model="maxCapacity" type="number" min="0" class="form-control" id="addCarDeparture" />
</div>
<div class="form-group">
<label for="addCarComments">Comments</label>
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/components/CreateEventModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import LocationSearch from './LocationSearch.vue';
<label for="CreateEventEnd">End Time</label>
<input
v-model="eventEnd"
:min="eventStart"
type="datetime-local"
class="form-control"
id="CreateEventEnd"
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/components/EditCarButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import RemoveCarModal from './RemoveCarModal.vue';
<label for="updateCarReturn">Return Time</label>
<input
v-model="returnTime"
:min="departureTime"
type="datetime-local"
class="form-control"
id="updateCarReturn"
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/components/EditEventButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import DeleteEventModal from './DeleteEventModal.vue';
<label for="editEventEnd">End Time</label>
<input
v-model="eventEnd"
:min="eventStart"
type="datetime-local"
class="form-control"
id="editEventEnd"
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export interface UserData {
email: string | undefined;
given_name: string;
family_name: string;
picture: string;
}

export interface UserStub {
Expand Down

0 comments on commit 362f593

Please sign in to comment.