Mercurial > kallithea
annotate package.json @ 7131:33bd2aa757dd
templates: mark site as IE10+ compatible to bypass Compatibility mode
Internet Explorer 11 (and probably other versions) seems to ship with the
setting "Display intranet sites in Compatibility View" enabled by default.
This compatibility view means that modern elements of CSS and JavaScript are
not (well) support and makes Kallithea look very bad and become unusable.
This is a problem when hosting Kallithea in a corporate environment where
its URL is detected as 'the intranet'.
Solve the issue by explicitly marking Kallithea to be compatible with IE10,
so that Internet Explorer 10 and above will show Kallithea correctly in
Intranet environments.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Tue, 30 Jan 2018 13:57:26 +0100 |
parents | 1969f7dfb6b0 |
children | 6c3bb9a845d7 |
rev | line source |
---|---|
6953
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
1 { |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
2 "name": "kallithea", |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
3 "private": true, |
7057
a9cbc30e19fa
less: build custom Bootstrap from bootstrap.less instead of using plain upstream version
domruf <dominikruf@gmail.com>
parents:
7056
diff
changeset
|
4 "dependencies": { |
a9cbc30e19fa
less: build custom Bootstrap from bootstrap.less instead of using plain upstream version
domruf <dominikruf@gmail.com>
parents:
7056
diff
changeset
|
5 "bootstrap": "3.3.7" |
a9cbc30e19fa
less: build custom Bootstrap from bootstrap.less instead of using plain upstream version
domruf <dominikruf@gmail.com>
parents:
7056
diff
changeset
|
6 }, |
6953
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
7 "devDependencies": { |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
8 "less": "~2.7", |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
9 "less-plugin-clean-css": "~1.5" |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
10 }, |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
11 "scripts": { |
7099
1969f7dfb6b0
move package.json to root directory
domruf <dominikruf@gmail.com>
parents:
7082
diff
changeset
|
12 "less": "lessc --relative-urls kallithea/public/less/main.less kallithea/public/css/style.css" |
6953
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
13 } |
42718729687e
style: use npm less to generate kallithea stylesheet style.css from style.less
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
parents:
diff
changeset
|
14 } |