Skip to content

Commit

Permalink
feat: remove CDNs; updated icons; web app manifest; add responsive me…
Browse files Browse the repository at this point in the history
…ta header
  • Loading branch information
tristanmkernan committed Apr 8, 2018
1 parent 9cc626d commit 149b641
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 7 deletions.
2 changes: 2 additions & 0 deletions static/css/bulma.min.css

Large diffs are not rendered by default.

Binary file removed static/favicon.ico
Binary file not shown.
Binary file added static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/homescreen144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/homescreen168.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/homescreen192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/homescreen48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/homescreen72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/homescreen96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions static/js/jquery-3.3.1.slim.min.js

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions static/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "FileBin",
"short_name": "FileBin",
"start_url": ".",
"display": "standalone",
"background_color": "#fff",
"description": "Share files simply.",
"icons": [
{
"src": "static/image/homescreen48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "static/image/homescreen72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "static/image/homescreen96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "static/image/homescreen144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "static/image/homescreen168.png",
"sizes": "168x168",
"type": "image/png"
},
{
"src": "static/image/homescreen192.png",
"sizes": "192x192",
"type": "image/png"
}
]
}
17 changes: 10 additions & 7 deletions templates/skeleton.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css"
integrity="sha256-2k1KVsNPRXxZOsXQ8aqcZ9GOOwmJTMoOB5o5Qp1d6/s=" crossorigin="anonymous"/>
<title>{% block title %}{% endblock %}</title>

<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/fa/css/font-awesome.min.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}">

<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="manifest" href="/manifest.webmanifest">

<style>
.subtitle {
Expand Down Expand Up @@ -96,7 +97,10 @@
<strong><a href="https://www.nltk.org/">NLTK</a></strong>
&bull;
<strong><a href="https://wordnet.princeton.edu/">WordNet</a></strong>
</p>
</p>
<p class="is-size-7">
Pigeon icon made by <a href="https://www.flaticon.com/authors/nikita-golubev" title="Nikita Golubev">Nikita Golubev</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
</p>
<p class="is-italic">
Please note: all uploaded files are public. Do not upload sensitive information!
</p>
Expand Down Expand Up @@ -130,8 +134,7 @@
</form>
</div>

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous"></script>
<script src="{{ url_for('static', filename='js/jquery-3.3.1.slim.min.js') }}"></script>

<script>
$(document).ready(function () {
Expand Down

0 comments on commit 149b641

Please sign in to comment.