Skip to content

Commit

Permalink
Convert VerifyMain to VerifyTabPage
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Dec 26, 2023
1 parent 437a887 commit f399617
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="verify-main">
<div class="tab-page verify-tab-page">
<a href="#" class="verify-icon" v-on:click="verifyClicked">Verify OTA package signature</a>
<form ref="form">
<input type="file" ref="input" style="display: none;" />
Expand Down Expand Up @@ -36,7 +36,9 @@ export default {
</script>

<style scoped>
.verify-main {
@import '../../css/tab-page.css';
.verify-tab-page {
display: flex;
align-items: center;
justify-content: center;
Expand Down
16 changes: 6 additions & 10 deletions src/js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ChangesTabPage from '../components/changes-tab/ChangesTabPage.vue';
import DeviceMain from '../components/device-main/DeviceMain.vue';
import Builds from '../components/builds-tab/BuildsTabPage.vue';
import ErrorMain from '../components/error-main/ErrorMain.vue';
import VerifyMain from '../components/verify-main/VerifyMain.vue';
import VerifyTabPage from '../components/verify-main/VerifyTabPage.vue';
import DevicesTabPage from '../components/devices-tab/DevicesTabPage.vue';
import MediaQueryUtils from './MediaQueryUtils';

Expand Down Expand Up @@ -47,6 +47,11 @@ const router = createRouter({
path: 'changes',
name: 'home_changes',
component: ChangesTabPage,
},
{
path: 'verify',
name: 'home_verify',
component: VerifyTabPage,
}
],
},
Expand Down Expand Up @@ -113,15 +118,6 @@ const router = createRouter({
main: ErrorMain,
},
},
{
path: '/verify',
name: 'verify',
props: true,
components: {
sidebar: Sidebar,
main: VerifyMain,
},
},
{
path: '/:pathMatch(.*)*',
name: '404',
Expand Down

0 comments on commit f399617

Please sign in to comment.