Browse Source

fix issue

tags/v1.22.8.1^2
zhoupzh 3 years ago
parent
commit
8164efa4b0
19 changed files with 114 additions and 342 deletions
  1. +21
    -0
      templates/custom/global_mask.tmpl
  2. +1
    -12
      templates/repo/cloudbrain/benchmark/new.tmpl
  3. +1
    -9
      templates/repo/cloudbrain/inference/new.tmpl
  4. +3
    -82
      templates/repo/cloudbrain/new.tmpl
  5. +1
    -12
      templates/repo/cloudbrain/trainjob/new.tmpl
  6. +0
    -95
      templates/repo/debugjob/index.tmpl
  7. +1
    -12
      templates/repo/grampus/trainjob/gpu/new.tmpl
  8. +1
    -12
      templates/repo/grampus/trainjob/npu/new.tmpl
  9. +1
    -9
      templates/repo/grampus/trainjob/show.tmpl
  10. +0
    -10
      templates/repo/modelarts/inferencejob/index.tmpl
  11. +1
    -9
      templates/repo/modelarts/inferencejob/new.tmpl
  12. +1
    -9
      templates/repo/modelarts/notebook/new.tmpl
  13. +0
    -9
      templates/repo/modelarts/notebook/show.tmpl
  14. +1
    -9
      templates/repo/modelarts/trainjob/new.tmpl
  15. +1
    -9
      templates/repo/modelarts/trainjob/show.tmpl
  16. +1
    -12
      templates/repo/modelarts/trainjob/version_new.tmpl
  17. +1
    -9
      templates/repo/modelmanage/convertshowinfo.tmpl
  18. +0
    -10
      templates/user/dashboard/cloudbrains.tmpl
  19. +78
    -13
      web_src/less/openi.less

+ 21
- 0
templates/custom/global_mask.tmpl View File

@@ -0,0 +1,21 @@
<div id="mask">
<div class="loadingWrap">
<div id="loading-page">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
<div
style="
margin-top: 10%;
font-size: 14px;
color: #101010;
font-family: SourceHanSansSC-regular;
"
>
任务正在准备中,喝杯水回来再看看~
</div>
</div>
</div>

+ 1
- 12
templates/repo/cloudbrain/benchmark/new.tmpl View File

@@ -28,18 +28,7 @@
white-space: nowrap !important;
}
</style>
<!-- <div class="ui page dimmer">
<div class="ui text loader">{{.i18n.Tr "loading"}}</div>
</div> -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 9
templates/repo/cloudbrain/inference/new.tmpl View File

@@ -36,15 +36,7 @@
white-space: nowrap !important;
}
</style>
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 3
- 82
templates/repo/cloudbrain/new.tmpl View File

@@ -1,56 +1,6 @@
{{template "base/head" .}}
<style>
#mask1 {
position: fixed;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
filter: alpha(opacity=60);
background-color: rgba(119,119,119,0.8);
z-index: 1000;
display: none;
/* opacity: 0.8;
-moz-opacity: 0.5; */
/* padding-top: 100px; */
color: #000000;
}
#loadingPage1 {
width: 50px;
height: 40px;
text-align: center;
font-size: 10px;
display: block;
}

#loadingPage1 > div {
background-color: green;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

#loadingPage1 .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}

#loadingPage1 .rect3 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
}

#loadingPage1 .rect4 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}

#loadingPage1 .rect5 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}
/* 遮罩层css效果图 */
.inline.required.field.cloudbrain_benchmark {
display: none;
@@ -63,39 +13,11 @@
.inline.required.field.cloudbrain_brainscore {
display: none;
}
.loadingWrap{
width: 20%;
height:25%;
border: 1px solid #bbb;
background-color:#fff;
margin:auto;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border-radius: 20px;
}

</style>

<div id="mask1">
<div class="loadingWrap">
<div id="loadingPage1">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
<div style="margin-top: 10%;font-size: 14px;color:#101010;font-family: SourceHanSansSC-regular;">任务正在准备中,喝杯水回来再看看~</div>
</div>
</div>
{{template "custom/global_mask" .}}

<div class="repository">
{{template "repo/header" .}}
@@ -269,7 +191,6 @@
<script>
let form = document.getElementById('form_id');
$('#messageInfo').css('display', 'none')
document.getElementById("mask").style.display = "block"
function clearValue() {
context = inputs[0]
context.value = ''


+ 1
- 12
templates/repo/cloudbrain/trainjob/new.tmpl View File

@@ -64,18 +64,7 @@
}

</style>
<!-- <div class="ui page dimmer">
<div class="ui text loader">{{.i18n.Tr "loading"}}</div>
</div> -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 0
- 95
templates/repo/debugjob/index.tmpl View File

@@ -19,90 +19,6 @@
height: 100%;
}

/* 弹窗 */

#mask {
position: fixed;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
filter: alpha(opacity=60);
background-color: #777;
z-index: 1000;
display: none;
opacity: 0.8;
-moz-opacity: 0.5;
padding-top: 100px;
color: #000000
}

#loadingPage {
margin: 200px auto;
width: 50px;
height: 40px;
text-align: center;
font-size: 10px;
display: block;
}

#loadingPage>div {
background-color: green;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

#loadingPage .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}

#loadingPage .rect3 {
-webkit-animation-delay: -1.0s;
animation-delay: -1.0s;
}

#loadingPage .rect4 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}

#loadingPage .rect5 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

0%,
40%,
100% {
-webkit-transform: scaleY(0.4)
}

