aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/scss/packages.scss2
-rw-r--r--app/static/placeholder.pngbin0 -> 5156 bytes
-rw-r--r--app/static/screenshot.pngbin228922 -> 0 bytes
-rw-r--r--app/tasks/importtasks.py2
-rw-r--r--app/templates/index.html2
5 files changed, 3 insertions, 3 deletions
diff --git a/app/scss/packages.scss b/app/scss/packages.scss
index a786d79..04230cd 100644
--- a/app/scss/packages.scss
+++ b/app/scss/packages.scss
@@ -25,7 +25,7 @@
position: relative;
background-position: center;
background-size: cover;
- background-image: url("screenshot.png");
+ background-image: url("placeholder.png");
min-height: 220px;
border-radius: 5px;
padding: 0;
diff --git a/app/static/placeholder.png b/app/static/placeholder.png
new file mode 100644
index 0000000..265a5fb
--- /dev/null
+++ b/app/static/placeholder.png
Binary files differ
diff --git a/app/static/screenshot.png b/app/static/screenshot.png
deleted file mode 100644
index 3cbf879..0000000
--- a/app/static/screenshot.png
+++ /dev/null
Binary files differ
diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py
index 954e16e..7233d87 100644
--- a/app/tasks/importtasks.py
+++ b/app/tasks/importtasks.py
@@ -44,7 +44,7 @@ class GithubURLMaker:
return self.baseUrl + "/description.txt"
def getScreenshotURL(self):
- return self.baseUrl + "/screenshot.png"
+ return self.baseUrl + "/placeholder.png"
def getCommitsURL(self, branch):
return "https://api.github.com/repos/{}/{}/commits?sha={}" \
diff --git a/app/templates/index.html b/app/templates/index.html
index 8ad9ce6..43cd866 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -24,7 +24,7 @@ Dashboard
<ul class="packagegrid">
{% for p in packages %}
<li><a href="{{ p.getDetailsURL() }}"
- style="background-image: url({{ p.getMainScreenshotURL() or '/static/screenshot.png' }});">
+ style="background-image: url({{ p.getMainScreenshotURL() or '/static/placeholder.png' }});">
<span>{{ p.title }} by {{ p.author.display_name }}</span>
</a></li>
{% else %}