aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmclaugh...@apache.org
Subject aurora git commit: Format constraints on Task Config Summary
Date Tue, 17 Oct 2017 20:15:13 GMT
Repository: aurora
Updated Branches:
  refs/heads/master 9558a633e -> c7de69532


Format constraints on Task Config Summary

Reviewed at https://reviews.apache.org/r/63081/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/c7de6953
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/c7de6953
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/c7de6953

Branch: refs/heads/master
Commit: c7de69532b93c92dcef1836b4a7763cef01f6b22
Parents: 9558a63
Author: David McLaughlin <david@dmclaughlin.com>
Authored: Tue Oct 17 13:15:07 2017 -0700
Committer: David McLaughlin <david@dmclaughlin.com>
Committed: Tue Oct 17 13:15:07 2017 -0700

----------------------------------------------------------------------
 ui/src/main/js/components/TaskConfigSummary.js | 2 +-
 ui/src/main/sass/components/_job-page.scss     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/c7de6953/ui/src/main/js/components/TaskConfigSummary.js
----------------------------------------------------------------------
diff --git a/ui/src/main/js/components/TaskConfigSummary.js b/ui/src/main/js/components/TaskConfigSummary.js
index 69b1a40..43b50d9 100644
--- a/ui/src/main/js/components/TaskConfigSummary.js
+++ b/ui/src/main/js/components/TaskConfigSummary.js
@@ -30,7 +30,7 @@ export default function TaskConfigSummary({ config, instances }) {
       <tr>
         <th>Constraints</th>
         <td colSpan='2'>
-          {config.constraints.map((t) => (<span key={t.name}>
+          {config.constraints.map((t) => (<span className='task-constraint' key={t.name}>
             {t.name}: {constraintToString(t.constraint)}
           </span>))}
         </td>

http://git-wip-us.apache.org/repos/asf/aurora/blob/c7de6953/ui/src/main/sass/components/_job-page.scss
----------------------------------------------------------------------
diff --git a/ui/src/main/sass/components/_job-page.scss b/ui/src/main/sass/components/_job-page.scss
index 8523fcf..cd44e36 100644
--- a/ui/src/main/sass/components/_job-page.scss
+++ b/ui/src/main/sass/components/_job-page.scss
@@ -62,6 +62,10 @@
       border: 1px solid $grid_color;
       margin-right: 20px;
       margin-bottom: 20px;
+
+      .tast-constraint {
+        display: block;
+      }
     }
 
     tr:first-child {


Mime
View raw message