mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-17 02:17:49 +00:00
added form action on the login page
This commit is contained in:
parent
9026ba6d34
commit
3b5366aead
7 changed files with 54 additions and 10 deletions
web-frontend
public
src/scss
webpack
|
@ -30,6 +30,20 @@
|
||||||
<input type="password" class="input input-large" />
|
<input type="password" class="input input-large" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="actions">
|
||||||
|
<ul class="action-links">
|
||||||
|
<li>
|
||||||
|
<a href="#">Sign up</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#">Forgot password</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<a href="#" class="button button-large">
|
||||||
|
Sign in
|
||||||
|
<i class="fas fa-lock-open"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i");
|
@import url("https://fonts.googleapis.com/css?family=Montserrat:700|Open+Sans:400,400i,700,700i");
|
||||||
|
|
||||||
@import "~normalize.css/normalize.css";
|
@import "~normalize.css/normalize.css";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
$text-font-stack: 'Open Sans', sans-serif;
|
$text-font-stack: 'Open Sans', sans-serif;
|
||||||
|
$logo-font-stack: 'Montserrat', sans-serif;
|
||||||
|
|
||||||
|
|
||||||
// primary colors
|
// primary colors
|
||||||
$color-primary-100: #ebf7ff !default;
|
$color-primary-100: #ebf7ff !default;
|
||||||
|
|
|
@ -29,6 +29,7 @@ h1,
|
||||||
.heading-1 {
|
.heading-1 {
|
||||||
@extend %first-last-no-margin;
|
@extend %first-last-no-margin;
|
||||||
|
|
||||||
|
font-family: $logo-font-stack;
|
||||||
font-size: 33px;
|
font-size: 33px;
|
||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,3 +34,30 @@
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
color: $color-error-500;
|
color: $color-error-500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.actions {
|
||||||
|
@extend %first-last-no-margin;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
text-align: right;
|
||||||
|
margin: 30px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.action-links {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
margin-right: 20px;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -9,7 +9,8 @@ const config = {
|
||||||
'jsFilename': './baserow.js',
|
'jsFilename': './baserow.js',
|
||||||
'cssFilename': './baserow.css',
|
'cssFilename': './baserow.css',
|
||||||
'sourceMaps': true,
|
'sourceMaps': true,
|
||||||
'devtool': 'inline-source-map'
|
'devtool': 'inline-source-map',
|
||||||
|
'pages': ['index.html', 'login.html']
|
||||||
};
|
};
|
||||||
|
|
||||||
// Export config
|
// Export config
|
||||||
|
|
|
@ -111,16 +111,15 @@ const plugins = [
|
||||||
allowExternal: true,
|
allowExternal: true,
|
||||||
}),
|
}),
|
||||||
new ExtractTextPlugin(config.cssFilename),
|
new ExtractTextPlugin(config.cssFilename),
|
||||||
new HtmlWebpackPlugin({
|
|
||||||
template: `${config.output}/index.html`,
|
|
||||||
filename: 'index.html'
|
|
||||||
}),
|
|
||||||
new HtmlWebpackPlugin({
|
|
||||||
template: `${config.output}/login.html`,
|
|
||||||
filename: 'login.html'
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
for(const page in config.pages) {
|
||||||
|
plugins.push(new HtmlWebpackPlugin({
|
||||||
|
template: `${config.output}/${config.pages[page]}`,
|
||||||
|
filename: `${config.pages[page]}`
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
const webpackConfig = {
|
const webpackConfig = {
|
||||||
entry,
|
entry,
|
||||||
resolve,
|
resolve,
|
||||||
|
|
Loading…
Add table
Reference in a new issue