kkhatua commented on a change in pull request #1611: DRILL-6971: Display query 
state in query result page
URL: https://github.com/apache/drill/pull/1611#discussion_r247365984
 
 

 ##########
 File path: exec/java-exec/src/main/resources/rest/query/result.ftl
 ##########
 @@ -34,6 +34,9 @@
     <td align='left'>
       <button type="button"  title="Open in new window" 
onclick="popOutProfile('${model.getQueryId()}');" class="btn btn-default 
btn-sm">
       <b>Query Profile:</b> ${model.getQueryId()} <span class="glyphicon 
glyphicon-new-window"/></button>
+     </td>
+     <td>
+         <span class="input-group-addon" style="font-size:95%"><b>Query 
State:</b> ${model.getQueryState()}</span>
 
 Review comment:
   It might be worth putting the Status in a Label with the colour indicative 
of the status.
   Here is a good reference: 
https://www.w3schools.com/bootstrap/bootstrap_badges_labels.asp

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to