Skip to content

Commit

Permalink
Fixed the layout of the TrafficSimulation page to show longer paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Oct 26, 2022
1 parent 2ad0776 commit 705bdd4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1362,15 +1362,13 @@ public static Integer htmlRowTrafficSimulation(String var) {
case VAR_sumocfgPath:
return 4;
case VAR_fcdFilePath:
return 4;
case VAR_netFilePath:
return 4;
case VAR_startSeconds:
return 5;
case VAR_startSeconds:
return 6;
case VAR_endSeconds:
return 5;
return 6;
case VAR_stepSeconds:
return 5;
return 6;
default:
return BaseModel.htmlRowBaseModel(var);
}
Expand All @@ -1383,9 +1381,7 @@ public static Integer htmlCellTrafficSimulation(String var) {
case VAR_sumocfgPath:
return 1;
case VAR_fcdFilePath:
return 3;
case VAR_netFilePath:
return 3;
return 1;
case VAR_startSeconds:
return 1;
case VAR_endSeconds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ protected void _sumocfgPath(Wrap<String> w) {
* DocValues: true
* Persist: true
* DisplayName: Floating Car Data file path
* HtmlRow: 4
* HtmlCell: 3
* HtmlRow: 5
* HtmlCell: 1
* Facet: true
*/
protected void _fcdFilePath(Wrap<String> w) {
Expand All @@ -89,8 +89,6 @@ protected void _fcdFilePath(Wrap<String> w) {
* DocValues: true
* Persist: true
* DisplayName: net file path
* HtmlRow: 4
* HtmlCell: 3
* Facet: true
*/
protected void _netFilePath(Wrap<String> w) {
Expand All @@ -102,7 +100,7 @@ protected void _netFilePath(Wrap<String> w) {
* Persist: true
* DisplayName: start seconds
* Description: -b, --begin TIME Defines the begin time in seconds; The simulation starts at this time
* HtmlRow: 5
* HtmlRow: 6
* HtmlCell: 1
* Facet: true
*/
Expand All @@ -115,7 +113,7 @@ protected void _startSeconds(Wrap<BigDecimal> w) {
* Persist: true
* DisplayName: end seconds
* Description: -e, --end TIME Defines the end time in seconds; The simulation ends at this time
* HtmlRow: 5
* HtmlRow: 6
* HtmlCell: 2
* Facet: true
*/
Expand All @@ -128,7 +126,7 @@ protected void _endSeconds(Wrap<BigDecimal> w) {
* Persist: true
* DisplayName: step seconds
* Description: --step-length TIME Defines the step duration in seconds
* HtmlRow: 5
* HtmlRow: 6
* HtmlCell: 3
* Facet: true
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,9 @@
</div>
<div class="w3-cell-row ">
{{> "htmSumocfgPath" classApiMethodMethod="PATCH"}}
</div>
<div class="w3-cell-row ">
{{> "htmFcdFilePath" classApiMethodMethod="PATCH"}}
{{> "htmNetFilePath" classApiMethodMethod="PATCH"}}
</div>
<div class="w3-cell-row ">
{{> "htmStartSeconds" classApiMethodMethod="PATCH"}}
Expand Down Expand Up @@ -466,8 +467,9 @@
</div>
<div class="w3-cell-row ">
{{> "htmSumocfgPath" classApiMethodMethod="POST"}}
</div>
<div class="w3-cell-row ">
{{> "htmFcdFilePath" classApiMethodMethod="POST"}}
{{> "htmNetFilePath" classApiMethodMethod="POST"}}
</div>
<div class="w3-cell-row ">
{{> "htmStartSeconds" classApiMethodMethod="POST"}}
Expand Down Expand Up @@ -539,8 +541,9 @@
</div>
<div class="w3-cell-row ">
{{> "htmSumocfgPath" classApiMethodMethod="Page"}}
</div>
<div class="w3-cell-row ">
{{> "htmFcdFilePath" classApiMethodMethod="Page"}}
{{> "htmNetFilePath" classApiMethodMethod="Page"}}
</div>
<div class="w3-cell-row ">
{{> "htmStartSeconds" classApiMethodMethod="Page"}}
Expand Down

0 comments on commit 705bdd4

Please sign in to comment.