File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =" app" >
3
3
<router-link to =" /" ><img src =" /static/logo-large.png" class =" logo" ></router-link >
4
- <a href = " /admin " class =" admin" >Admin</a >
4
+ <router-link to = " login " class =" admin" >Admin</router-link >
5
5
<router-view />
6
6
<footer >
7
7
Powered by <a href =" https://pogoapp.net" >Pogo</a >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" hello" >
3
+ <h3 >Login to Pogo LAUNCHPAD</h3 >
4
+ <form action =" login" method =" post" class =" setupform" >
5
+ <label for =" username" >Username</label >
6
+ <input type =" text" id =" podcastname" name =" username" >
7
+ <label for =" userpassword" >Password</label >
8
+ <input type =" password" id =" podcasthost" name =" password" >
9
+ <input type =" submit" value =" Submit" >
10
+ </form >
11
+ </div >
12
+ </template >
13
+ <script >
14
+ export default {
15
+ name: ' Login'
16
+ }
17
+ </script >
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import Vue from 'vue'
2
2
import Router from 'vue-router'
3
3
import EpisodeList from '@/components/EpisodeList'
4
4
import Episode from '@/components/Episode'
5
+ import Login from '@/components/Login'
5
6
6
7
Vue . use ( Router )
7
8
@@ -15,6 +16,10 @@ export default new Router({
15
16
{
16
17
path : '/e/:id' ,
17
18
component : Episode
19
+ } ,
20
+ {
21
+ path : '/login' ,
22
+ component : Login
18
23
}
19
24
]
20
25
} )
You can’t perform that action at this time.
0 commit comments