mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
update build number
This commit is contained in:
@@ -5,7 +5,7 @@ class CLMain():
|
|||||||
self.path = '/usr/local/CyberCP/version.txt'
|
self.path = '/usr/local/CyberCP/version.txt'
|
||||||
#versionInfo = json.loads(open(self.path, 'r').read())
|
#versionInfo = json.loads(open(self.path, 'r').read())
|
||||||
self.version = '2.0'
|
self.version = '2.0'
|
||||||
self.build = '3'
|
self.build = '4'
|
||||||
|
|
||||||
ipFile = "/etc/cyberpanel/machineIP"
|
ipFile = "/etc/cyberpanel/machineIP"
|
||||||
f = open(ipFile)
|
f = open(ipFile)
|
||||||
|
|||||||
@@ -125,6 +125,28 @@
|
|||||||
class="btn btn-primary">{% trans "Add Site" %}</button>
|
class="btn btn-primary">{% trans "Add Site" %}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div ng-hide="driveHidden" class="form-group">
|
||||||
|
<div class="col-sm-12">
|
||||||
|
<table style="margin-top: 2%" class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Sites</th>
|
||||||
|
<th>Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr ng-repeat="website in websites track by $index">
|
||||||
|
<td ng-bind="website.name"></td>
|
||||||
|
<td>
|
||||||
|
<button type="button" ng-click="deleteSite(website.name)"
|
||||||
|
class="btn btn-danger">{% trans "Delete" %}</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div ng-hide="driveHidden" class="form-group">
|
<div ng-hide="driveHidden" class="form-group">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div style="margin-left: 2%" class="col-sm-3">
|
<div style="margin-left: 2%" class="col-sm-3">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from plogical.processUtilities import ProcessUtilities
|
|||||||
# Create your views here.
|
# Create your views here.
|
||||||
|
|
||||||
VERSION = '2.0'
|
VERSION = '2.0'
|
||||||
BUILD = 3
|
BUILD = 4
|
||||||
|
|
||||||
@ensure_csrf_cookie
|
@ensure_csrf_cookie
|
||||||
def renderBase(request):
|
def renderBase(request):
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ from stat import *
|
|||||||
import stat
|
import stat
|
||||||
|
|
||||||
VERSION = '2.0'
|
VERSION = '2.0'
|
||||||
BUILD = 3
|
BUILD = 4
|
||||||
|
|
||||||
char_set = {'small': 'abcdefghijklmnopqrstuvwxyz',
|
char_set = {'small': 'abcdefghijklmnopqrstuvwxyz',
|
||||||
'nums': '0123456789',
|
'nums': '0123456789',
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ from django.utils import translation
|
|||||||
# Create your views here.
|
# Create your views here.
|
||||||
|
|
||||||
VERSION = '2.0'
|
VERSION = '2.0'
|
||||||
BUILD = 3
|
BUILD = 4
|
||||||
|
|
||||||
def verifyLogin(request):
|
def verifyLogin(request):
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ except:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
VERSION = '2.0'
|
VERSION = '2.0'
|
||||||
BUILD = 3
|
BUILD = 4
|
||||||
|
|
||||||
|
|
||||||
## I am not the monster that you think I am..
|
## I am not the monster that you think I am..
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import random
|
|||||||
import string
|
import string
|
||||||
|
|
||||||
VERSION = '2.0'
|
VERSION = '2.0'
|
||||||
BUILD = 3
|
BUILD = 4
|
||||||
|
|
||||||
CENTOS7 = 0
|
CENTOS7 = 0
|
||||||
CENTOS8 = 1
|
CENTOS8 = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user