feature: load website preview

This commit is contained in:
Usman Nasir
2020-05-03 11:59:36 +05:00
parent c1f5600018
commit b20af734dd
3 changed files with 3 additions and 6 deletions

View File

@@ -41,7 +41,7 @@
style="padding: 0px; box-shadow: 0px 0px 1px 0px #888888;">
<div class="">
<div class="table-responsive no-gutter text-nowrap" style="overflow-x: hidden;">
<div style="background-image: url({% static 'images/not-available-preview.png' %});
<div style="background-image: url('https://cdn.statically.io/screenshot/{$ web.domain $}?fullPage=true');;
height: 160px;
width: 200px;
background-position: top;

View File

@@ -41,16 +41,14 @@
style="padding: 0px; box-shadow: 0px 0px 1px 0px #888888;">
<div class="">
<div class="table-responsive no-gutter text-nowrap" style="overflow-x: hidden;">
<div
style="background-image: url({% static 'images/not-available-preview.png' %});
<div style="background-image: url('https://cdn.statically.io/screenshot/{$ web.domain $}?fullPage=true');
height: 160px;
width: 200px;
background-position: top;
background-repeat: no-repeat;
background-size: cover;
position: relative;"
class="col-lg-3 col-md-12"
>
class="col-lg-3 col-md-12">
</div>
<div class="col-lg-9" style="text-transform: none">
<div style="border-bottom: 1px solid #888888" class="col-md-12">