Bläddra i källkod

Merge pull request #7 from Manuel83/master

- Add On - Link to Plugin Website
pull/206/head
swimIan GitHub 8 år sedan
förälder
incheckning
88b360a8d7
7 ändrade filer med 76 tillägg och 6118 borttagningar
  1. +5
    -0
      .gitignore
  2. +3
    -2
      modules/ui/endpoints.py
  3. +0
    -6006
      modules/ui/package-lock.json
  4. +22
    -5
      modules/ui/src/App.css
  5. +3
    -3
      modules/ui/src/index.css
  6. +43
    -47
      modules/ui/static/bundle.js
  7. +0
    -55
      modules/ui/static/index.html

+ 5
- 0
.gitignore Visa fil

@@ -9,6 +9,11 @@ modules/plugins/*
!modules/plugins/__init__.py
*.pyc
*.js
*.css
modules/ui/package.json

modules/ui/.babelrc
yarn.lock


modules/ui/package-lock.json

+ 3
- 2
modules/ui/endpoints.py Visa fil

@@ -1,5 +1,6 @@
from flask import Blueprint, render_template, request
from modules import cbpi
from flask import Blueprint

from modules import cbpi

react = Blueprint('react', __name__, template_folder='templates', static_folder='static')



+ 0
- 6006
modules/ui/package-lock.json
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 22
- 5
modules/ui/src/App.css Visa fil

@@ -1,6 +1,3 @@
.App {

}

.container {
padding-right: 5px;
@@ -10,7 +7,27 @@
}

.container-fluid {
padding-right: 5px;
padding-left: 5px;
padding-right: 5px;
padding-left: 5px;

}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
position: relative;
min-height: 1px;
padding-right: 8px;
padding-left: 8px;
}

.panel-heading {
padding: 5px 5px;
}

.panel-footer {
padding: 2px 2px;
}

.modal-footer {
padding: 5px;
}


+ 3
- 3
modules/ui/src/index.css Visa fil

@@ -1,5 +1,5 @@
body {
margin: 0;
padding: 0;
font-family: sans-serif;
margin: 0;
padding: 0;
font-family: sans-serif;
}

+ 43
- 47
modules/ui/static/bundle.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 55
modules/ui/static/index.html Visa fil

@@ -10,67 +10,12 @@
<link rel="stylesheet" href="static/bootstrap.dark.css">


<style>




.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
position: relative;
min-height: 1px;
padding-right: 8px;
padding-left: 8px;
}

.panel-heading {
padding: 5px 5px;

}

.panel-footer {
padding: 2px 2px;

}

.modal-footer {
padding: 5px;


}
.row {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex !important;
flex-wrap: wrap;
}

.row > [class*='col-'] {
display: flex;
flex-direction: column;
}



/* Einschränken des sichtbaren Ausschnitts */



</style>
<title>CraftBeerPi 3.0</title>
</head>
<body>
<div id="root" ></div>
<script src="static/bundle.js" type="text/javascript"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start`.
To create a production bundle, use `npm run build`.
-->
</body>
</html>

Laddar…
Avbryt
Spara