From 5b356f3b4c085b20be67c5258fc9190985610b0d Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Thu, 22 Feb 2018 13:34:38 +0100 Subject: [PATCH] use foundation text alignment classes --- resources/css/style.css | 11 ----------- templates/web/en/create_accounts.tt2.html | 4 ++-- templates/web/en/home.tt2.html | 2 +- templates/web/fr/create_accounts.tt2.html | 4 ++-- templates/web/fr/home.tt2.html | 2 +- 5 files changed, 6 insertions(+), 17 deletions(-) diff --git a/resources/css/style.css b/resources/css/style.css index 1a5201a..aaff7ac 100644 --- a/resources/css/style.css +++ b/resources/css/style.css @@ -53,17 +53,6 @@ footer span{ line-height:2rem; } -/* Alignment classes*/ -.align-center{ - text-align:center; -} -.align-right{ - text-align:right; -} -.align-left{ - text-align:left; -} - /* Changes for foundation buttons*/ button, .button{ background:#214BB5; diff --git a/templates/web/en/create_accounts.tt2.html b/templates/web/en/create_accounts.tt2.html index fe08bb5..b7bb9e2 100644 --- a/templates/web/en/create_accounts.tt2.html +++ b/templates/web/en/create_accounts.tt2.html @@ -26,7 +26,7 @@ <td colspan="2"><strong>comment:</strong><div><p>[% account.comment() %]</p></div></td> </tr> <tr> - <td colspan=2 class="align-center" ><button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">show account details</button></td> + <td colspan=2 class="text-center" ><button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">show account details</button></td> </tr> </table> </div> @@ -61,4 +61,4 @@ <p>Note that these test accounts will automatically expire in [% accounts_validity_period %] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[% entityid %]</strong>.</p> </div> -<p class="align-center"><Strong>Thank you for using the [% app.name %]</strong></p> +<p class="text-center"><Strong>Thank you for using the [% app.name %]</strong></p> diff --git a/templates/web/en/home.tt2.html b/templates/web/en/home.tt2.html index ae33711..1c873db 100644 --- a/templates/web/en/home.tt2.html +++ b/templates/web/en/home.tt2.html @@ -9,7 +9,7 @@ federated login. The test accounts can only be used to access own services. <a h <h3>Start testing your eduGAIN service</h3> <p>To start testing your own eduGAIN service, start by selecting the Service Provider you are administrator for.</p> -<p class="align-center"><a href="?action=select_sp" class="button">Go on testing the service</a></p> +<p class="text-center"><a href="?action=select_sp" class="button">Go on testing the service</a></p> <h3>[% app.name %] basics</h3> <p> diff --git a/templates/web/fr/create_accounts.tt2.html b/templates/web/fr/create_accounts.tt2.html index fe08bb5..b7bb9e2 100644 --- a/templates/web/fr/create_accounts.tt2.html +++ b/templates/web/fr/create_accounts.tt2.html @@ -26,7 +26,7 @@ <td colspan="2"><strong>comment:</strong><div><p>[% account.comment() %]</p></div></td> </tr> <tr> - <td colspan=2 class="align-center" ><button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">show account details</button></td> + <td colspan=2 class="text-center" ><button data-open="account_details_[% account.id() %]" class="button show_account_details" id="show_account_details_[% account.id() %]">show account details</button></td> </tr> </table> </div> @@ -61,4 +61,4 @@ <p>Note that these test accounts will automatically expire in [% accounts_validity_period %] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[% entityid %]</strong>.</p> </div> -<p class="align-center"><Strong>Thank you for using the [% app.name %]</strong></p> +<p class="text-center"><Strong>Thank you for using the [% app.name %]</strong></p> diff --git a/templates/web/fr/home.tt2.html b/templates/web/fr/home.tt2.html index c883324..5c17a0f 100644 --- a/templates/web/fr/home.tt2.html +++ b/templates/web/fr/home.tt2.html @@ -7,7 +7,7 @@ federated login. The test accounts can only be used to access own services. <a h </p> <h3>Start testing your eduGAIN service</h3> <p>To start testing your own eduGAIN service, start by selecting the Service Provider you are administrator for.</p> -<p class="align-center"><a href="?action=select_sp" class="button">Go on testing the service</a></p> +<p class="text-center"><a href="?action=select_sp" class="button">Go on testing the service</a></p> <h3>[% app.name %] basics</h3> <p> -- GitLab