| @@ -311,8 +311,9 @@ | |||
| </td> | |||
| </tr> | |||
| <tr class="ti-no-ng-animate"> | |||
| <td class="ti-no-ng-animate ti-text-form-label text-width80"> | |||
| {{$.i18n.Tr "cloudbrain.mirror"}} | |||
| <td class="ti-no-ng-animate ti-text-form-label text-width80" vimagetitle="Image"> | |||
| <span style="display:none;">{{$.i18n.Tr "cloudbrain.mirror"}}</span> | |||
| <span style="display:none;">{{$.i18n.Tr "cloudbrain.AI_driver"}}</span> | |||
| </td> | |||
| <td class="ti-text-form-content"> | |||
| @@ -325,7 +326,7 @@ | |||
| data-variation="inverted tiny" | |||
| vdataclipboardtext="Image" | |||
| > | |||
| <span vtitle="Image" vfield="Image" ></span></span> | |||
| <span vtitle="Image" vimage="Image" ></span></span> | |||
| </div> | |||
| </td> | |||
| </tr> | |||
| @@ -438,7 +439,7 @@ | |||
| {{$.i18n.Tr "repo.cloudbrain_creator"}} | |||
| </td> | |||
| <td class="ti-text-form-content"> | |||
| <div class="text-span text-span-w" id="-mirror" vfield="User.Name"></div> | |||
| <div class="text-span text-span-w" id="-mirror" vuser="User.Name"></div> | |||
| </td> | |||
| </tr> | |||
| <tr class="ti-no-ng-animate"> | |||
| @@ -758,10 +759,24 @@ | |||
| $(`[vtitle="${key}"]`).attr('title', res[key]); | |||
| $(`[vdataset0="${key}"]`).text(res[key] ? res[key].toString().split(';')[0] : ''); | |||
| $(`[vdataset1="${key}"]`).text(res[key] ? res[key].toString().split(';')[1] : ''); | |||
| $(`[vdataclipboardtext="${key}"]`).attr('data-clipboard-text', res[key]); | |||
| $(`[vvalue="${key}"]`).val(res[key]); | |||
| $(`[vdatajobid="${key}"]`).attr('data-jobid', res[key]); | |||
| } | |||
| var imageName = res['Image'] || res['EngineName']; | |||
| $(`[vimagetitle="Image"] span`).hide(); | |||
| if (res.Type === 0) { | |||
| imageName = res['Image']; | |||
| $(`[vimagetitle="Image"] span`).eq(0).show(); | |||
| } else { | |||
| imageName = res['EngineName']; | |||
| $(`[vimagetitle="Image"] span`).eq(1).show(); | |||
| } | |||
| $(`[vdataclipboardtext="Image"]`).attr('data-clipboard-text', imageName); | |||
| $(`[vimage="Image"]`).text(imageName); | |||
| $(`[vtitle="Image"]`).attr('title', imageName); | |||
| $(`[vuser="User.Name"]`).text(res['User'] && res['User']['Name']); | |||
| if (res.Spec) { | |||
| var SPEC = res.Spec; | |||
| var showPoint = false; | |||