stable
Clone or download
Read-only
Bootstrap the background selection by displaying available backgrounds in project admin. A preview of each background is displayed as well as its label and the author. While the backgrouds can be selected, the settings cannot be saved yet, it will be done in a dedicated changeset. Part of story #16211 Set a header background image Change-Id: I01142341ee0d5ff8a860e3c534614e8dfaec742a
Modified Files
Name | ||||
---|---|---|---|---|
M | .stylelintrc.js | +2 | −1 | Go to diff View file |
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +20 | −1 | Go to diff View file |
M | src/common/Project/Admin/Navigation/NavigationPresenterBuilder.php | +6 | −0 | Go to diff View file |
A | src/common/Project/ProjectBackground/NoProjectBackground.php | +34 | −0 | Go to diff View file |
A | src/common/Project/ProjectBackground/ProjectBackground.php | +57 | −0 | Go to diff View file |
A | src/common/Project/ProjectBackground/ProjectBackgroundAdministrationController.php | +95 | −0 | Go to diff View file |
A | src/common/Project/ProjectBackground/ProjectBackgroundAdministrationPresenter.php | +42 | −0 | Go to diff View file |
A | src/common/Project/ProjectBackground/ProjectBackgroundRetriever.php | +60 | −0 | Go to diff View file |
M | src/common/Request/RouteCollector.php | +7 | −0 | Go to diff View file |
A | src/templates/project/admin/background/administration.mustache | +42 | −0 | Go to diff View file |
M | src/themes/BurningParrot/css/includes/_project-background.scss | +85 | −0 | Go to diff View file |
A | src/themes/common/css/project-background/_background.scss | +54 | −0 | Go to diff View file |
M | src/themes/common/css/project-background/beach.scss | +3 | −4 | Go to diff View file |
M | src/themes/common/css/project-background/bridge.scss | +3 | −4 | Go to diff View file |
M | src/themes/tlp/src/scss/components/_cards.scss | +1 | −1 | Go to diff View file |
A | src/themes/tlp/src/scss/variables/_radius.scss | +20 | −0 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-blue-condensed.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-blue.scss | +1 | −5 | Go to diff View file |
A | src/themes/tlp/src/scss/variables/variables-common.scss | +25 | −0 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-green-condensed.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-green.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-grey-condensed.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-grey.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-orange-condensed.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-orange.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-purple-condensed.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-purple.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-red-condensed.scss | +2 | −6 | Go to diff View file |
M | src/themes/tlp/src/scss/variables/variables-red.scss | +2 | −6 | Go to diff View file |
A | tests/unit/common/Project/ProjectBackground/ProjectBackgroundRetrieverTest.php | +71 | −0 | Go to diff View file |