Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/BoolMatrix.cshtml @ 13862

Last change on this file since 13862 was 13841, checked in by jlodewyc, 9 years ago

#2582 More parameter datatypes, splitting fileopening service, approving users, reopen last file, change name tasks and repetitions

File size: 861 bytes
Line 
1@model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.Jobs.DataPackageVM
2@using HeuristicLab.Data;
3@using HeuristicLab.Core;
4
5<td>
6    @{
7        var dat = (BoolMatrix)Model.Data.ActualValue;
8        var s = "";
9        for (var d = 0; d < dat.Rows;d++)
10        {
11            s += "[ ";
12            for(var i = 0; i < dat.Columns; i++)
13            {
14                s += dat[d, i] ;
15                if(i < dat.Columns - 1) {
16                    s += "; ";
17                }
18
19            }
20            s += " ] " + Environment.NewLine;
21
22        }
23    }
24    <textarea style="width:100%; resize:vertical"
25              value="@Model.Data"
26              onchange="paraEdit(@Model.Position,'@Model.Problem.ToString()',
27           '@Model.Data.Name', '@Model.Data.DataType.ToString()',this.value)">
28        @s
29    </textarea>
30</td>
Note: See TracBrowser for help on using the repository browser.