Spaces:
Running

End3rs's picture
Email Name Link Clicks % Clicks People % People
cbda156 verified
Raw History Blame Contribute Delete
3.73 kB
class DataTable extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
margin: 2rem 0;
}
table {
width: 100%;
border-collapse: collapse;
font-family: 'Inter', sans-serif;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
border-radius: 0.5rem;
overflow: hidden;
}
th, td {
padding: 0.75rem 1rem;
text-align: left;
border-bottom: 1px solid #e5e7eb;
}
th {
background-color: #f3f4f6;
font-weight: 600;
color: #374151;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05em;
}
tr:hover {
background-color: #f9fafb;
}
.highlight {
background-color: rgba(167, 139, 250, 0.15);
}
.percentage {
color: #7c3aed;
font-weight: 600;
}
</style>
<table>
<thead>
<tr>
<th>Email Name</th>
<th>Link</th>
<th>Clicks</th>
<th>% Clicks</th>
<th>People</th>
<th>% People</th>
</tr>
</thead>
<tbody>
<tr class="highlight">
<td>CLIN_US_2025_EMB_Gram Positive Survey Email_2322.Survey</td>
<td><a href="https://forms.office.com/pages/responsepage.aspx?id=OlTArnPMpE-eKs9Srfm3iJCntTXIJcFGpFs44PInFCFUNFlNWTE1T1ZVRUIxRjRLNzJPTzJKSE5VMi4u&route=shorturl&utm_medium=email_single_survey_13178&utm_campaign=clin_us_2025_gram-positive-survey-email_2322&utm_source=marketo_315-vka-657&utm_content=take-survey-button" target="_blank">Survey Link</a></td>
<td>116</td>
<td class="percentage">72.5%</td>
<td>51</td>
<td class="percentage">61.4%</td>
</tr>
<tr>
<td>CLIN_US_2025_EMB_Gram Positive Survey Email_2322.Survey</td>
<td><a href="https://www.biomerieux.com/us/en/service-and-support/patents.html" target="_blank">Patents Page</a></td>
<td>11</td>
<td class="percentage">6.9%</td>
<td>8</td>
<td class="percentage">9.6%</td>
</tr>
<tr>
<td>CLIN_US_2025_EMB_Gram Positive Survey Email_2322.Survey</td>
<td><a href="https://www.facebook.com/biomerieuxusa" target="_blank">Facebook</a></td>
<td>11</td>
<td class="percentage">6.9%</td>
<td>8</td>
<td class="percentage">9.6%</td>
</tr>
<tr>
<td>CLIN_US_2025_EMB_Gram Positive Survey Email_2322.Survey</td>
<td><a href="https://www.instagram.com/life.at.biomerieux" target="_blank">Instagram</a></td>
<td>11</td>
<td class="percentage">6.9%</td>
<td>8</td>
<td class="percentage">9.6%</td>
</tr>
<tr>
<td>CLIN_US_2025_EMB_Gram Positive Survey Email_2322.Survey</td>
<td><a href="https://www.linkedin.com/showcase/biomerieux-clinical-diagnostics" target="_blank">LinkedIn</a></td>
<td>11</td>
<td class="percentage">6.9%</td>
<td>8</td>
<td class="percentage">9.6%</td>
</tr>
<tr>
<td colspan="2"><strong>Total</strong></td>
<td><strong>160</strong></td>
<td></td>
<td><strong>83</strong></td>
<td></td>
</tr>
</tbody>
</table>
`;
}
}
customElements.define('data-table', DataTable);