Deploy on 2026-06-05 17:47:27
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="page-header">
|
||||
<div>
|
||||
<h1>Contacts</h1>
|
||||
<p>Manage your network of investor contacts and interactions</p>
|
||||
<h1>جهات الاتصال</h1>
|
||||
<p>إدارة شبكة جهات الاتصال والتفاعلات مع المستثمرين والشركاء</p>
|
||||
</div>
|
||||
<a href="/admin/contacts/create" class="btn btn-primary">+ Add Contact</a>
|
||||
<a href="/admin/contacts/create" class="btn btn-primary">+ إضافة جهة اتصال</a>
|
||||
</div>
|
||||
|
||||
<?php if ($flashSuccess = $this->session->getFlash('success')): ?>
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
<div class="filters-bar">
|
||||
<form method="GET" class="filters-form">
|
||||
<input type="text" name="search" class="form-control" placeholder="Search contacts..." value="<?= $this->escape($search) ?>">
|
||||
<button type="submit" class="btn btn-secondary">Search</button>
|
||||
<input type="text" name="search" class="form-control" placeholder="البحث عن جهات الاتصال..." value="<?= $this->escape($search) ?>">
|
||||
<button type="submit" class="btn btn-secondary">بحث</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -21,17 +21,17 @@
|
||||
<table class="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Organization</th>
|
||||
<th>Email</th>
|
||||
<th>Interactions</th>
|
||||
<th>Actions</th>
|
||||
<th>الاسم</th>
|
||||
<th>المسمى الوظيفي</th>
|
||||
<th>المنظمة / الجهة</th>
|
||||
<th>البريد الإلكتروني</th>
|
||||
<th>التفاعلات</th>
|
||||
<th>الإجراءات</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if (empty($contacts)): ?>
|
||||
<tr><td colspan="6" style="text-align: center; padding: 40px; color: var(--text-muted);">No contacts yet.</td></tr>
|
||||
<tr><td colspan="6" style="text-align: center; padding: 40px; color: var(--text-muted);">لا توجد جهات اتصال حالياً.</td></tr>
|
||||
<?php else: ?>
|
||||
<?php foreach ($contacts as $contact): ?>
|
||||
<tr>
|
||||
@@ -41,8 +41,8 @@
|
||||
<td><?= $contact['email'] ? $this->escape($contact['email']) : '-' ?></td>
|
||||
<td><?= $contact['interaction_count'] ?? 0 ?></td>
|
||||
<td>
|
||||
<a href="/admin/contacts/<?= $contact['id'] ?>" class="btn btn-sm btn-secondary">View</a>
|
||||
<a href="/admin/contacts/<?= $contact['id'] ?>/edit" class="btn btn-sm btn-secondary">Edit</a>
|
||||
<a href="/admin/contacts/<?= $contact['id'] ?>" class="btn btn-sm btn-secondary">عرض</a>
|
||||
<a href="/admin/contacts/<?= $contact['id'] ?>/edit" class="btn btn-sm btn-secondary">تعديل</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<style>
|
||||
.data-table { width: 100%; border-collapse: collapse; }
|
||||
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
|
||||
.data-table th, .data-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.05); }
|
||||
.data-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 600; }
|
||||
.data-table tr:hover { background: rgba(255,255,255,0.02); }
|
||||
</style>
|
||||
Reference in New Issue
Block a user