From: dibs Date: Tue, 18 Dec 2012 12:05:27 +0000 (+0900) Subject: [Title] dibs web add data dir and bug fix X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9298ad5c0bc43ed585ebd14e743b2ee202838a6c;p=sdk%2Ftools%2Fsdk-build.git [Title] dibs web add data dir and bug fix --- diff --git a/dibs-web/public/javascripts/jobs.js b/dibs-web/public/javascripts/jobs.js index 16d248d..6bc2efb 100644 --- a/dibs-web/public/javascripts/jobs.js +++ b/dibs-web/public/javascripts/jobs.js @@ -336,18 +336,34 @@ console.log(url); + '

TYPE : ' +jobType+ '

' + '

OS : ' + os + '

' + '

USER : ' +userName+ '

' - + '

TIME: ' +startTime+ ' ~ '+endTime+ '

' - + '

' +jobStatus+ '

' - + ''; + + '

TIME: ' +startTime+ ' ~ '+endTime+ '

'; + if(jobStatus == "ERROR" || jobStatus == "CANCELED") { + li = li + '

' +jobStatus+ '

' + } else if(jobStatus == "JUST_CREATED" || jobStatus == "WAITING" + || jobStatus == "WORKING" || jobStatus == "REMOTE_WORKING" + || jobStatus == "PENDING") { + li = li + '

' +jobStatus+ '

' + } else if(jobStatus == "FINISHED") { + li = li + '

' +jobStatus+ '

' + } else { + li = li + '

' +jobStatus+ '

' + } + + li = li + ''; } else if(jobAttribute == "MULTI") { li = '
  • ' +id+ ' ' +jobType+ '
  • ' + '
  • ' + '

    USER : ' +userName+ '

    ' - + '

    TIME: ' +startTime+ ' ~ '+endTime+ '

    ' - + '

    ' +jobStatus+ '

    ' - + '
  • '; + + '

    TIME: ' +startTime+ ' ~ '+endTime+ '

    '; + if(jobStatus.toUpperCase() == "ERROR" || jobStatus.toUpperCase() == "CANCELED") { + li = li + '

    ' +jobStatus+ '

    ' + } else { + li = li + '

    ' +jobStatus+ '

    ' + } + + li = li + ''; } else if(jobAttribute == "CHILD") { @@ -356,9 +372,14 @@ console.log(url); + '

    ID : ' +id+ '

    ' + '

    TYPE : ' +jobType+ '

    ' + '

    OS : ' +os+ '

    ' - + '

    TIME: ' +startTime+ ' ~ '+endTime+ '

    ' - + '

    ' +jobStatus+ '

    ' - + ''; + + '

    TIME: ' +startTime+ ' ~ '+endTime+ '

    '; + if(jobStatus.toUpperCase() == "ERROR" || jobStatus.toUpperCase() == "CANCELED") { + li = li + '

    ' +jobStatus+ '

    ' + } else { + li = li + '

    ' +jobStatus+ '

    ' + } + + li = li + ''; } lastJobId = id; diff --git a/dibs-web/public/javascripts/popup-window.js b/dibs-web/public/javascripts/popup-window.js index 31a41ef..10e0081 100644 --- a/dibs-web/public/javascripts/popup-window.js +++ b/dibs-web/public/javascripts/popup-window.js @@ -41,7 +41,7 @@ Contributors: location:0, // determines whether the address bar is displayed {1 (YES) or 0 (NO)}. menubar:0, // determines whether the menu bar is displayed {1 (YES) or 0 (NO)}. resizable:0, // whether the window can be resized {1 (YES) or 0 (NO)}. Can also be overloaded using resizable. - scrollbars:0, // determines whether scrollbars appear on the window {1 (YES) or 0 (NO)}. + scrollbars:1, // determines whether scrollbars appear on the window {1 (YES) or 0 (NO)}. status:0, // whether a status line appears at the bottom of the window {1 (YES) or 0 (NO)}. width:500, // sets the width in pixels of the window. windowName:null, // name of window set from the name attribute of the element that invokes the click diff --git a/dibs-web/public/log.html b/dibs-web/public/log.html index 4b34fec..1bbd498 100644 --- a/dibs-web/public/log.html +++ b/dibs-web/public/log.html @@ -2,6 +2,13 @@ +