1
0
mirror of https://github.com/ebosas/microservices.git synced 2025-06-24 22:26:56 +02:00

Front end build

This commit is contained in:
ebosas
2021-06-02 19:11:36 +03:00
parent 8ae42ada58
commit 457b7f4457
2 changed files with 1 additions and 41 deletions

View File

@ -1,40 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<title>Microservices</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="build/style.css">
</head>
<body>
<div id="root" class="vh-100">
<div class="container position-relative h-75">
<div class="position-absolute top-50 start-0 w-100 translate-middle-y">
<div class="row">
<div class="col col-md-8 col-lg-6 mx-auto">
<form>
<div class="input-group">
<input type="text" class="form-control" placeholder="Enter message" aria-label="Enter message" aria-describedby="button-send" />
<button class="btn btn-success" type="submit" id="button-send">Send</button>
</div>
</form>
</div>
</div>
</div>
<div id="notifications" class="position-absolute top-0 start-0 w-100">
<div class="row">
<div class="col col-md-8 col-lg-6 mx-auto mt-5">
<div class="alert alert-primary" role="alert">
<em>Sent</em>: A message sent to the back end.
</div>
<div class="alert alert-success" role="alert">
<em>Received</em>: A message received from the back end.
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@ -5,7 +5,7 @@
"scripts": {
"css-compile": "sass --load-path node_modules --style compressed --no-source-map -q scss/style.scss:build/style.css",
"css-prefix": "postcss --replace build/style.css --use autoprefixer --no-map",
"css-purge": "purgecss --keyframes --css build/style.css --content ref/template.html ref/index.js index.html --output css/",
"css-purge": "purgecss --keyframes --css build/style.css --content ref/template.html ref/index.js --output css/",
"css": "npm run css-compile && npm run css-prefix && npm run css-purge",
"css-dev": "sass --load-path node_modules -q scss/style.scss:build/style.css",
"css-server": "sass --load-path node_modules --no-source-map -q scss/style.scss:../server/static/style.css",