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

@@ -593,7 +593,6 @@ def runAWSBackups(request):
except BaseException as msg: except BaseException as msg:
logging.writeToFile(str(msg) + ' [API.runAWSBackups]') logging.writeToFile(str(msg) + ' [API.runAWSBackups]')
@csrf_exempt @csrf_exempt
def submitUserCreation(request): def submitUserCreation(request):
try: try:

View File

@@ -41,7 +41,7 @@
style="padding: 0px; box-shadow: 0px 0px 1px 0px #888888;"> style="padding: 0px; box-shadow: 0px 0px 1px 0px #888888;">
<div class=""> <div class="">
<div class="table-responsive no-gutter text-nowrap" style="overflow-x: hidden;"> <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; height: 160px;
width: 200px; width: 200px;
background-position: top; background-position: top;

View File

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