Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WAMPAC-UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramaguru Radhakrishnan
WAMPAC-UI
Commits
d68e1777
Commit
d68e1777
authored
3 years ago
by
Ramaguru Radhakrishnan
Browse files
Options
Downloads
Patches
Plain Diff
Alignment Updated
parent
2c8e7f8e
Branches
main
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pages/Home.vue
+353
-381
353 additions, 381 deletions
src/pages/Home.vue
with
353 additions
and
381 deletions
src/pages/Home.vue
+
353
−
381
View file @
d68e1777
...
...
@@ -17,7 +17,6 @@
</div>
<div
class=
"flex flex-wrap -mx-3 mb-20"
>
<div
class=
"w-1/2 xl:w-1/4 px-3"
>
<div
class=
"w-full bg-white border text-blue-400 rounded-lg flex items-center p-6 mb-6 xl:mb-0"
>
<svg
class=
"w-16 h-16 fill-current mr-4 hidden lg:block"
viewBox=
"0 0 20 20"
>
...
...
@@ -28,7 +27,6 @@
<p
class=
"font-semibold text-3xl"
>
{{
fileSharedCount
}}
</p>
<p>
Files Shared
</p>
</div>
</div>
</div>
...
...
@@ -59,7 +57,7 @@
</div>
<div
class=
"w-1/3 xl:w-1/4 px-3"
>
<
div
class=
"w-full bg-white border text-blue-400 rounded-lg flex items-center p-6"
>
<!--
div class="w-full bg-white border text-blue-400 rounded-lg flex items-center p-6">
<svg
class=
"w-16 h-16 fill-current mr-4 hidden lg:block"
viewBox=
"0 0 20 20"
>
<path
d=
"M17.431,2.156h-3.715c-0.228,0-0.413,0.186-0.413,0.413v6.973h-2.89V6.687c0-0.229-0.186-0.413-0.413-0.413H6.285c-0.228,0-0.413,0.184-0.413,0.413v6.388H2.569c-0.227,0-0.413,0.187-0.413,0.413v3.942c0,0.228,0.186,0.413,0.413,0.413h14.862c0.228,0,0.413-0.186,0.413-0.413V2.569C17.844,2.342,17.658,2.156,17.431,2.156 M5.872,17.019h-2.89v-3.117h2.89V17.019zM9.587,17.019h-2.89V7.1h2.89V17.019z M13.303,17.019h-2.89v-6.651h2.89V17.019z M17.019,17.019h-2.891V2.982h2.891V17.019z"
></path>
</svg>
...
...
@@ -68,7 +66,7 @@
<p
class=
"font-semibold text-3xl"
>
{{
systemStatus
}}
</p>
<p>
Latest Log Status
</p>
</div>
</div>
</div
--
>
</div>
</div>
...
...
@@ -85,6 +83,7 @@
</div>
</div>
</div>
<div
class=
"w-full xl:w-1/2 px-3"
>
<p
class=
"text-xl font-semibold mb-4"
>
Anomaly History
</p>
<div
class=
"w-full bg-white border rounded-lg p-4"
>
...
...
@@ -115,10 +114,8 @@
</div>
</div>
</div>
</div>
</div>
...
...
@@ -188,6 +185,7 @@ export default {
.
then
((
response
)
=>
{
this
.
isVerified
=
response
.
data
.
data
.
payload
console
.
log
(
response
);
if
(
response
.
data
.
data
.
payload
==
'
Failure
'
){
console
.
log
(
"
moving to create DID [check]
"
)
this
.
$router
.
push
({
path
:
'
/verification
'
})
...
...
@@ -219,6 +217,7 @@ export default {
});
},
logCount
:
function
()
{
console
.
log
(
"
loading logCount
"
)
...
...
@@ -257,8 +256,7 @@ export default {
data
:
this
.
anomalyChart
.
map
(
i
=>
i
.
count
),
}],
}
}
)
})
})
.
catch
(
function
(
error
)
{
console
.
log
(
error
);
...
...
@@ -297,7 +295,6 @@ export default {
});
},
checkRole
:
function
()
{
axios
.
get
(
'
http://localhost:1898/checkRole
'
)
.
then
((
response
)
=>
{
...
...
@@ -318,11 +315,6 @@ export default {
.
then
((
response
)
=>
{
console
.
log
(
response
)
// if(response.data.data.payload.balance == null) {
// console.log("moving to create DID [getDashboard]")
// this.$router.push({path: '//create-new-DID'})
// }
this
.
contactsCount
=
response
.
data
.
data
.
payload
.
contactsCount
this
.
did
=
response
.
data
.
data
.
payload
.
did
})
...
...
@@ -385,31 +377,11 @@ export default {
console
.
log
(
error
);
});
},
// scanNowFn: function () {
// this.$modal.show('system-scan-modal');
// this.open = true
// console.log("loading scanNow")
// axios.get('http://localhost:1898/scanNow')
// .then((response) => {
// this.scanNow = response.data.data.payload
// })
// .catch(function (error) {
// console.log(error);
// });
// },
},
beforeMount
()
{
this
.
checkStatus
()
},
// mounted() {
// this.createChart();
// console.log("mounted");
// }
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment