diff --git a/app.py b/app.py index 20439d3..18ec691 100644 --- a/app.py +++ b/app.py @@ -21,7 +21,7 @@ __major_version__ = '0' __minor_version__ = '1' -__change_version__ = '0' +__change_version__ = '1' __version__ = '.'.join( (__major_version__, __minor_version__, diff --git a/apps/rgb_colourspace_models_chromatically_adapted_primaries.py b/apps/rgb_colourspace_models_chromatically_adapted_primaries.py index 39782de..cdf2ee1 100644 --- a/apps/rgb_colourspace_models_chromatically_adapted_primaries.py +++ b/apps/rgb_colourspace_models_chromatically_adapted_primaries.py @@ -108,8 +108,16 @@ className='app-output'), Ul([ Li([Link('Back to index...', href='/')]), - Li([A('Permalink', href=urlparse.urljoin(SERVER_URL, APP_PATH))]), - Li([A('colour-science.org', href='http://colour-science.org')]), + Li([ + A('Permalink', + href=urlparse.urljoin(SERVER_URL, APP_PATH), + target='_blank') + ]), + Li([ + A('colour-science.org', + href='http://colour-science.org', + target='_blank') + ]), ], className='list-inline text-center'), ], diff --git a/apps/rgb_colourspace_models_transformation_matrix.py b/apps/rgb_colourspace_models_transformation_matrix.py index 8c408b0..16bb650 100644 --- a/apps/rgb_colourspace_models_transformation_matrix.py +++ b/apps/rgb_colourspace_models_transformation_matrix.py @@ -116,8 +116,16 @@ className='app-output'), Ul([ Li([Link('Back to index...', href='/')]), - Li([A('Permalink', href=urlparse.urljoin(SERVER_URL, APP_PATH))]), - Li([A('colour-science.org', href='http://colour-science.org')]), + Li([ + A('Permalink', + href=urlparse.urljoin(SERVER_URL, APP_PATH), + target='_blank') + ]), + Li([ + A('colour-science.org', + href='http://colour-science.org', + target='_blank') + ]), ], className='list-inline text-center'), ], diff --git a/index.py b/index.py index 6d4b532..044c3e9 100644 --- a/index.py +++ b/index.py @@ -8,7 +8,7 @@ from dash.dependencies import Input, Output from dash_core_components import Link, Location, Markdown -from dash_html_components import Div, H3 +from dash_html_components import A, Div, H3, P import apps.rgb_colourspace_models_transformation_matrix as app_1 import apps.rgb_colourspace_models_chromatically_adapted_primaries as app_2 @@ -53,10 +53,15 @@ def load_app(app): return Div( [ Div([ - Markdown( - 'Various colour science ' - '[Dash](https://dash.plot.ly/) apps built on top of ' - '[Colour](https://github.com/colour-science/colour).'), + P([ + 'Various colour science ', + A('Dash', + href='https://dash.plot.ly/', + target='_blank'), ' apps built on top of \n', + A('Colour', + href='https://github.com/colour-science/colour', + target='_blank'), '.' + ]), H3([Link(app_1.APP_NAME, href=app_1.APP_PATH)]), Markdown(app_1.APP_DESCRIPTION.replace('This app c', 'C')), H3([Link(app_2.APP_NAME, href=app_2.APP_PATH)]),