added delete button to deploy packages

This commit is contained in:
jcw-fisker
2021-06-09 10:36:00 -07:00
parent e6d48ae75e
commit 067e465b59
7 changed files with 207 additions and 46 deletions

View File

@@ -308,7 +308,7 @@ exports[`App Route /carupdate-deploy authenticated 1`] = `
<h6
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
>
Deploy
Deploy Package 1.0
</h6>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-812 MuiButton-colorInherit"
@@ -531,9 +531,9 @@ exports[`App Route /carupdate-deploy authenticated 1`] = `
class="MuiTypography-root MuiTypography-body2"
>
Created
Invalid Date Invalid Date
.
No description
Description
</p>
<div
class="MuiGrid-root makeStyles-root-802 MuiGrid-container MuiGrid-spacing-xs-2"
@@ -1020,7 +1020,9 @@ exports[`App Route /carupdate-status authenticated 1`] = `
>
<h6
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap"
/>
>
Package Package 1.0
</h6>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text makeStyles-rightToolbar-612 MuiButton-colorInherit"
tabindex="0"
@@ -3139,8 +3141,8 @@ exports[`App Route /update authenticated 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-filled"
data-shrink="false"
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-filled MuiFormLabel-filled"
data-shrink="true"
>
Create Date
</label>
@@ -3153,7 +3155,7 @@ exports[`App Route /update authenticated 1`] = `
maxlength="1024"
readonly=""
type="text"
value=""
value="Invalid Date Invalid Date"
/>
</div>
</div>
@@ -3161,8 +3163,8 @@ exports[`App Route /update authenticated 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
data-shrink="false"
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled Mui-required Mui-required"
data-shrink="true"
for="packagename"
id="packagename-label"
>
@@ -3186,14 +3188,14 @@ exports[`App Route /update authenticated 1`] = `
name="packagename"
required=""
type="text"
value=""
value="Package"
/>
<fieldset
aria-hidden="true"
class="PrivateNotchedOutline-root-585 MuiOutlinedInput-notchedOutline"
>
<legend
class="PrivateNotchedOutline-legendLabelled-587"
class="PrivateNotchedOutline-legendLabelled-587 PrivateNotchedOutline-legendNotched-588"
>
<span>
Package name
@@ -3207,8 +3209,8 @@ exports[`App Route /update authenticated 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined Mui-required Mui-required"
data-shrink="false"
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled Mui-required Mui-required"
data-shrink="true"
for="version"
id="version-label"
>
@@ -3232,14 +3234,14 @@ exports[`App Route /update authenticated 1`] = `
name="version"
required=""
type="text"
value=""
value="1.0"
/>
<fieldset
aria-hidden="true"
class="PrivateNotchedOutline-root-585 MuiOutlinedInput-notchedOutline"
>
<legend
class="PrivateNotchedOutline-legendLabelled-587"
class="PrivateNotchedOutline-legendLabelled-587 PrivateNotchedOutline-legendNotched-588"
>
<span>
Version
@@ -3299,8 +3301,8 @@ exports[`App Route /update authenticated 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined"
data-shrink="false"
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled"
data-shrink="true"
for="description"
id="description-label"
>
@@ -3317,13 +3319,15 @@ exports[`App Route /update authenticated 1`] = `
name="description"
placeholder="Package description"
rows="4"
/>
>
Description
</textarea>
<fieldset
aria-hidden="true"
class="PrivateNotchedOutline-root-585 MuiOutlinedInput-notchedOutline"
>
<legend
class="PrivateNotchedOutline-legendLabelled-587"
class="PrivateNotchedOutline-legendLabelled-587 PrivateNotchedOutline-legendNotched-588"
>
<span>
Description
@@ -3336,8 +3340,8 @@ exports[`App Route /update authenticated 1`] = `
class="MuiFormControl-root MuiTextField-root MuiFormControl-marginNormal MuiFormControl-fullWidth"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined"
data-shrink="false"
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled"
data-shrink="true"
for="releasenotes"
id="releasenotes-label"
>
@@ -3354,14 +3358,14 @@ exports[`App Route /update authenticated 1`] = `
name="releasenotes"
placeholder="Release Notes URL"
type="text"
value=""
value="https://www.google.com/"
/>
<fieldset
aria-hidden="true"
class="PrivateNotchedOutline-root-585 MuiOutlinedInput-notchedOutline"
>
<legend
class="PrivateNotchedOutline-legendLabelled-587"
class="PrivateNotchedOutline-legendLabelled-587 PrivateNotchedOutline-legendNotched-588"
>
<span>
Release Notes URL
@@ -3849,7 +3853,88 @@ exports[`App Route /updates authenticated 1`] = `
</thead>
<tbody
class="MuiTableBody-root"
/>
>
<tr
class="MuiTableRow-root"
>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
>
0
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
>
Package
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
>
1.0
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
>
Invalid Date Invalid Date
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignCenter"
>
<a
class=""
href="/carupdate-status/0"
style="margin: 5px;"
title="Status \\"Package 1.0\\""
>
<svg
aria-hidden="true"
aria-label="Status Package 1.0"
class="MuiSvgIcon-root"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
/>
</svg>
</a>
<a
class=""
href="/carupdate-deploy/0"
style="margin: 5px;"
title="Deploy \\"Package 1.0\\""
>
<svg
aria-hidden="true"
aria-label="Deploy Package 1.0"
class="MuiSvgIcon-root"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"
/>
</svg>
</a>
<span
class="MuiTypography-root MuiTypography-colorPrimary"
title="Delete \\"Package 1.0\\""
>
<svg
aria-hidden="true"
aria-label="Delete Package 1.0"
class="MuiSvgIcon-root"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
/>
</svg>
</span>
</td>
</tr>
</tbody>
<tfoot
class="MuiTableFooter-root"
>