Skip to content

Commit

Permalink
wip: postRecord uses bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
azuki774 committed Aug 15, 2024
1 parent 87eea8c commit b4cdde0
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions components/PostRecord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,23 @@ const postButton = async (): Promise<void> => {

<template>
<container>
<select v-model="selector">
<option v-for="category in categoryList" :key="category.category_id">
{{ category.category_name }}
</option>
</select>
<Row justify-content="md-center">
<Col col="md-auto">
<select v-model="selector">
<option v-for="category in categoryList" :key="category.category_id">
{{ category.category_name }}
</option>
</select>
</Col>

<input v-model="priceBox" type="number" />
<Col col="md-auto">
<input v-model="priceBox" type="number" />
</Col>
</Row>

<div class="col">
<button @click="postButton" name="postButton" class="sendbutton" type="submit">Post</button>
</div>
<Col display="grid" gap="2" margin="x-auto" col="6">
<b-button button="primary" size="lg" @click="postButton" name="postButton" class="sendbutton"
type="submit">Post</b-button>
</Col>
</container>
</template>

0 comments on commit b4cdde0

Please sign in to comment.