This commit is contained in:
Rick Companje 2018-01-25 17:47:36 +01:00
parent 0067c7a9e1
commit 8c3d444eed
3 changed files with 13 additions and 6 deletions

6
package-lock.json generated
View File

@ -79,6 +79,9 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.1.0.tgz",
"integrity": "sha512-dQoid9tqQ+uotGhuTKEY11X4xhyYePVnqGSoSm3OGKh2E8LZ6RPULp1uXTctk33IeERlrRJYoVSBglsL05F5Uw=="
},
"three-js-csg": {
"version": "github:Doodle3D/three-js-csg#a36f23da6e9be2405a9094de5709cb0ae8f58045"
}
}
},
@ -7846,9 +7849,6 @@
"resolved": "https://registry.npmjs.org/three/-/three-0.88.0.tgz",
"integrity": "sha1-QlbC/Djk+yOg0j66K2zOTfjkZtU="
},
"three-js-csg": {
"version": "github:Doodle3D/three-js-csg#a36f23da6e9be2405a9094de5709cb0ae8f58045"
},
"through2": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz",

View File

@ -9,6 +9,7 @@
"start": "webpack-dev-server -w",
"dist": "NODE_ENV=production webpack -p",
"prepare": "npm run build",
"upload": "npm run dist && scp -r dist/* doodle3d.com:/domains/doodle3d.com/print",
"analyze": "NODE_ENV=production ANALYZE_BUNDLE=true webpack -p",
"build": "npm run build:main && npm run build:main:settings && npm run build:module && npm run build:module:settings ",
"build:main": "BABEL_ENV=main babel src -s -d lib",

View File

@ -29,14 +29,20 @@ const styles = {
width: '100%',
flexGrow: 1,
overflowY: 'auto',
'& p, h3': {
'& p': {
fontWeight: 'bold',
margin: '30px 0 0 0'
},
'& h3': {
fontWeight: 'bold',
marginTop: '20px',
marginBottom: '20px',
}
},
error: {
color: red500
}
},
};
const getLocalStorage = () => {
@ -353,7 +359,7 @@ class Settings extends React.Component {
<MenuItem key={value} value={value} primaryText={title} />
))}
</SelectField>
<h3>Printer Setup</h3>
<h3>Print Setup</h3>
<Tabs>
<Tab buttonStyle={{ color: grey800, backgroundColor: 'white' }} label="Basic">
<div>