changes
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<div class="woo-cards">
|
||||
|
||||
<!-- Pending orders -->
|
||||
<div class="woo-card woo-card-pending woo-card-clickable"
|
||||
<div class="woo-card border-start border-warning border-3 woo-card-clickable"
|
||||
t-on-click="openOrders">
|
||||
<div class="woo-card-icon">🛒</div>
|
||||
<div class="woo-card-value" t-esc="state.pendingOrders"/>
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Last sync -->
|
||||
<div class="woo-card woo-card-sync">
|
||||
<div class="woo-card border-start border-info border-3">
|
||||
<div class="woo-card-icon">🔄</div>
|
||||
<div class="woo-card-value" style="font-size:1.1rem;" t-esc="lastSyncRelative"/>
|
||||
<div class="woo-card-label">Last Sync</div>
|
||||
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Errors -->
|
||||
<div class="woo-card woo-card-errors woo-card-clickable"
|
||||
<div class="woo-card border-start border-danger border-3 woo-card-clickable"
|
||||
t-on-click="openSyncLogs">
|
||||
<div class="woo-card-icon">⚠️</div>
|
||||
<div class="woo-card-value" t-esc="state.errors24h"/>
|
||||
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Products mapped -->
|
||||
<div class="woo-card woo-card-mapped">
|
||||
<div class="woo-card border-start border-success border-3">
|
||||
<div class="woo-card-icon">🔗</div>
|
||||
<div class="woo-card-value">
|
||||
<t t-esc="mappedPercent"/>%
|
||||
@@ -75,19 +75,19 @@
|
||||
<div class="woo-section-title">Quick Actions</div>
|
||||
<div class="woo-quick-actions">
|
||||
|
||||
<button class="woo-btn woo-btn-primary" t-on-click="syncNow">
|
||||
<button class="btn btn-primary" t-on-click="syncNow">
|
||||
<i class="fa fa-refresh me-1"/> Sync Now
|
||||
</button>
|
||||
|
||||
<button class="woo-btn woo-btn-warning" t-on-click="openConflicts">
|
||||
<button class="btn btn-warning" t-on-click="openConflicts">
|
||||
<i class="fa fa-exclamation-triangle me-1"/> View Conflicts
|
||||
</button>
|
||||
|
||||
<button class="woo-btn woo-btn-secondary" t-on-click="openMapping">
|
||||
<button class="btn btn-secondary" t-on-click="openMapping">
|
||||
<i class="fa fa-th-list me-1"/> Open Product Mapping
|
||||
</button>
|
||||
|
||||
<button class="woo-btn woo-btn-secondary" t-on-click="openOrders">
|
||||
<button class="btn btn-secondary" t-on-click="openOrders">
|
||||
<i class="fa fa-shopping-cart me-1"/> View Orders
|
||||
</button>
|
||||
|
||||
@@ -111,13 +111,13 @@
|
||||
<td><strong><t t-esc="inst.name"/></strong></td>
|
||||
<td>
|
||||
<t t-if="inst.state === 'connected'">
|
||||
<span class="woo-badge woo-badge-mapped">Connected</span>
|
||||
<span class="badge text-bg-success">Connected</span>
|
||||
</t>
|
||||
<t t-elif="inst.state === 'error'">
|
||||
<span class="woo-badge woo-badge-error">Error</span>
|
||||
<span class="badge text-bg-danger">Error</span>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<span class="woo-badge woo-badge-unmapped">Draft</span>
|
||||
<span class="badge text-bg-secondary">Draft</span>
|
||||
</t>
|
||||
</td>
|
||||
<td>
|
||||
@@ -125,7 +125,7 @@
|
||||
<t t-esc="inst.last_sync"/>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<span class="woo-text-muted">Never</span>
|
||||
<span class="text-muted">Never</span>
|
||||
</t>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user