File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed 
services/static-webserver/client/source Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ qx.Class.define("osparc.jobs.RunsTable", {
3636
3737    Object . values ( this . self ( ) . COLS ) . forEach ( col  =>  columnModel . setColumnWidth ( col . column ,  col . width ) ) ; 
3838
39+     const  iconPathRun  =  "osparc/circle-play-text.svg" ; 
40+     const  fontButtonRendererRun  =  new  osparc . ui . table . cellrenderer . ImageButtonRenderer ( "run" ,  iconPathRun ) ; 
41+     columnModel . setDataCellRenderer ( this . self ( ) . COLS . ACTION_RUN . column ,  fontButtonRendererRun ) ; 
42+ 
3943    const  iconPathStop  =  "osparc/circle-stop-text.svg" ; 
4044    const  fontButtonRendererStop  =  new  osparc . ui . table . cellrenderer . ImageButtonRenderer ( "stop" ,  iconPathStop ) ; 
4145    columnModel . setDataCellRenderer ( this . self ( ) . COLS . ACTION_STOP . column ,  fontButtonRendererStop ) ; 
@@ -89,14 +93,14 @@ qx.Class.define("osparc.jobs.RunsTable", {
8993        width : 130 , 
9094        sortable : true 
9195      } , 
92-       ACTION_STOP : { 
93-         id : "info " , 
96+       ACTION_RUN : { 
97+         id : "action_run " , 
9498        column : 6 , 
9599        label : "" , 
96100        width : 40 
97101      } , 
98-       ACTION_RUN : { 
99-         id : "action_run " , 
102+       ACTION_STOP : { 
103+         id : "action_stop " , 
100104        column : 7 , 
101105        label : "" , 
102106        width : 40 
@@ -134,7 +138,7 @@ qx.Class.define("osparc.jobs.RunsTable", {
134138          this . fireDataEvent ( "runSelected" ,  rowData ) ; 
135139          break ; 
136140        } 
137-         case  "start " :
141+         case  "run " :
138142        case  "stop" :
139143        case  "logs" : { 
140144          const  msg  =  `I wish I could ${ action }   the job ${ rowData [ "projectUuid" ] }  ` ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments