The content provided is for general testing purposes only.
Target App
drupal_limrock
Version
v1
HTML Markup
<div style="display: flex; flex-direction: column; gap: 12px; font-family: system-ui, -apple-system, sans-serif;">
<!-- View Header Metadata Summary Line -->
<div style="padding: 4px 6px; border-left: 3px solid #0284c7; margin-bottom: 4px;">
<span style="font-size: 13px; color: #64748b; font-weight: 500;">
Active View Results for: <code style="background: #f1f5f9; padding: 2px 6px; border-radius: 4px; color: #0f172a;">{{ .ActiveEntityID }}</code>
</span>
</div>

{{ range .ActiveRoster }}
<div style="padding: 16px 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);">
<div>
<h4 style="margin: 0 0 4px 0; color: #1e293b; font-size: 16px; font-weight: 600;">{{ .Name }}</h4>
<div style="display: flex; gap: 12px; align-items: center;">
<span style="font-family: monospace; font-size: 11px; color: #64748b; background: #f8fafc; padding: 2px 6px; border-radius: 4px; border: 1px solid #f1f5f9;">
Type: <strong style="color: #334155;">{{ index .RawData "entity_type" }}</strong>
</span>
<span style="font-family: monospace; font-size: 11px; color: #64748b;">
Record ID: <strong style="color: #334155;">{{ .ID }}</strong>
</span>
</div>
</div>

<!-- Secure Routing Link out to your path-addressed API network endpoint -->
<a href="http://localhost:8082/api/node/?path=usa/california/la/usc/drupal_limrock/{{ index .RawData "entity_type" }}/v1/{{ .ID }}"
style="padding: 9px 16px; background: #0284c7; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 13px; font-weight: 500; transition: background 0.2s; display: inline-flex; align-items: center; gap: 6px;">
Inspect Node ➔
</a>
</div>
{{ else }}
<!-- Empty State Handling -->
<div style="padding: 40px 20px; text-align: center; color: #94a3b8; border: 2px dashed #e2e8f0; border-radius: 8px; background: #f8fafc;">
<div style="font-size: 24px; margin-bottom: 8px;">📭</div>
<div style="font-size: 14px; font-weight: 500; color: #64748b;">No matching results returned for this view criteria.</div>
<div style="font-size: 12px; color: #94a3b8; margin-top: 2px;">The index might still be generating in the background.</div>
</div>
{{ end }}
</div>
Target Entity
views
Style Block
p {color:#333367;}