Overview
Comment:N'appliquer l'image de fond que pour screen, pas pour l'impression
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: bc87bdd6e39540ccc1d5e73411c0454c00fc543e
User & Date: bohwaz on 2019-04-08 15:18:51
Other Links: manifest | tags
Context
2019-04-08
15:25
Cacher les actions à l'impression check-in: 9ab3fc4dc7 user: bohwaz tags: trunk, stable
15:18
N'appliquer l'image de fond que pour screen, pas pour l'impression check-in: bc87bdd6e3 user: bohwaz tags: trunk, stable
2019-03-26
09:48
Corriger migration depuis version 0.7.6 (il faudrait versionner les schémas) check-in: 5a5a1a12ad user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Template.php from [8c533ffbc9] to [12d899a4cb].

242
243
244
245
246
247
248

249
250

251
252
253
254
255
256
257

		$out = '
		<style type="text/css">
		:root {
			--gMainColor: %s;
			--gSecondColor: %s;
		}

		.header .menu, body {
			background-image: url("%s");

		}
		</style>';

		return sprintf($out, $couleur1, $couleur2, $image_fond);
	}

	protected function displayChampMembre($v, $config)







>
|
|
>







242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259

		$out = '
		<style type="text/css">
		:root {
			--gMainColor: %s;
			--gSecondColor: %s;
		}
		@media screen, handheld {
			.header .menu, body {
				background-image: url("%s");
			}
		}
		</style>';

		return sprintf($out, $couleur1, $couleur2, $image_fond);
	}

	protected function displayChampMembre($v, $config)