feat: copy features from pro template

This commit is contained in:
woothu
2020-02-24 16:42:33 +01:00
parent c68263b85f
commit 7e9d384af2
21 changed files with 1511 additions and 1658 deletions
@@ -2,16 +2,14 @@
exports[`Login.vue renders correctly 1`] = `
<ccontainer-stub
class="d-flex align-items-center min-vh-100"
class="d-flex content-center min-vh-100"
tag="div"
>
<crow-stub
class="justify-content-center"
gutters="true"
tag="div"
>
<ccol-stub
md="8"
tag="div"
>
<ccardgroup-stub
@@ -51,6 +49,7 @@ exports[`Login.vue renders correctly 1`] = `
tag="div"
>
<ccol-stub
class="text-left"
col="6"
tag="div"
>
@@ -85,6 +84,19 @@ exports[`Login.vue renders correctly 1`] = `
>
Forgot password?
</cbutton-stub>
<cbutton-stub
activeclass="router-link-active"
class="d-md-none"
color="link"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
target="_self"
type="button"
>
Register now!
</cbutton-stub>
</ccol-stub>
</crow-stub>
</cform-stub>
@@ -93,7 +105,7 @@ exports[`Login.vue renders correctly 1`] = `
<ccard-stub
bodywrapper="true"
class="text-center py-5 d-md-down-none"
class="text-center py-5 d-sm-down-none"
color="primary"
textcolor="white"
>
@@ -1,132 +1,135 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Register.vue renders correctly 1`] = `
<ccontainer-stub
class="min-vh-100 d-flex align-items-center"
tag="div"
<div
class="d-flex align-items-center min-vh-100"
>
<crow-stub
class="w-100 justify-content-center"
gutters="true"
<ccontainer-stub
fluid="true"
tag="div"
>
<ccol-stub
md="6"
sm="8"
<crow-stub
class="justify-content-center"
gutters="true"
tag="div"
>
<ccard-stub
class="mx-4 mb-0"
<ccol-stub
md="6"
tag="div"
>
<ccardbody-stub
class="p-4"
<ccard-stub
class="mx-4 mb-0"
>
<cform-stub>
<h1>
Register
</h1>
<p
class="text-muted"
>
Create your account
</p>
<cinput-stub
autocomplete="username"
lazy="400"
placeholder="Username"
type="text"
/>
<cinput-stub
autocomplete="email"
lazy="400"
placeholder="Email"
prepend="@"
type="text"
/>
<cinput-stub
autocomplete="new-password"
lazy="400"
placeholder="Password"
type="password"
/>
<cinput-stub
autocomplete="new-password"
class="mb-4"
lazy="400"
placeholder="Repeat password"
type="password"
/>
<cbutton-stub
activeclass="router-link-active"
block="true"
color="success"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
target="_self"
type="button"
>
Create Account
</cbutton-stub>
</cform-stub>
</ccardbody-stub>
<ccardfooter-stub
class="p-4"
>
<crow-stub
gutters="true"
tag="div"
<ccardbody-stub
class="p-4"
>
<ccol-stub
col="6"
tag="div"
>
<cform-stub>
<h1>
Register
</h1>
<p
class="text-muted"
>
Create your account
</p>
<cinput-stub
autocomplete="username"
lazy="400"
placeholder="Username"
type="text"
/>
<cinput-stub
autocomplete="email"
lazy="400"
placeholder="Email"
prepend="@"
type="text"
/>
<cinput-stub
autocomplete="new-password"
lazy="400"
placeholder="Password"
type="password"
/>
<cinput-stub
autocomplete="new-password"
class="mb-4"
lazy="400"
placeholder="Repeat password"
type="password"
/>
<cbutton-stub
activeclass="router-link-active"
block="true"
color="facebook"
color="success"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
target="_self"
type="button"
>
Facebook
Create Account
</cbutton-stub>
</ccol-stub>
<ccol-stub
col="6"
</cform-stub>
</ccardbody-stub>
<ccardfooter-stub
class="p-4"
>
<crow-stub
gutters="true"
tag="div"
>
<cbutton-stub
activeclass="router-link-active"
block="true"
color="twitter"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
target="_self"
type="button"
<ccol-stub
col="6"
tag="div"
>
<cbutton-stub
activeclass="router-link-active"
block="true"
color="facebook"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
target="_self"
type="button"
>
Facebook
Twitter
</cbutton-stub>
</ccol-stub>
</crow-stub>
</ccardfooter-stub>
</ccard-stub>
</ccol-stub>
</crow-stub>
</ccontainer-stub>
</cbutton-stub>
</ccol-stub>
<ccol-stub
col="6"
tag="div"
>
<cbutton-stub
activeclass="router-link-active"
block="true"
color="twitter"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
target="_self"
type="button"
>
Twitter
</cbutton-stub>
</ccol-stub>
</crow-stub>
</ccardfooter-stub>
</ccard-stub>
</ccol-stub>
</crow-stub>
</ccontainer-stub>
</div>
`;