-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vueify login page #4634
vueify login page #4634
Changes from 1 commit
9110c18
6fd6134
995fda8
111480b
300915a
01dcfee
be4ea62
30062e3
c205f25
8176d14
c18b974
18ac673
21ac333
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template> | ||
<div class="login"> | ||
<form action="" method="post"> | ||
<h1>Medusa</h1> | ||
<div class="ctrlHolder"><input class="inlay" name="username" type="text" placeholder="Username" autocomplete="off" autocomplete="no" /></div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
<div class="ctrlHolder"><input class="inlay" name="password" type="password" placeholder="Password" autocomplete="off" /></div> | ||
<div class="ctrlHolder"> | ||
<label class="remember_me" title="for 30 days"><input class="inlay" id="remember_me" name="remember_me" type="checkbox" value="1" checked="checked" /> Remember me</label> | ||
<input class="button" name="submit" type="submit" value="Login" /> | ||
</div> | ||
</form> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
module.exports = { | ||
name: 'login' | ||
}; | ||
</script> | ||
|
||
<style> | ||
</style> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ | |
<link rel="stylesheet" type="text/css" href="css/lib/vue-snotify-material.css?${sbPID}"/> | ||
<%block name="css" /> | ||
</head> | ||
<body ${('data-controller="' + controller + '" data-action="' + action + '" api-key="' + app.API_KEY +'" api-root="' + app.WEB_ROOT + '/api/v2/"', '')[title == 'Login']}> | ||
<body ${('data-controller="' + controller + '" data-action="' + action + '" api-key="' + app.API_KEY + '"', '')[title == 'Login']} api-root="${app.WEB_ROOT}/api/v2/"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's expose |
||
<div v-cloak id="vue-wrap" class="container-fluid"> | ||
|
||
<!-- These are placeholders used by the displayShow template. As they transform to full width divs, they need to be located outside the template. --> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template> | ||
<div class="login"> | ||
<form action="" method="post"> | ||
<h1>Medusa</h1> | ||
<div class="ctrlHolder"><input class="inlay" name="username" type="text" placeholder="Username" autocomplete="off" autocomplete="no" /></div> | ||
<div class="ctrlHolder"><input class="inlay" name="password" type="password" placeholder="Password" autocomplete="off" /></div> | ||
<div class="ctrlHolder"> | ||
<label class="remember_me" title="for 30 days"><input class="inlay" id="remember_me" name="remember_me" type="checkbox" value="1" checked="checked" /> Remember me</label> | ||
<input class="button" name="submit" type="submit" value="Login" /> | ||
</div> | ||
</form> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
module.exports = { | ||
name: 'login' | ||
}; | ||
</script> | ||
|
||
<style> | ||
</style> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template> | ||
<div class="login"> | ||
<form action="" method="post"> | ||
<h1>Medusa</h1> | ||
<div class="ctrlHolder"><input class="inlay" name="username" type="text" placeholder="Username" autocomplete="off" autocomplete="no" /></div> | ||
<div class="ctrlHolder"><input class="inlay" name="password" type="password" placeholder="Password" autocomplete="off" /></div> | ||
<div class="ctrlHolder"> | ||
<label class="remember_me" title="for 30 days"><input class="inlay" id="remember_me" name="remember_me" type="checkbox" value="1" checked="checked" /> Remember me</label> | ||
<input class="button" name="submit" type="submit" value="Login" /> | ||
</div> | ||
</form> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
module.exports = { | ||
name: 'login' | ||
}; | ||
</script> | ||
|
||
<style> | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No header for the login page. It has its own header.
It's not currently an issue, because it doesn't use the VueRouter template (
index.mako
),but it will be when it does.