1/* 2 * Copyright (C) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16export const SpVmTrackerHtml = ` 17<style> 18:host{ 19 background: var(--dark-background3,#FFFFFF); 20 border-radius: 0 16px 16px 0; 21 display: inline-block; 22 width: 100%; 23 height: 100%; 24} 25 26.vm-tracker { 27 font-size:16px; 28 margin-bottom: 30px; 29 padding-top: 30px; 30 padding-left: 54px; 31 margin-right: 30px; 32} 33 34.title { 35 text-align: center; 36 line-height: 40px; 37 font-weight: 700; 38 margin-right: 10px; 39 opacity: 0.9; 40 font-family: Helvetica-Bold; 41 font-size: 18px; 42} 43 44.vm-config-div { 45 width: 80%; 46 display: flex; 47 flex-direction: column; 48 margin-top: 5vh; 49 margin-bottom: 5vh; 50 gap: 25px; 51} 52 53.des { 54 text-align: center; 55 line-height: 35px; 56 font-weight: 400; 57 opacity: 0.6; 58 font-family: Helvetica; 59 font-size: 14px; 60} 61 62.select { 63 border-radius: 15px; 64} 65 66lit-switch { 67 display:inline; 68 float: right; 69 height: 38px; 70 margin-top: 10px; 71} 72 73input::-webkit-input-placeholder{ 74 color:var(--bark-prompt,#999999); 75} 76 77.input { 78 text-align: left; 79 line-height: 20px; 80 font-weight: 400; 81 border: 1px solid var(--dark-background5,#ccc); 82 font-family: Helvetica; 83 font-size: 14px; 84 color: var(--dark-color1,#212121); 85} 86 87:host([startSamp]) .input { 88 background: var(--dark-background5,#FFFFFF); 89} 90 91input { 92 outline:none; 93 border-radius: 16px; 94 height: 25px; 95 text-indent:2% 96} 97 98:host(:not([startSamp])) .input { 99 color: #999999; 100} 101</style> 102<div class="root vm-tracker"> 103 <div class="vm-config-div"> 104 <div> 105 <span class="title">Start VM Tracker Record</span> 106 <lit-switch></lit-switch> 107 </div> 108 </div> 109 <div class="vm-config-div"> 110 <div> 111 <span class="title">Process</span> 112 <span class="des">Record process</span> 113 </div> 114 <lit-select-v style="width: 100%;" rounded="" default-value="" 115 class="select config" placement="bottom" title="Process"></lit-select-v> 116 </div> 117</div> 118`; 119