|
|
@ -24,17 +24,23 @@ const triggerReload = async () => { |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="flex flex-col gap-6 items-center justify-center"> |
|
|
|
<div class="flex items-center justify-center"> |
|
|
|
<GeneralIcon icon="warning" class="text-gray-500 w-8 h-8" /> |
|
|
|
<div class="w-[696px] error-box gap-6 border-1 border-gray-200 py-6 rounded-xl flex flex-col items-center justify-center"> |
|
|
|
<span class="text-gray-600 text-base font-semibold"> Unable to load feed </span> |
|
|
|
<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"> |
|
|
|
<NcButton type="secondary" size="small" @click="triggerReload"> |
|
|
|
<div class="flex items-center text-gray-700 gap-2"> |
|
|
|
<div class="flex items-center text-gray-700 gap-2"> |
|
|
|
<GeneralIcon icon="refreshCw" /> |
|
|
|
<GeneralIcon icon="refreshCw" /> |
|
|
|
<span class="text-sm"> Retry </span> |
|
|
|
<span class="text-sm"> Refresh </span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</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> |
|
|
|