Skip to content

Commit

Permalink
added the parts used on component specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel-Reeves committed Apr 2, 2024
1 parent 7dca161 commit b4b06ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</div> -->

<div class="text-center bg-dark p-3">
© 2024 Copyright | v1.0.1
© 2024 Copyright | v1.1.1
</div>
</footer>
</div>
Expand Down
3 changes: 3 additions & 0 deletions app/client/src/views/catalogue/ComponentDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<p v-if="component_data.doc.specifications.identity_statement.length > 0"><strong>Identity Statement</strong><br>{{ component_data.doc.specifications.identity_statement }}</p>
<p v-if="component_data.doc.specifications.strength_statement.length > 0"><strong>Strength Statement</strong><br>{{ component_data.doc.specifications.strength_statement }}</p>
<p v-if="component_data.doc.specifications.purity_statement.length > 0"><strong>Purity Statement</strong><br>{{ component_data.doc.specifications.purity_statement }}</p>
<p v-if="component_data.doc.specifications.parts_used.length > 0"><strong>Parts Used</strong><br>{{ component_data.doc.specifications.parts_used }}</p>
</div>
<div v-if="edit_specs">
<b-form-group>
Expand All @@ -61,6 +62,8 @@
<b-form-textarea id="strength_statement" v-model="edit_specs_buffer.strength_statement" placeholder="Component strength statement..." rows="3" max-rows="6"></b-form-textarea>
<label for="purity_statement"><strong>Purity Statement</strong><br></label>
<b-form-textarea id="purity_statement" v-model="edit_specs_buffer.purity_statement" placeholder="Component purity statement..." rows="3" max-rows="6"></b-form-textarea>
<label for="parts_used"><strong>Parts Used</strong><br></label>
<b-form-textarea id="parts_used" v-model="edit_specs_buffer.parts_used" placeholder="Parts used..." rows="1" max-rows="2"></b-form-textarea>
</b-form-group>
<div class="d-flex">
<b-button v-if="edit_specs" variant="outline-info" class="m-2" v-on:click="cancelEditSpecs()">Cancel</b-button>
Expand Down

0 comments on commit b4b06ab

Please sign in to comment.