1afc8a799Smiramurali23<loader loading="loading"></loader> 2c15f66b0SDixsie Wolmers<div id="configuration-cert" class="page"> 3c15f66b0SDixsie Wolmers <h1 class="page-title">SSL certificates</h1> 4c15f66b0SDixsie Wolmers <section class="section"> 5c15f66b0SDixsie Wolmers <div class="section-content"> 6c15f66b0SDixsie Wolmers <div ng-repeat="certificate in certificates | filter:{isExpiring:true}"> 7c15f66b0SDixsie Wolmers <div class="alert alert-warning" role="alert"> 8afc8a799Smiramurali23 <icon file="icon-warning.svg" aria-hidden="true"></icon> 9c15f66b0SDixsie Wolmers The uploaded {{ certificate.name }} is expiring in 10c15f66b0SDixsie Wolmers {{ getDays(certificate.ValidNotAfter) === 0 11c15f66b0SDixsie Wolmers ? "less than one day!" 12c15f66b0SDixsie Wolmers : getDays(certificate.ValidNotAfter) + " days!" }} 13c15f66b0SDixsie Wolmers Consider replacing it with a new certificate. 14afc8a799Smiramurali23 </div> 15afc8a799Smiramurali23 </div> 16c15f66b0SDixsie Wolmers <div ng-repeat="certificate in certificates | filter:{isExpired:true}"> 17c15f66b0SDixsie Wolmers <div class="alert alert-danger" role="alert"> 18c15f66b0SDixsie Wolmers <icon file="icon-critical.svg" aria-hidden="true"></icon> 19c15f66b0SDixsie Wolmers The uploaded {{ certificate.name }} has expired! Consider replacing it 20c15f66b0SDixsie Wolmers with a new certificate. 21afc8a799Smiramurali23 </div> 22afc8a799Smiramurali23 </div> 23c15f66b0SDixsie Wolmers </div> 24c15f66b0SDixsie Wolmers </section> 25c15f66b0SDixsie Wolmers <section class="section"> 26c15f66b0SDixsie Wolmers <div class="section-content"> 27c15f66b0SDixsie Wolmers <button 28c15f66b0SDixsie Wolmers type="button" 29c15f66b0SDixsie Wolmers class="btn btn-tertiary" 30c15f66b0SDixsie Wolmers ng-disabled="availableCertificateTypes.length === 0" 31c15f66b0SDixsie Wolmers ng-click="addCertModal()"> 32c15f66b0SDixsie Wolmers <icon class="icon-add" file="icon-plus.svg" aria-hidden="true"></icon> 33afc8a799Smiramurali23 Add new certificate 34afc8a799Smiramurali23 </button> 35c15f66b0SDixsie Wolmers <button type="button" class="btn btn-tertiary" ng-click="addCsrModal()"> 36c15f66b0SDixsie Wolmers <icon class="icon-add" file="icon-plus.svg" aria-hidden="true"></icon> 37afc8a799Smiramurali23 Generate CSR 38afc8a799Smiramurali23 </button> 39afc8a799Smiramurali23 </div> 40c15f66b0SDixsie Wolmers <!-- TODO: Replace table with resusable table component --> 41c15f66b0SDixsie Wolmers <div class="section-content certificate__table"> 42afc8a799Smiramurali23 <div class="table__row-header"> 43*f70f4255SZbigniew Kurzynski <div class="row"> 44afc8a799Smiramurali23 <div class="certificate__type-header"> 45afc8a799Smiramurali23 Certificate 46afc8a799Smiramurali23 </div> 47afc8a799Smiramurali23 <div class="certificate__issue-header"> 48afc8a799Smiramurali23 Issued by 49afc8a799Smiramurali23 </div> 50afc8a799Smiramurali23 <div class="certificate__issue-header"> 51afc8a799Smiramurali23 Issued to 52afc8a799Smiramurali23 </div> 53afc8a799Smiramurali23 <div class="certificate__date-header"> 54afc8a799Smiramurali23 Valid from 55afc8a799Smiramurali23 </div> 56c15f66b0SDixsie Wolmers <div class="certificate__status-header"></div> 57afc8a799Smiramurali23 <div class="certificate__date-header"> 58afc8a799Smiramurali23 Valid until 59afc8a799Smiramurali23 </div> 60*f70f4255SZbigniew Kurzynski <div class="certificate__actions-header"> 61*f70f4255SZbigniew Kurzynski Actions 62*f70f4255SZbigniew Kurzynski </div> 63afc8a799Smiramurali23 </div> 64afc8a799Smiramurali23 </div> 65c15f66b0SDixsie Wolmers <div ng-if="certificates.length < 1" class="empty__logs"> 66c15f66b0SDixsie Wolmers There have been no certificates added. 67c15f66b0SDixsie Wolmers </div> 68afc8a799Smiramurali23 <div ng-repeat="certificate in certificates"> 69c15f66b0SDixsie Wolmers <certificate cert="certificate" reload="loadCertificates()"></certificate> 70afc8a799Smiramurali23 </div> 71afc8a799Smiramurali23 </div> 72afc8a799Smiramurali23 </section> 73afc8a799Smiramurali23</div> 74