Introduce for hx and buttons
Change-Id: I1f85548b1e39de13ca6474c8d29d10f502e0ee9f
diff --git a/config.php.example b/config.php.example
index bd4cc3f..cef86ee 100755
--- a/config.php.example
+++ b/config.php.example
@@ -23,6 +23,7 @@
$SERVICE_URL = "https://www.example.org";
$SERVICE_LOGO = "./static/Test_Logo.svg";
$SERVICE_NAME = "International Test Corpus";
+$SERVICE_COLOR = "#FF973A";
$REGULAR_CONFERENCE_FEE = 280;
$EARLYBIRD_CONFERENCE_FEE = 240;
diff --git a/templates/header.htm b/templates/header.htm
index ec1372d..02ede2d 100644
--- a/templates/header.htm
+++ b/templates/header.htm
@@ -22,6 +22,13 @@
.form-check-label {
margin-left: 1ex;
}
+ h1, h2, h3 {
+ color: <?php echo $SERVICE_COLOR; ?>;
+ }
+ .btn-primary {
+ background-color: <?php echo $SERVICE_COLOR; ?>;
+ border-color: <?php echo $SERVICE_COLOR; ?>;
+ }
</style>
</head>
diff --git a/templates/register.htm b/templates/register.htm
index a8c6a77..d6e14b1 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -685,7 +685,7 @@
<?php endif; ?>
<!-- Submit button -->
- <button name="type" value="register" type="submit" class="btn btn-primary float-right fs-3 fw-bold" style="border: #42b23cff; background-color: #42b23cff;">Register for <?php echo $SERVICE_ACRONYM; ?></button>
+ <button name="type" value="register" type="submit" class="btn btn-primary float-right fs-3 fw-bold">Register for <?php echo $SERVICE_ACRONYM; ?></button>
</form>
</div>
\ No newline at end of file