20% {
-webkit-transform: scaleY(1.0)
}
}

@keyframes sk-stretchdelay {

0%,
40%,
100% {
transform: scaleY(0.4);
-webkit-transform: scaleY(0.4);
}

20% {
transform: scaleY(1.0);
-webkit-transform: scaleY(1.0);
}
}

/* 消息框 */

.alert {
@@ -203,17 +119,6 @@
}
</style>

<!-- 弹窗 -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>

<div class="alert"></div>
<div class="repository release dataset-list view">
{{template "repo/header" .}}


+ 1
- 12
templates/repo/grampus/trainjob/gpu/new.tmpl View File

@@ -56,18 +56,7 @@
font-size: 14px !important;
}
</style>
<!-- <div class="ui page dimmer">
<div class="ui text loader">{{.i18n.Tr "loading"}}</div>
</div> -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 12
templates/repo/grampus/trainjob/npu/new.tmpl View File

@@ -51,18 +51,7 @@
font-size: 14px !important;
}
</style>
<!-- <div class="ui page dimmer">
<div class="ui text loader">{{.i18n.Tr "loading"}}</div>
</div> -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 9
templates/repo/grampus/trainjob/show.tmpl View File

@@ -209,15 +209,7 @@
box-shadow: 0 2px 3px 0 rgb(34 36 38 / 15%);
}
</style>
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 0
- 10
templates/repo/modelarts/inferencejob/index.tmpl View File

@@ -10,16 +10,6 @@
}
</style>

<!-- 弹窗 -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>

<!-- 提示框 -->
<div class="alert"></div>


+ 1
- 9
templates/repo/modelarts/inferencejob/new.tmpl View File

@@ -35,15 +35,7 @@
white-space: nowrap !important;
}
</style>
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 9
templates/repo/modelarts/notebook/new.tmpl View File

@@ -5,15 +5,7 @@
}
</style>

<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="repository new repo ui middle very relaxed page grid">


+ 0
- 9
templates/repo/modelarts/notebook/show.tmpl View File

@@ -208,15 +208,6 @@
padding-top: 0.5rem;
}
</style>
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 9
templates/repo/modelarts/trainjob/new.tmpl View File

@@ -58,15 +58,7 @@
<!-- <div class="ui page dimmer">
<div class="ui text loader">{{.i18n.Tr "loading"}}</div>
</div> -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 9
templates/repo/modelarts/trainjob/show.tmpl View File

@@ -215,15 +215,7 @@
box-shadow: 0 2px 3px 0 rgb(34 36 38 / 15%);
}
</style>
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 12
templates/repo/modelarts/trainjob/version_new.tmpl View File

@@ -51,18 +51,7 @@
}

</style>
<!-- <div class="ui page dimmer">
<div class="ui text loader">{{.i18n.Tr "loading"}}</div>
</div> -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 1
- 9
templates/repo/modelmanage/convertshowinfo.tmpl View File

@@ -166,15 +166,7 @@ td, th {
padding-top: 0.5rem ;
}
</style>
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
{{template "custom/global_mask" .}}
<div class="repository">
{{template "repo/header" .}}
<div class="ui container">


+ 0
- 10
templates/user/dashboard/cloudbrains.tmpl View File

@@ -1,14 +1,4 @@
{{template "base/head" .}}
<!-- 弹窗 -->
<div id="mask">
<div id="loadingPage">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<!-- 提示框 -->
<div class="alert"></div>
<div class="explore users">


+ 78
- 13
web_src/less/openi.less View File

@@ -522,6 +522,60 @@ i.SUCCEEDED {
// }
/* 弹窗 */

// #mask {
// position: fixed;
// top: 0px;
// left: 0px;
// right: 0px;
// bottom: 0px;
// filter: alpha(opacity=60);
// background-color: #777;
// z-index: 1000;
// display: none;
// opacity: 0.8;
// -moz-opacity: 0.5;
// padding-top: 100px;
// color: #000000;
// }

#loadingPage {
margin: 300px auto;
width: 50px;
height: 40px;
text-align: center;
font-size: 10px;
display: block;
}

#loadingPage > div {
background-color: green;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

#loadingPage .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}

#loadingPage .rect3 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
}

#loadingPage .rect4 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}

#loadingPage .rect5 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}

#mask {
position: fixed;
top: 0px;
@@ -529,17 +583,29 @@ i.SUCCEEDED {
right: 0px;
bottom: 0px;
filter: alpha(opacity=60);
background-color: #777;
background-color: rgba(119, 119, 119, 0.8);
z-index: 1000;
display: none;
opacity: 0.8;
-moz-opacity: 0.5;
padding-top: 100px;
color: #000000;
}

#loadingPage {
margin: 200px auto;
.loadingWrap {
width: 20%;
height: 25%;
border: 1px solid #bbb;
background-color: #fff;
margin: auto;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border-radius: 20px;
}
#loading-page {
width: 50px;
height: 40px;
text-align: center;
@@ -547,7 +613,7 @@ i.SUCCEEDED {
display: block;
}

#loadingPage > div {
#loading-page > div {
background-color: green;
height: 100%;
width: 6px;
@@ -556,26 +622,25 @@ i.SUCCEEDED {
animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

#loadingPage .rect2 {
#loading-page .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}

#loadingPage .rect3 {
#loadin-page .rect3 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
}

#loadingPage .rect4 {
#loading-page .rect4 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}

#loadingPage .rect5 {
#loading-page .rect5 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
0%,
40%,


Loading…
Cancel
Save