|
|
|
@ -24,17 +24,23 @@ const triggerReload = async () => {
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div class="flex flex-col gap-6 items-center justify-center"> |
|
|
|
|
<GeneralIcon icon="warning" class="text-gray-500 w-8 h-8" /> |
|
|
|
|
<span class="text-gray-600 text-base font-semibold"> Unable to load feed </span> |
|
|
|
|
<div class="flex items-center justify-center"> |
|
|
|
|
<div class="w-[696px] error-box gap-6 border-1 border-gray-200 py-6 rounded-xl flex flex-col items-center justify-center"> |
|
|
|
|
<GeneralIcon icon="alertTriangle" class="text-gray-500 w-8 h-8" /> |
|
|
|
|
<span class="text-gray-600 text-base font-semibold"> Unable to load feed </span> |
|
|
|
|
|
|
|
|
|
<NcButton type="secondary" size="small" @click="triggerReload"> |
|
|
|
|
<div class="flex items-center text-gray-700 gap-2"> |
|
|
|
|
<GeneralIcon icon="refreshCw" /> |
|
|
|
|
<span class="text-sm"> Retry </span> |
|
|
|
|
</div> |
|
|
|
|
</NcButton> |
|
|
|
|
<NcButton type="secondary" size="small" @click="triggerReload"> |
|
|
|
|
<div class="flex items-center text-gray-700 gap-2"> |
|
|
|
|
<GeneralIcon icon="refreshCw" /> |
|
|
|
|
<span class="text-sm"> Refresh </span> |
|
|
|
|
</div> |
|
|
|
|
</NcButton> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"></style> |
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|
.error-box { |
|
|
|
|
box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.08), 0px 2px 4px -2px rgba(0, 0, 0, 0.04); |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|