mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
82 lines
2.9 KiB
HTML
Executable File
82 lines
2.9 KiB
HTML
Executable File
{% extends "baseTemplate/index.html" %}
|
||
{% load i18n %}
|
||
{% block title %}{% trans "Issue SSL For Hostname - CyberPanel" %}{% endblock %}
|
||
{% block content %}
|
||
|
||
{% load static %}
|
||
{% get_current_language as LANGUAGE_CODE %}
|
||
<!-- Current language: {{ LANGUAGE_CODE }} -->
|
||
|
||
|
||
<div class="container">
|
||
<div id="page-title">
|
||
<h2>{% trans "Issue SSL For Hostname" %} - <a target="_blank" href="http://go.cyberpanel.net/hostname-ssl" style="height: 23px;line-height: 21px;" class="btn btn-border btn-alt border-red btn-link font-red" title=""><span>{% trans "SSL Docs" %}</span></a></h2>
|
||
<p>{% trans "Let’s Encrypt SSL for hostname to access CyberPanel on verified SSL." %}</p>
|
||
</div>
|
||
|
||
<div ng-controller="sslIssueForHostNameCtrl" class="panel">
|
||
<div class="panel-body">
|
||
<h3 class="content-box-header">
|
||
{% trans "Issue SSL For Hostname" %} <img ng-hide="manageSSLLoading" src="{% static 'images/loading.gif' %}">
|
||
</h3>
|
||
<div class="example-box-wrapper">
|
||
|
||
|
||
<form action="/" class="form-horizontal bordered-row panel-body">
|
||
|
||
|
||
<div class="form-group">
|
||
<label class="col-sm-3 control-label">{% trans "Select Website" %}</label>
|
||
<div class="col-sm-6">
|
||
<select ng-change="showbtn()" ng-model="virtualHost" class="form-control">
|
||
{% for items in websiteList %}
|
||
<option>{{ items }}</option>
|
||
{% endfor %}
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<div ng-hide="issueSSLBtn" class="form-group">
|
||
<label class="col-sm-3 control-label"></label>
|
||
<div class="col-sm-4">
|
||
<button type="button" ng-click="issueSSL()" class="btn btn-primary btn-lg">{% trans "Issue SSL" %}</button>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div class="form-group">
|
||
<label class="col-sm-3 control-label"></label>
|
||
<div class="col-sm-6">
|
||
<div ng-hide="canNotIssue" class="alert alert-danger">
|
||
<p>{% trans "Cannot issue SSL. Error message:" %} {$ errorMessage $}</p>
|
||
</div>
|
||
|
||
<div ng-hide="sslIssued" class="alert alert-success">
|
||
<p>{% trans "SSL Issued. You can now access CyberPanel at:" %} <strong>https://{$ sslDomain $}:8090</strong></p>
|
||
</div>
|
||
|
||
<div ng-hide="couldNotConnect" class="alert alert-success">
|
||
<p>{% trans "SSL Issued. You can now access CyberPanel at:" %} <strong>https://"domain":8090</strong></p>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
</div>
|
||
|
||
|
||
</form>
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
{% endblock %}
|