add
This commit is contained in:
@@ -112,30 +112,32 @@ const AgentsPage = () => {
|
||||
topbarTitle="Agents"
|
||||
requiredButtons={["title", "add", "search"]}
|
||||
/>
|
||||
{isMobile ? (
|
||||
<div className={styles.cardContainer}>
|
||||
<MobileSearchBar />
|
||||
{sampleData.map((data, key) => {
|
||||
|
||||
<div className={styles.cardContainer}>
|
||||
<MobileSearchBar />
|
||||
{isMobile &&
|
||||
sampleData.map((data, key) => {
|
||||
return <Card data={data} key={key} />;
|
||||
})}
|
||||
</div>
|
||||
) : (
|
||||
<div className={styles.tableContainer}>
|
||||
<table className={styles.table}>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="25%">Name</th>
|
||||
<th>Endpoint</th>
|
||||
<th>Type</th>
|
||||
<th>Proxy Name</th>
|
||||
<th>Date Created</th>
|
||||
</div>
|
||||
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<div className={styles.tableContainer}>
|
||||
<table className={styles.table}>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="25%">Name</th>
|
||||
<th>Endpoint</th>
|
||||
<th>Type</th>
|
||||
<th>Proxy Name</th>
|
||||
<th>Date Created</th>
|
||||
|
||||
<tbody>
|
||||
{sampleData.map((org, index) => {
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{!isMobile &&
|
||||
sampleData.map((org, index) => {
|
||||
return (
|
||||
<tr
|
||||
key={index}
|
||||
@@ -161,10 +163,9 @@ const AgentsPage = () => {
|
||||
</tr>
|
||||
);
|
||||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
)}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user