This repository was archived by the owner on Mar 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Gatekeeper.Client/Pages/Admin/Settings/TabView Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@inject AuthServer .Shared .Admin .LetsEncrypt .LetsEncryptClient LetsEncryptClient
22
3- <p class =" mt-2 font-weight-bold" >Managed certificates:</p >
4- <div class =" table-responsive my-2" >
5- <table class =" table table-striped table-hover table-bordered mb-4 table-secondary" >
6- <thead class =" bg-secondary-dark" >
7- <tr >
8- <th scope =" col" >Domain</th >
9- <th scope =" col" >Last issued</th >
10- </tr >
11- </thead >
12- <tbody >
13- @if (_certificateListReply != null ) {
14- foreach (var certificate in _certificateListReply .Certificates ) {
15- < tr >
16- < td > @certificate .Domain < / td >
17- < td > @certificate .LastIssued < / td >
18- < / tr >
19- }
3+ @if (_certificateListReply != null && _certificateListReply .Certificates .Count != 0 ) {
4+ < div class = " d-flex flex-column simple-card my-4 p-4" >
5+ < div class = " d-flex flex-row font-weight-bold" >
6+ < p class = " col-6" > Domain < / p >
7+ < p class = " col-6" > Certificate < / p >
8+ < / div >
9+ @foreach (var certificate in _certificateListReply .Certificates ) {
10+ < div class = " d-flex flex-row" >
11+ < p class = " col-6" > @certificate .Domain < / p >
12+ < p class = " col-6" > @certificate .LastIssued < / p >
13+ < / div >
2014 }
21- </tbody >
22- </table >
23- </div >
15+ < / div >
16+ }
2417
2518@code {
2619 private AuthServer .Shared .Admin .CertificateListReply ? _certificateListReply ;
You can’t perform that action at this time.
0 commit comments