diff options
Diffstat (limited to 'check')
| -rw-r--r-- | check/app/server/create.py | 2 | ||||
| -rwxr-xr-x | check/static/assets/css.css | 7 | ||||
| -rw-r--r-- | check/static/assets/js/dist/.gitkeep | 0 | ||||
| -rw-r--r-- | check/static/demo.html | 7 |
4 files changed, 14 insertions, 2 deletions
diff --git a/check/app/server/create.py b/check/app/server/create.py index 788bfaa..6dab331 100644 --- a/check/app/server/create.py +++ b/check/app/server/create.py @@ -27,7 +27,7 @@ def create_app(script_info=None): """ functional pattern for creating the flask app """ - app = Flask(__name__, static_folder='static', static_url_path='') + app = Flask(__name__, static_folder='static', static_url_path='/static') app.config['SQLALCHEMY_DATABASE_URI'] = connection_url app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['CELERY_BROKER_URL'] = cfg.CELERY_BROKER_URL diff --git a/check/static/assets/css.css b/check/static/assets/css.css index 9e8a59f..63cede7 100755 --- a/check/static/assets/css.css +++ b/check/static/assets/css.css @@ -338,4 +338,11 @@ td.result_txt ul li{ margin-left:0; padding-bottom: 5px; list-style: none; +} + +.query { + margin: 10px 0; +} +.results { + margin: 10px 0; }
\ No newline at end of file diff --git a/check/static/assets/js/dist/.gitkeep b/check/static/assets/js/dist/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/check/static/assets/js/dist/.gitkeep diff --git a/check/static/demo.html b/check/static/demo.html index c8de017..902794d 100644 --- a/check/static/demo.html +++ b/check/static/demo.html @@ -1,7 +1,12 @@ <html> <head> - <title>PHash Check API Demo</title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> + <title>Perceptual Hash API Demo</title> + <link rel='stylesheet' type='text/css' href='/static/assets/css.css' /> </head> <body> + <div id='container'></div> </body> +<script src="/static/assets/js/dist/index.js"></script> </html>
\ No newline at end of file |
