Skip to content

Commit

Permalink
what do you think?
Browse files Browse the repository at this point in the history
  • Loading branch information
cc0 committed Nov 16, 2020
1 parent f7c0d33 commit e2e6ad2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
@@ -0,0 +1,3 @@
static/* filter=lfs diff=lfs merge=lfs -text
app/static/chee-parts-of-songs-easy-clacla-some-trop.flac filter=lfs diff=lfs merge=lfs -text
app/static/chee-parts-of-songs-easy-clap-some-trop.flac filter=lfs diff=lfs merge=lfs -text
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -193,3 +193,4 @@ flycheck_*.el

.flaskenv
app/app.db
.env
Binary file not shown.
Empty file removed app/static/hoohoo
Empty file.
6 changes: 2 additions & 4 deletions app/templates/_piece.html
@@ -1,11 +1,8 @@
<h3>
<a href="/{{piece.collection.copyright_holder.username}}/{{piece.collection.slug}}/{{piece.slug}}">{{piece.name}}</a>
</h3>
{{piece.description}}
<a href="{{piece.url}}" download>download</a>
{% autoescape false %}
{{piece.html}}
{% endautoescape %}
<p>{{piece.description}}</p>

{% if piece.type.startswith("audio/") %}
<audio controls src="{{piece.url}}"></audio>
Expand Down Expand Up @@ -47,3 +44,4 @@ <h3>
about="{{collection.country}}">
{{collection.country}}
</span>.
<hr>
1 change: 1 addition & 0 deletions app/templates/base.html
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<link rel="stylesheet" href="/static/style.css">
{% if collection %}
<title>{{collection.name}} — public dump</title>
<h1>{{collection.name}}</h1>
Expand Down
22 changes: 11 additions & 11 deletions package.json
@@ -1,13 +1,13 @@
{
"name": "cc0-application",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"build": "pip3 install -r requirements.txt",
"start": "uwsgi --ini cc0.ini",
"dev": "flask run"
},
"author": "cc0 <cc0@snoot.club>",
"license": "CC-0",
"description": "cc0 application on snoot.club"
"name": "cc0-application",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"build": "pip3 install -r requirements.txt",
"start": "source ./venv/bin/activate; uwsgi --ini cc0.ini",
"dev": "flask run"
},
"author": "cc0 <cc0@snoot.club>",
"license": "CC-0",
"description": "cc0 application on snoot.club"
}

0 comments on commit e2e6ad2

Please sign in to comment.