Add robot svg to robot comment details
Bug: Issue 8514 Change-Id: Iefc5d12986f62faa30f23c578b5261ab2bb1a703
This commit is contained in:
		@@ -25,6 +25,7 @@ limitations under the License.
 | 
			
		||||
<link rel="import" href="../../shared/gr-confirm-dialog/gr-confirm-dialog.html">
 | 
			
		||||
<link rel="import" href="../../shared/gr-date-formatter/gr-date-formatter.html">
 | 
			
		||||
<link rel="import" href="../../shared/gr-formatted-text/gr-formatted-text.html">
 | 
			
		||||
<link rel="import" href="../../shared/gr-icons/gr-icons.html">
 | 
			
		||||
<link rel="import" href="../../shared/gr-overlay/gr-overlay.html">
 | 
			
		||||
<link rel="import" href="../../shared/gr-rest-api-interface/gr-rest-api-interface.html">
 | 
			
		||||
<link rel="import" href="../../shared/gr-storage/gr-storage.html">
 | 
			
		||||
@@ -155,6 +156,12 @@ limitations under the License.
 | 
			
		||||
        margin-bottom: .8em;
 | 
			
		||||
        margin-top: -.4em;
 | 
			
		||||
      }
 | 
			
		||||
      .robotIcon {
 | 
			
		||||
        margin-right: .2em;
 | 
			
		||||
        /* because of the antenna of the robot, it looks off center even when it
 | 
			
		||||
         is centered. artificially adjust margin to account for this. */
 | 
			
		||||
        margin-top: -.3em;
 | 
			
		||||
      }
 | 
			
		||||
      .runIdInformation {
 | 
			
		||||
        margin: .7em 0;
 | 
			
		||||
      }
 | 
			
		||||
@@ -270,6 +277,7 @@ limitations under the License.
 | 
			
		||||
      <div class="body">
 | 
			
		||||
        <template is="dom-if" if="[[comment.robot_id]]">
 | 
			
		||||
          <div class="robotId" hidden$="[[collapsed]]">
 | 
			
		||||
            <iron-icon class="robotIcon" icon="gr-icons:robot"></iron-icon>
 | 
			
		||||
            [[comment.robot_id]]
 | 
			
		||||
          </div>
 | 
			
		||||
        </template>
 | 
			
		||||
 
 | 
			
		||||
@@ -48,6 +48,9 @@ limitations under the License.
 | 
			
		||||
      <g id="content-copy"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></g>
 | 
			
		||||
      <!-- This is a custom PolyGerrit SVG -->
 | 
			
		||||
      <g id="check"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></g>
 | 
			
		||||
      <!-- This is a custom PolyGerrit SVG -->
 | 
			
		||||
      <g id="robot"><path d="M4.137453,5.61015591 L4.54835569,1.5340419 C4.5717665,1.30180904 4.76724872,1.12504213 5.00065859,1.12504213 C5.23327176,1.12504213 5.42730868,1.30282046 5.44761309,1.53454578 L5.76084628,5.10933916 C6.16304484,5.03749412 6.57714381,5 7,5 L17,5 C20.8659932,5 24,8.13400675 24,12 L24,15.1250421 C24,18.9910354 20.8659932,22.1250421 17,22.1250421 L7,22.1250421 C3.13400675,22.1250421 2.19029351e-15,18.9910354 0,15.1250421 L0,12 C-3.48556243e-16,9.15382228 1.69864167,6.70438358 4.137453,5.61015591 Z M5.77553049,6.12504213 C3.04904264,6.69038358 1,9.10590202 1,12 L1,15.1250421 C1,18.4387506 3.6862915,21.1250421 7,21.1250421 L17,21.1250421 C20.3137085,21.1250421 23,18.4387506 23,15.1250421 L23,12 C23,8.6862915 20.3137085,6 17,6 L7,6 C6.60617231,6 6.2212068,6.03794347 5.84855971,6.11037415 L5.84984496,6.12504213 L5.77553049,6.12504213 Z M6.93003717,6.95027711 L17.1232083,6.95027711 C19.8638332,6.95027711 22.0855486,9.17199258 22.0855486,11.9126175 C22.0855486,14.6532424 19.8638332,16.8749579 17.1232083,16.8749579 L6.93003717,16.8749579 C4.18941226,16.8749579 1.9676968,14.6532424 1.9676968,11.9126175 C1.9676968,9.17199258 4.18941226,6.95027711 6.93003717,6.95027711 Z M7.60124392,14.0779303 C9.03787127,14.0779303 10.2024878,12.9691885 10.2024878,11.6014862 C10.2024878,10.2337839 9.03787127,9.12504213 7.60124392,9.12504213 C6.16461657,9.12504213 5,10.2337839 5,11.6014862 C5,12.9691885 6.16461657,14.0779303 7.60124392,14.0779303 Z M16.617997,14.1098288 C18.0638768,14.1098288 19.2359939,12.9939463 19.2359939,11.6174355 C19.2359939,10.2409246 18.0638768,9.12504213 16.617997,9.12504213 C15.1721172,9.12504213 14,10.2409246 14,11.6174355 C14,12.9939463 15.1721172,14.1098288 16.617997,14.1098288 Z M9.79751216,18.1250421 L15,18.1250421 L15,19.1250421 C15,19.6773269 14.5522847,20.1250421 14,20.1250421 L10.7975122,20.1250421 C10.2452274,20.1250421 9.79751216,19.6773269 9.79751216,19.1250421 L9.79751216,18.1250421 Z"></path>
 | 
			
		||||
    </g>
 | 
			
		||||
    </defs>
 | 
			
		||||
  </svg>
 | 
			
		||||
</iron-iconset-svg>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user