update build number

This commit is contained in:
Usman Nasir
2020-09-22 12:18:23 +05:00
parent bbd9724d78
commit 2440d471ca
7 changed files with 28 additions and 6 deletions

View File

@@ -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)

View File

@@ -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">

View File

@@ -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):

View File

@@ -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',

View File

@@ -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:

View File

@@ -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..

View File

@@ -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