Bugfix: fix chronos installation panel cmd line overflow. (#6276)

This commit is contained in:
Juntao_Luo 2022-10-25 14:16:08 +08:00 committed by GitHub
parent 89f97fed01
commit 39bd960e2a
3 changed files with 13 additions and 12 deletions

View file

@ -42,8 +42,11 @@
cursor: pointer; cursor: pointer;
} }
#cmd { #table-1 #cmd {
width: auto; height: 2em;
height: 35px; text-align: left;
overflow:unset; }
#table-1 .taller_tr {
height: 71px;
} }

View file

@ -43,7 +43,7 @@ function refresh_cmd(){
$("#model").empty(); $("#model").empty();
if(functionality=="Forecasting"){ if(functionality=="Forecasting"){
$("#model").append("<td colspan='1'>Model</td>\ $("#model").append("<td colspan='1'>Model</td>\
<td colspan='1'><button id='Deep_learning_models' style='font-size: 13px;'>Deep learning models</button></td>\ <td colspan='1'><button id='Deep_learning_models'>Deep learning models</button></td>\
<td colspan='2'><button id='Prophet'>Prophet</button></td>\ <td colspan='2'><button id='Prophet'>Prophet</button></td>\
<td colspan='1'><button id='ARIMA'>ARIMA</button></td>"); <td colspan='1'><button id='ARIMA'>ARIMA</button></td>");
} }

View file

@ -35,20 +35,20 @@ Select your preferences in the panel below to find the proper install command. T
<table id="table-1"> <table id="table-1">
<tbody> <tbody>
<tr> <tr class="taller_tr">
<td colspan="1">Functionality</td> <td colspan="1">Functionality</td>
<td colspan="1"><button id="Forecasting">Forecasting</button></td> <td colspan="1"><button id="Forecasting">Forecasting</button></td>
<td colspan="2"><button id="Anomaly" style="font-size: 15px">Anomaly Detection</button></td> <td colspan="2"><button id="Anomaly" style="font-size: 15px">Anomaly Detection</button></td>
<td colspan="1"><button id="Simulation">Simulation</button></td> <td colspan="1"><button id="Simulation">Simulation</button></td>
</tr> </tr>
<tr id="model"> <tr id="model" class="taller_tr">
<td colspan="1">Model</td> <td colspan="1">Model</td>
<td colspan="1"><button id="Deep_learning_models" style="font-size: 13px;">Deep learning models</button></td> <td colspan="1"><button id="Deep_learning_models" style="font-size: 13px;">Deep learning models</button></td>
<td colspan="2"><button id="Prophet">Prophet</button></td> <td colspan="2"><button id="Prophet">Prophet</button></td>
<td colspan="1"><button id="ARIMA">ARIMA</button></td> <td colspan="1"><button id="ARIMA">ARIMA</button></td>
</tr> </tr>
<tr> <tr>
<td colspan="1">DL<br>framework</td> <td colspan="1">DL&nbsp;framework</td>
<td colspan="2"><button id="pytorch" <td colspan="2"><button id="pytorch"
title="Use PyTorch as deep learning models' backend. Most of the model support and works better under PyTorch.">PyTorch (Recommended)</button> title="Use PyTorch as deep learning models' backend. Most of the model support and works better under PyTorch.">PyTorch (Recommended)</button>
</td> </td>
@ -92,11 +92,9 @@ Select your preferences in the panel below to find the proper install command. T
title="For users would like to deploy chronos in their production">Stable (2.1.0)</button></td> title="For users would like to deploy chronos in their production">Stable (2.1.0)</button></td>
</tr> </tr>
<tr> <tr class="taller_tr">
<td colspan="1">Install CMD</td> <td colspan="1">Install CMD</td>
<td colspan="4"> <td colspan="4" id="cmd">NA</td>
<div id="cmd" style="text-align: left;">NA</div>
</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>