Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/25/16 12:47:31 (9 years ago)
Author:
jlodewyc
Message:

#2582 finish Job manager functionality. Start overhaul client connections (login, hiveclient and fileopening)

Location:
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/wwwroot/js/Scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/wwwroot/js/Scripts/Graphs/GraphDataCollector.js

    r13733 r13735  
    5151}
    5252function dataConversion(coll, name) {
    53     var line = dataConversionLine(coll, name);
     53    var line = null;//dataConversionLine(coll, name);
    5454    var pie = dataConversionPie(coll);
    5555    var gantt = dataConversionGantt(coll, name);
     
    9393    return [tasks, nam];
    9494}
     95/*
    9596function dataConversionLine(coll, nam) {
    9697    var xarr = [];
     
    140141
    141142    return [data, layout];
    142 }
     143}*/
    143144
    144145function dataConversionPie(coll) {
     
    163164            'Minutes transferring',
    164165            'Minutes calculating'],
    165         type: 'pie'
     166        type: 'pie',
     167        marker: {
     168            colors: ['#f0a742', '#80d4ff', '#2f6fa6']
     169        }
    166170    }];
    167171    return datap;
     
    178182            var temp = getDataGantt(val);
    179183            var w = $("#graph" + val).parent().width() - 30;
    180             document.getElementById("graph" + val).style.height = "200px";
     184            document.getElementById("graph" + val).style.height = "300px";
    181185            var gantt = d3.gantt().selector('#graph' + val).height('200').width(w).margin({
    182186                top: 20,
     
    185189                left: 20
    186190            }).drawytitles(false).taskTypes([temp[1]]).taskStatus(taskStatus);
    187             //    document.getElementById("graph" + val).style.marginLeft = "-40px";
    188191            gantt(temp[0]);
     192           document.getElementById("legend" + val).style.display = "";
    189193        }, 100);
    190194
     
    195199        // console.log("#REDRAWN LINE: " + val);
    196200    } else {
     201        document.getElementById("legend" + val).style.display = "none";
    197202        setTimeout(function () {
    198203            Plotly.newPlot('graph' + val, getDataPie(val));
     
    226231    document.getElementById("graphMain").style.marginLeft = "20px";
    227232    gantt(tempdata);
     233
     234
    228235    /* LINE VERSION
    229236    var temp = [];
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/wwwroot/js/Scripts/hubber.js

    r13733 r13735  
    2323
    2424    var jobname = document.getElementById("jname").value;
     25    var resource = document.getElementById("jresource").value;
    2526    if (jobname && jobname != "" && jobname != null) {
    26         hubber.server.changeName(jobname);
     27        hubber.server.changeNameResource(jobname, resource);
    2728        document.getElementById("fakehiveadd").style.display = "none";
    2829        document.getElementById("progdiv").style.display = "";
     
    4041    else
    4142        $("#childs" + idchilds).css("display", "none");
     43    $('body').click();
    4244}
    4345function changePriority(arr, prior, idprior) {
Note: See TracChangeset for help on using the changeset viewer.