mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Support subpath deployment
- Make css font reference relative - Fix cover image loading error
This commit is contained in:
parent
b20408cde0
commit
bfb0c05e83
4 changed files with 22 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
@import url("/css/reset.css") print, screen;
|
@import url("../../../css/reset.css") print, screen;
|
||||||
|
|
||||||
.board-list {
|
.board-list {
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ template(name="minicard")
|
||||||
else
|
else
|
||||||
a.fa.fa-navicon.minicard-details-menu.js-open-minicard-details-menu(title="{{_ 'cardDetailsActionsPopup-title'}}")
|
a.fa.fa-navicon.minicard-details-menu.js-open-minicard-details-menu(title="{{_ 'cardDetailsActionsPopup-title'}}")
|
||||||
if cover
|
if cover
|
||||||
.minicard-cover(style="background-image: url('{{cover.link 'original' '/'}}?dummyReloadAfterSessionEstablished={{sess}}');")
|
.minicard-cover(style="background-image: url('{{cover.link 'original'}}?dummyReloadAfterSessionEstablished={{sess}}');")
|
||||||
if labels
|
if labels
|
||||||
.minicard-labels(class="{{#if hiddenMinicardLabelText}}minicard-labels-no-text{{/if}}")
|
.minicard-labels(class="{{#if hiddenMinicardLabelText}}minicard-labels-no-text{{/if}}")
|
||||||
each labels
|
each labels
|
||||||
|
|
|
||||||
|
|
@ -2,29 +2,29 @@
|
||||||
font-family: 'Roboto';
|
font-family: 'Roboto';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Roboto'), local('Roboto-Regular'), url("/fonts/roboto-regular.woff2") format('woff2'), url("/fonts/roboto-regular.woff") format('woff');
|
src: local('Roboto'), local('Roboto-Regular'), url("../../../roboto-regular.woff2") format('woff2'), url("../../../roboto-regular.woff") format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Roboto';
|
font-family: 'Roboto';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: local('Roboto Bold'), local('Roboto-Bold'), url("/fonts/roboto-bold.woff2") format('woff2'), url("/fonts/roboto-bold.woff") format('woff');
|
src: local('Roboto Bold'), local('Roboto-Bold'), url("../../../roboto-bold.woff2") format('woff2'), url("../../../roboto-bold.woff") format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Poppins'), local('Poppins-Regular'), url("/fonts/poppins-regular.woff") format('woff');
|
src: local('Poppins'), local('Poppins-Regular'), url("../../../poppins-regular.woff") format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
src: local('Poppins Medium'), local('Poppins-Medium'), url("/fonts/poppins-medium.woff") format('woff');
|
src: local('Poppins Medium'), local('Poppins-Medium'), url("../../../poppins-medium.woff") format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: local('Poppins Bold'), local('Poppins-Bold'), url("/fonts/poppins-bold.woff") format('woff');
|
src: local('Poppins Bold'), local('Poppins-Bold'), url("../../../poppins-bold.woff") format('woff');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,11 @@ meteor add wekan:accounts-cas
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Put CAS settings in Meteor.settings (for example using METEOR_SETTINGS env or --settings) like so:
|
Put CAS settings in Meteor.settings (for example using METEOR_SETTINGS env or
|
||||||
|
--settings) like so:
|
||||||
|
|
||||||
If casVersion is not defined, it will assume you use CAS 1.0. (note by xaionaro: option `casVersion` seems to be just ignored in the code, ATM).
|
If casVersion is not defined, it will assume you use CAS 1.0. (note by
|
||||||
|
xaionaro: option `casVersion` seems to be just ignored in the code, ATM).
|
||||||
|
|
||||||
Server side settings:
|
Server side settings:
|
||||||
|
|
||||||
|
|
@ -46,11 +48,17 @@ Meteor.settings = {
|
||||||
CAS `attributes` settings :
|
CAS `attributes` settings :
|
||||||
|
|
||||||
* `attributes`: by default `{}` : all default values below will apply
|
* `attributes`: by default `{}` : all default values below will apply
|
||||||
* * `debug` : by default `false` ; `true` will print to the server console the CAS attribute names to map, the CAS attributes values retrieved, if necessary the new user account created, and finally the user to use
|
* * `debug` : by default `false` ; `true` will print to the server console the
|
||||||
* * `id` : by default, the CAS user is used for the user account, but you can specified another CAS attribute
|
CAS attribute names to map, the CAS attributes values retrieved, if necessary
|
||||||
* * `firstname` : by default `cas:givenName` ; but you can use your own CAS attribute
|
the new user account created, and finally the user to use
|
||||||
* * `lastname` : by default `cas:sn` (respectively) ; but you can use your own CAS attribute
|
* * `id` : by default, the CAS user is used for the user account, but you can
|
||||||
* * `fullname` : by default unused, but if you specify your own CAS attribute, it will be used instead of the `firstname` + `lastname`
|
specified another CAS attribute
|
||||||
|
* * `firstname` : by default `cas:givenName` ; but you can use your own CAS
|
||||||
|
attribute
|
||||||
|
* * `lastname` : by default `cas:sn` (respectively) ; but you can use your own
|
||||||
|
CAS attribute
|
||||||
|
* * `fullname` : by default unused, but if you specify your own CAS attribute,
|
||||||
|
it will be used instead of the `firstname` + `lastname`
|
||||||
* * `mail` : by default `cas:mail`
|
* * `mail` : by default `cas:mail`
|
||||||
|
|
||||||
Client side settings:
|
Client side settings:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue