No sé qué estoy haciendo :v
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" href="./src/img/escudo-unam.ico">
|
||||
<title>censo</title>
|
||||
<title>Censo</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -6,6 +6,11 @@ import User from './views/User.vue'
|
||||
import AddEquip from './views/AddEquip.vue'
|
||||
|
||||
const routes = [{
|
||||
path: '/',
|
||||
component: Login,
|
||||
name: 'login'
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
component: Login,
|
||||
name: 'login'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Estás en addEquip.</h1>
|
||||
<h1 class="serv-title m-4 text-center">Agregar un equipo</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
+3
-1
@@ -60,7 +60,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
register () {
|
||||
console.log(this.user, this.password);
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
+4
-4
@@ -7,14 +7,14 @@
|
||||
<span class="text-white mr-3 my-auto mr-md-4">Nombre de Usuario</span>
|
||||
<div>
|
||||
<!-- <router-link to="login" class="text-white align-middle">Añadir equipo</router-link> -->
|
||||
<b-dropdown id="dropdown-left" text="Añadir" variant="info" class="m-2">
|
||||
<b-dropdown-item> <router-link to="#" class="text-decoration-none text-body"> Computadora </router-link></b-dropdown-item>
|
||||
<b-dropdown-item> <router-link to="#" class="text-decoration-none text-body"> Impresora </router-link></b-dropdown-item>
|
||||
<b-dropdown id="dropdown-left" text="Añadir " variant="info" class="m-2">
|
||||
<b-dropdown-item> <router-link to="addEquip" class="text-decoration-none text-body"> Computadora </router-link></b-dropdown-item>
|
||||
<b-dropdown-item> <router-link to="addPrinter" class="text-decoration-none text-body"> Impresora </router-link></b-dropdown-item>
|
||||
</b-dropdown>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-auto">
|
||||
<a href="#">
|
||||
<a href="/">
|
||||
<span class="badge badge-danger py-2 px-3" style="font-size:14px">Cerrar sesión</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user