Aanpassingen
This commit is contained in:
parent
b3a73d6ea9
commit
fb866dca45
2 changed files with 30 additions and 15 deletions
|
@ -306,8 +306,8 @@ class CentralManagement():
|
||||||
self.eventQueue.put(Signal('scan.start'))
|
self.eventQueue.put(Signal('scan.start'))
|
||||||
cmd = [
|
cmd = [
|
||||||
'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg',
|
'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg',
|
||||||
'--resolution=100', '-l','20','-t','30','-x',str(self.config['scanner']['height']),
|
'--resolution=100', '-l','20','-t','30','-x',str(255),
|
||||||
'-y',str(self.config['scanner']['width'])
|
'-y',str(185)
|
||||||
]
|
]
|
||||||
self.logger.info(f"{cmd}")
|
self.logger.info(f"{cmd}")
|
||||||
filename = self.currentHit.getImagePath()
|
filename = self.currentHit.getImagePath()
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
@font-face {
|
|
||||||
font-family: 'bebas';
|
|
||||||
src: url('font/BebasNeue-Regular.ttf');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'freesans';
|
font-family: 'freesans';
|
||||||
src: url('font/FreeSans.ttf')
|
src: url('font/FreeSans.ttf')
|
||||||
|
@ -21,9 +16,9 @@
|
||||||
|
|
||||||
/* ////// GAT ACHTERKANT PLEK & POSITIE /////// */
|
/* ////// GAT ACHTERKANT PLEK & POSITIE /////// */
|
||||||
/* */ /* */
|
/* */ /* */
|
||||||
/* */ --pos-x: 20px; /* */
|
/* */ --pos-x: 0px; /* */
|
||||||
/* */ --pos-y: 20px; /* */
|
/* */ --pos-y: 50px; /* */
|
||||||
/* */ --width: 90%; /* 115mm */
|
/* */ --width: 100%; /* 285mm */
|
||||||
/* */ --height: 100%; /* 500mm */
|
/* */ --height: 100%; /* 500mm */
|
||||||
/* */ /* */
|
/* */ /* */
|
||||||
/* //////////////////////////////////////////// */
|
/* //////////////////////////////////////////// */
|
||||||
|
@ -43,15 +38,33 @@ html, body{
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logo{
|
|
||||||
|
|
||||||
|
#header{
|
||||||
background: #555;
|
background: #555;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 2% 0% 1% 0%;
|
padding: 2% 0% 30px 0%;
|
||||||
text-align: right;
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#aai{
|
||||||
|
position:absolute;
|
||||||
|
color: #fefefe;
|
||||||
|
padding-left: 50px;
|
||||||
|
font-size: 18px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#header img{
|
||||||
|
position: relative;
|
||||||
|
top: -5px;
|
||||||
|
padding-right: 50px;
|
||||||
|
float:right;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrapper{
|
#wrapper{
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: var(--pos-x);
|
left: var(--pos-x);
|
||||||
top: var(--pos-y);
|
top: var(--pos-y);
|
||||||
|
@ -68,7 +81,7 @@ table{
|
||||||
display: grid;
|
display: grid;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
grid-template-columns: repeat(6, 1fr);
|
grid-template-columns: 50px repeat(6, 1fr) 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
thead, tbody, tr{
|
thead, tbody, tr{
|
||||||
|
@ -108,3 +121,5 @@ td {
|
||||||
tr:nth-child(even) td {
|
tr:nth-child(even) td {
|
||||||
background: #f8f6f9;
|
background: #f8f6f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue