Skip to content

Commit

Permalink
Merge pull request #149 from maptiler/cleaning
Browse files Browse the repository at this point in the history
Responzive desing and cleaning of templates
  • Loading branch information
daliborjanak authored Sep 17, 2019
2 parents 7424abd + ba10041 commit 7a8672e
Show file tree
Hide file tree
Showing 107 changed files with 3,163 additions and 2,636 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "javascript/library"]
path = javascript/library
url = https://github.com/klokantech/javascript.git
[submodule "styles/lib"]
path = styles/lib
url = https://github.com/klokantech/styles.git
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ RUN pip install -q -r requirements.txt
EXPOSE 8080

CMD gunicorn --workers 4 --bind 0.0.0.0:8080 --log-level info --reload app:app
# CMD python app.py # dev
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.PHONY: init
init: | submodules

.PHONY: submodules
submodules:
git submodule init
git submodule update

styles:
sass --watch styles/base.scss ./static/css/base.min.css --style compressed

styles-build:
sass styles/base.scss static/css/base.min.css --style compressed

run:
docker run -v $(pwd):/var/www/epsg.io -p 8000:8080 epsg.io

build:
docker build . --tag=epsg.io
283 changes: 128 additions & 155 deletions app.py

Large diffs are not rendered by default.

706 changes: 0 additions & 706 deletions css/main.css

This file was deleted.

3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ bottle==0.11.6
gunicorn==19.3
# setproctitle==1.1.8
wsgiref==0.1.2
Flask==0.12
Flask-DebugToolbar==0.10.1
Jinja2==2.9.3
1 change: 1 addition & 0 deletions static/css/base.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/css/base.min.css.map

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions static/css/fonts/icons.svg
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/css/fonts/icons.ttf
Binary file not shown.
Binary file added static/css/fonts/icons.woff
Binary file not shown.
Binary file added static/css/fonts/icons.woff2
Binary file not shown.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions static/opensearch.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>EPSG.io</ShortName>
<Description>Coordinate systems for spatial reference worldwide</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">http://epsg.io/favicon.ico</Image>
<Contact>[email protected]</Contact>
<Url type="text/html" method="get" template="http://epsg.io/?q={searchTerms}"/>
<moz:SearchForm>http://epsg.io/</moz:SearchForm>

</OpenSearchDescription>
File renamed without changes.
File renamed without changes.
Binary file added static/press/detail-pr.png
File renamed without changes
File renamed without changes
Binary file added static/press/gsoc2015-300x270.jpg
Binary file added static/press/main-page-pr.png
Binary file added static/press/map-pr.png
File renamed without changes.
Binary file added static/press/results-pr.png
Empty file added styles/_custom-layout.scss
Empty file.
Loading

0 comments on commit 7a8672e

Please sign in to comment.