This commit is contained in:
Alessandro Francia
2018-05-31 12:12:26 +02:00
30 changed files with 38 additions and 12 deletions
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

@@ -336,6 +336,11 @@
.card-tool-depot-image{
margin-top: 20px;
margin-left: 18px;
img{
max-width: 104px;
max-height: 104px;
}
}
.card-tool-depot-title{
display: flex;
+2 -2
View File
@@ -41,7 +41,7 @@ sans-serif;
padding: 0;
width: 100%;
}
input.invalid, input[aria-invalid="true"] {
input.invalid:not([readonly]), input[aria-invalid="true"]:not([readonly]) {
border-color: @color-scarlet;
}
small.error {
@@ -68,6 +68,6 @@ sans-serif;
margin: auto !important;
}
input[aria-invalid="true"] {
input[aria-invalid="true"]:not([readonly]) {
border-color: @color-scarlet !important;
}
+7 -3
View File
@@ -599,8 +599,8 @@
padding: 0;
width: 100%;
}
.form-group input.invalid,
.form-group input[aria-invalid="true"] {
.form-group input.invalid:not([readonly]),
.form-group input[aria-invalid="true"]:not([readonly]) {
border-color: #d0021b;
}
.form-group small.error {
@@ -622,7 +622,7 @@
.block-center {
margin: auto !important;
}
input[aria-invalid="true"] {
input[aria-invalid="true"]:not([readonly]) {
border-color: #d0021b !important;
}
button:focus {
@@ -3357,6 +3357,10 @@ footer .container button.big:before {
margin-top: 20px;
margin-left: 18px;
}
.card-tool-depot .card-tool-depot-body .card-tool-depot-image img {
max-width: 104px;
max-height: 104px;
}
.card-tool-depot .card-tool-depot-body .card-tool-depot-title {
display: flex;
height: 100%;
+9
View File
@@ -147,4 +147,13 @@ export default class depot extends Vue {
}
public getInfoEquipmentIcon(id) {
console.log(id);
if(id && (id==151 || id==700))
return "../assets/icons/Tools/Saw.png";
else
return "../assets/icons/Tools/Tools.png";
}
}
@@ -58,8 +58,16 @@ export default class InfoEquipment extends Vue {
}
public getInfoEquipmentIcon() {
return "../assets/icons/_png/fresa-raggiatura-popup-280x280.png"
if(!this.enableModals){
if(this.selectedTool && (this.selectedTool.toolType==151 || this.selectedTool.toolType==700))
return "../assets/icons/Tools/Saw.png";
else
return "../assets/icons/Tools/Tools.png";
}
else
return "../assets/icons/Tools/Shanks.png";
}
public close(){
Factory.Get(MessageService).deleteChannel("esc_pressed");
ModalHelper.HideModal();
@@ -224,11 +224,11 @@ export default class toolingEquipment extends Vue {
public getToolIcon = function (id) {
if (id == 9999)
return "../assets/images/list-undefined.PNG"
return "../assets/iicons/Tools/Undefined.png"
else if (id == 151 || id == 700)
return "../assets/images/list-blade.PNG"
return "../assets/icons/Tools/Saw.png"
else
return "../assets/images/list-tool.PNG"
return "../assets/icons/Tools/Tools.png"
}
private internalCounter = -1;
@@ -22,7 +22,7 @@
<div class="list-vertical scrollable" ref="familyList" >
<equipment v-for="f in families.filter(f => f.name.toLowerCase().indexOf(currentFilter) >=0)" :key="f.uid" :title="f.name || f.oldName"
:class="{selected: selectedTool && selectedTool.uid == f.uid}"
:img-source="'../assets/images/list-families.PNG'"
:img-source="'../assets/icons/Tools/Families.png'"
@click="selectTool(f)"></equipment>
</div>
<div class="footer" v-if="!(isSiemens() || isDemo())">
@@ -22,7 +22,7 @@
<div class="list-vertical scrollable">
<equipment v-for="(m,k) in magpos.filter(m =>(($options.filters.localize('tooling_magpos','Manina')) + ' ' + m.positionId).toString().toLowerCase().indexOf(currentFilter) >=0)" :key="k" :code=" $options.filters.localize('tooling_magazine','Magazzino') + ' ' + m.magazineId" :title="$options.filters.localize('tooling_magpos','Manina') + ' ' + m.positionId"
:class="{selected: selectedTool && selectedTool.positionId == m.positionId && selectedTool.magazineId == m.magazineId }"
:img-source="'../assets/images/list-mag-pos.PNG'"
:img-source="'../assets/icons/Tools/Magpos.png'"
@click="selectTool(m)"></equipment>
</div>
</div>
@@ -22,7 +22,7 @@
<div class="list-vertical scrollable" ref="shankList">
<equipment v-for="s in shanks.filter(i => ($options.filters.localize('tooling_shanks_name','Codolo %d',i.id)).toLowerCase().indexOf(currentFilter) >=0)" :key="s.id" :title="'tooling_shanks_name' | localize('Codolo %d', s.id)"
v-if="s.id != null"
:img-source="'../assets/images/list-shank.PNG'"
:img-source="'../assets/icons/Tools/Shanks.png'"
:class="{selected: selectedTool && selectedTool.id == s.id}"
@click="selectTool(s)"></equipment>
</div>