mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-15 12:02:06 +01:00
67 lines
2.6 KiB
HTML
Executable File
67 lines
2.6 KiB
HTML
Executable File
{% extends "baseTemplate/index.html" %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans "Change CyberPanel Access Port - 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 "CyberPanel Port" %}</h2>
|
|
<p>{% trans "On this page you can change CyberPanel port. Once port is change you will not be able to access this page, kindly open CyberPanel via new port." %}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="panel panel-body">
|
|
<div ng-controller="changePort" class="example-box-wrapper">
|
|
<div class="panel-body">
|
|
<h3 class="content-box-header">
|
|
{% trans "Change CyberPanel Port" %} <img ng-hide="cyberpanelLoading"
|
|
src="/static/images/loading.gif">
|
|
</h3>
|
|
|
|
<div class="content-box-wrapper">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
|
|
<form action="/" class="form-horizontal bordered-row">
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">{% trans "Port" %}</label>
|
|
<div class="col-sm-6" ng-init="port={{ port }}">
|
|
<input name="port" type="text" class="form-control" ng-model="port"
|
|
required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label"></label>
|
|
<div class="col-sm-4">
|
|
<button type="button" ng-click="changeCPPort()"
|
|
class="btn btn-primary btn-lg">{% trans "Change" %}</button>
|
|
|
|
</div>
|
|
<div class="col-sm-4">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|