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 */ 15export const CheckCpuSettingHtml = ` 16 <style> 17 :host { 18 width: 100%; 19 height: 100%; 20 } 21 .cpu_setting_div{ 22 overflow: auto ; 23 border-radius: 5px; 24 border: solid 1px var(--dark-border1,#e0e0e0); 25 display: grid; 26 margin: 10px; 27 padding-right: 10px; 28 padding-left: 10px; 29 grid-template-columns: auto auto auto auto; 30 } 31 .setting_line{ 32 height: 35px; 33 line-height: 35px; 34 } 35 .title_div{ 36 display: flex; 37 flex-direction: row; 38 align-items: center; 39 height: 50px; 40 padding-left: 15px; 41 padding-right: 15px; 42 justify-content: space-between; 43 border-bottom: 1px solid var(--dark-border1,#e0e0e0); 44 } 45 .upload_bt{ 46 height: 35px; 47 color: #ffffff; 48 cursor: pointer; 49 background-color: #0A59F7; 50 border-radius: 5px; 51 padding-left: 15px; 52 padding-right: 15px; 53 line-height: 35px; 54 text-align: center; 55 } 56 .bg{ 57 display: flex; 58 flex-direction: column; 59 margin: 10px; 60 background-color: var(--dark-background,#FFFFFF); 61 } 62 </style> 63 <div class="bg" > 64 <div class="title_div"> 65 <div>CPU 大小核分类</div> 66 <div id="set_upload" class="upload_bt">Upload</div> 67 </div> 68 <div class="cpu_setting_div" id="tb_cpu_setting" > 69 </div> 70 </div> 71 72 `;