<h3><?=_Welcome back, ${username}!?></h3>
<h4><?=_Subscriber information?></h4>
-<div class="well">
+
+<? if($certlogininfo) { ?>
+ <? if($certlogin) { ?>
+ <div class="card card-body bg-light">
+ <p><?=_You are authenticated via certificate, so you will be able to perform all actions.?></p>
+ </div>
+ <? } else { ?>
+ <div class="alert alert-warning" role="alert">
+ <p><?=_For some actions, e.g. add verification, support, you need to be authenticated via certificate.?></p>
+ </div>
+ <? } ?>
+<? } ?>
+<? if($catsinfo) { ?>
+ <div class="alert alert-warning" role="alert">
+ <? if($catsra) { ?>
+ <p><?=_To add a verification you need to pass the RA Agent Challenge.?></p>
+ <? } ?>
+ <? if($catssupport) { ?>
+ <p><?=_To act as supporter you need to pass the Support Challenge.?></p>
+ <? } ?>
+ </div>
+<? } ?>
+<div class="card card-body bg-light">
<? if($ra-agent) { ?><p><?=_You are an RA Agent.?></p><? } ?>
<p><?=_Assigned support permissions?>: <?=$support-groups?></p>
<p><?=_Assigned user-managed permissions?>: <?=$groups?> (<?=_!'<a href="/account/details">'more!'</a>'?>)</p>
</div>
<h4><?=_Certificate Information?></h4>
-<div class="well">
+<div class="card card-body bg-light">
<p><?=_${c-no} certificate(s) are issued for your account.?> (<?=_!'<a href="/account/certs">'more!'</a>'?>)</p>
</div>
<h4><?=_Subscribed domains and email addresses?></h4>
-<div class="panel panel-default">
-<div class="panel-heading">
+<div class="card">
+<div class="card-heading bg-light">
<?=_Your account lists the following email addresses?> (<?=_!'<a href="/account/mails">'more!'</a>'?>):
</div>
<table class="table">
</table>
</div>
-<div class="panel panel-default">
-<div class="panel-heading">
+<div class="card">
+<div class="card-heading bg-light">
<?=_Your account lists the following domains?> (<?=_!'<a href="/account/domains">'more!'</a>'?>):
</div>
<? if($nodomains) { ?>
-<div class="panel-body">
+<div class="card-body">
<?=_Currently no domains are registered for your account.?>
</div>
<? } else { ?>
<? if($hasorgs) { ?>
<h4><?=_Organisations?></h4>
-<div class="well">
+<div class="card card-body bg-light">
<p><?=_You are listed as administrator for these organisations?>:</p>
<ul>
<? foreach($orgas) { ?>
<li><?=$orgName?></li>
<? } ?>
</ul>
- <p><?=_!'<a href="/account/details">'change to organisation administrator context!'</a>'?></p>
+ <? if($certlogin) { ?><p><?=_!'<a href="/account/details">'change to organisation administrator context.'</a>'?><? } else { ?><p class="alert alert-warning"><?=_You need to be logged in via certificate to get access to the organisations.?><? } ?></p>
</div>
<? } ?>