Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Intershop Training
Courses
ICM-400 Intershop PWA
coursefiles
400
Commits
f8558fdb
Commit
f8558fdb
authored
Aug 06, 2019
by
Thomas Richter
Browse files
properties changed due-to warehouseMapper changes
(applies to version 0.12)
parent
5a2efe65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Task24/warehouses-page.component.html
View file @
f8558fdb
...
...
@@ -5,19 +5,19 @@
<div>
<div
style=
"display: table; border: 1px solid black;"
>
<div
style=
"display: table-row"
>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
country
' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
l
ocation' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
d
escription' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
c
apacity' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
warehouseId
' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
warehouseL
ocation' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
warehouseD
escription' | translate }}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{'warehouse.
warehouseC
apacity' | translate }}
</div>
</div>
</div>
<div
style=
"display: table; border: 1px solid black;"
>
<div
*ngFor=
" let warehouse of warehousesInputVariable"
>
<div
style=
"display: table-row"
>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
name
}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
l
ocation}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
d
escription}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
c
apacity}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
warehouseId
}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
warehouseL
ocation}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
warehouseD
escription}}
</div>
<div
style=
"display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;"
>
{{warehouse?.
warehouseC
apacity}}
</div>
</div>
</div>
</div>
...
...
@@ -30,16 +30,16 @@
<h3
translate
>
warehouse.title
</h3>
<table
border
[cellPadding]=
"10"
>
<tr>
<th>
{{ 'warehouse.
country
' | translate }}
</th>
<th
translate
>
warehouse.
l
ocation
</th>
<th
translate
>
warehouse.
d
escription
</th>
<th
translate
>
warehouse.
c
apacity
</th>
<th>
{{ 'warehouse.
warehouseId
' | translate }}
</th>
<th
translate
>
warehouse.
warehouseL
ocation
</th>
<th
translate
>
warehouse.
warehouseD
escription
</th>
<th
translate
>
warehouse.
warehouseC
apacity
</th>
</tr>
<tr
*ngFor=
"let warehouse of warehousesInputVariable; let even=even"
[ngStyle]=
"{'background-color': !!even ? '#EEEEEE' : 'white'}"
>
<td>
{{warehouse.
name
}}
</td>
<td>
{{warehouse.
l
ocation}}
</td>
<td>
{{warehouse.
d
escription}}
</td>
<td>
{{warehouse.
c
apacity}}
</td>
<td>
{{warehouse.
warehouseId
}}
</td>
<td>
{{warehouse.
warehouseL
ocation}}
</td>
<td>
{{warehouse.
warehouseD
escription}}
</td>
<td>
{{warehouse.
warehouseC
apacity}}
</td>
</tr>
</table>
</div>
...
...
@@ -51,18 +51,18 @@
<table
class=
"table table-striped"
>
<thead>
<tr>
<th>
{{ 'warehouse.
country
' | translate }}
</th>
<th
translate
>
warehouse.
l
ocation
</th>
<th
translate
>
warehouse.
d
escription
</th>
<th
translate
>
warehouse.
c
apacity
</th>
<th>
{{ 'warehouse.
warehouseId
' | translate }}
</th>
<th
translate
>
warehouse.
warehouseL
ocation
</th>
<th
translate
>
warehouse.
warehouseD
escription
</th>
<th
translate
>
warehouse.
warehouseC
apacity
</th>
</tr>
</thead>
<tbody>
<tr
*ngFor=
"let warehouse of warehousesInputVariable"
>
<td>
{{ warehouse.
name
}}
</td>
<td>
{{ warehouse.
l
ocation }}
</td>
<td
translate
>
{{ warehouse.
d
escription }}
</td>
<td>
{{ warehouse.
c
apacity }}
</td>
<td>
{{ warehouse.
warehouseId
}}
</td>
<td>
{{ warehouse.
warehouseL
ocation }}
</td>
<td
translate
>
{{ warehouse.
warehouseD
escription }}
</td>
<td>
{{ warehouse.
warehouseC
apacity }}
</td>
</tr>
</tbody>
</table>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment