Skip to content

Commit

Permalink
commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
zarakkhan209 committed Dec 26, 2023
1 parent 7f05697 commit c1ba543
Show file tree
Hide file tree
Showing 17 changed files with 1,286 additions and 278 deletions.
2 changes: 1 addition & 1 deletion baseTemplate/templates/baseTemplate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
<div class="scroll-sidebar">
<ul id="sidebar-menu">
<li class="header"><span>{% trans "Overview ABC" %}</span>
<a href="{% url 'exampleZarak' %}">Example Page</a>
<a href="{% url 'dashboardV2' %}">Cyber Panel V2</a>

</li>
<li>
Expand Down
10 changes: 5 additions & 5 deletions baseTemplate/templates/baseTemplate/newBase.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<p class="text-white text-sm font-semibold">65.108.159.129</p>
</button>
<a href="{% url 'exampleZarak' %}"
<a href="{% url 'dashboardV2' %}"
class="flex justify-start items-center space-x-6 hover:text-white focus:bg-cyan-400 focus:text-white hover:bg-cyan-400 text-gray-400 rounded px-3 py-1 w-full md:w-52">

<svg width="24" height="24" viewBox="0 0 40 40" fill="white"
Expand Down Expand Up @@ -328,7 +328,7 @@
</div>
<ul id="dropdown-example-2" class="hidden py-2 space-y-2">
<li>
<a href="#"
<a href="{% url 'createWordpressV2' %}"
class="flex items-center w-full text-base font-normal text-white transition duration-75 rounded-lg group hover:bg-cyan-400 dark:text-white dark:hover:bg-gray-700 pl-11">
Deploy Wordpress</a>
</li>
Expand Down Expand Up @@ -426,17 +426,17 @@
List Sub-Domains</a>
</li>
<li>
<a href="#"
<a href="{% url 'modifyWebsiteV2' %}"
class="flex items-center w-full text-base font-normal text-white transition duration-75 rounded-lg group hover:bg-cyan-400 dark:text-white dark:hover:bg-gray-700 pl-11">
Modify Website</a>
</li>
<li>
<a href="#"
<a href="{% url 'siteStateV2' %}"
class="flex items-center w-full text-base font-normal text-white transition duration-75 rounded-lg group hover:bg-cyan-400 dark:text-white dark:hover:bg-gray-700 pl-11">
Suspend/Unsuspend</a>
</li>
<li>
<a href="#"
<a href="{% url 'deleteWebsiteV2' %}"
class="flex items-center w-full text-base font-normal text-white transition duration-75 rounded-lg group hover:bg-cyan-400 dark:text-white dark:hover:bg-gray-700 pl-11">
Delete Website</a>
</li>
Expand Down
14 changes: 7 additions & 7 deletions baseTemplate/templates/baseTemplate/visionManagementV2.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
<p class="text-xl font-semibold">CyberPanel</p>
<div class="py-6">
<div class="border border-gray-300 shadow-lg rounded-lg px-6 py-4">
<table class="flex">
<table class="flex overflow-x-auto">
<thead>
<tr class="flex justify-start mb-2">
<tr class="flex justify-start mb-2 w-32">
<th>Current Version:</th>
</tr>
<tr class="flex justify-start mb-2">
<tr class="flex justify-start mb-2 w-32">
<th>Build:</th>
</tr>
<tr class="flex justify-start mb-2">
<tr class="flex justify-start mb-2 w-32">
<th>Current Commit:</th>
</tr>
<tr class="flex justify-start mb-2">
<tr class="flex justify-start mb-2 w-32">
<th>Latest Version:</th>
</tr>
<tr class="flex justify-start mb-2">
<tr class="flex justify-start mb-2 w-32">
<th>Current Biuld:</th>
</tr>
<tr class="flex justify-start mb-2">
<tr class="flex justify-start mb-2 w-32">
<th>Current Version:</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion baseTemplate/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
url(r'^getLoadAverage',views.getLoadAverage, name='getLoadAverage'),
url(r'^versionManagment',views.versionManagment, name='versionManagment'),
url(r'^design', views.design, name='design'),
url(r'^exampleZarak', views.exampleZarak, name='exampleZarak'),
url(r'^dashboardV2', views.dashboardV2, name='dashboardV2'),
url(r'^visionManagementV2', views.visionManagementV2, name='visionManagementV2'),

url(r'^getthemedata', views.getthemedata, name='getthemedata'),
Expand Down
4 changes: 2 additions & 2 deletions baseTemplate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def renderBase(request):
proc = httpProc(request, template, finaData)
return proc.render()

def exampleZarak(request):
template = 'baseTemplate/example.html'
def dashboardV2(request):
template = 'baseTemplate/dashboardV2.html'
proc = httpProc(request, template)
return proc.render()

Expand Down
Loading

0 comments on commit c1ba543

Please sign in to comment.