Revize 0fcb708f
Přidáno uživatelem Matěj Zeman před téměř 3 roky(ů)
server/doc/sql_app/schemas.html | ||
---|---|---|
76 | 76 |
vendor_id: str |
77 | 77 |
product_id: str |
78 | 78 |
serial_number: str |
79 |
inventory_number: str |
|
80 |
comment: str |
|
79 | 81 |
|
80 | 82 |
|
81 | 83 |
class DeviceCreate(DeviceBase): |
... | ... | |
87 | 89 |
Class used for creating and reading devices entries |
88 | 90 |
""" |
89 | 91 |
id: int |
90 |
assigned: bool |
|
91 | 92 |
logs: List[USBLog] = [] |
92 | 93 |
licenses: List[DeviceLicense] = [] |
93 | 94 |
|
... | ... | |
95 | 96 |
orm_mode = True |
96 | 97 |
|
97 | 98 |
|
99 |
class DeviceTemp(BaseModel): |
|
100 |
""" |
|
101 |
Class used for reading data from client |
|
102 |
""" |
|
103 |
vendor_id: str |
|
104 |
product_id: str |
|
105 |
serial_number: str |
|
106 |
|
|
107 |
|
|
98 | 108 |
class LDLogBase(BaseModel): |
99 | 109 |
timestamp: datetime |
100 | 110 |
status: str |
... | ... | |
118 | 128 |
|
119 | 129 |
class BodyDeviceBase(BaseModel): |
120 | 130 |
serial_number: str |
131 |
inventory_number: str |
|
132 |
comment: str |
|
121 | 133 |
|
122 | 134 |
|
123 | 135 |
class BodyDeviceCreate(BodyDeviceBase): |
... | ... | |
135 | 147 |
orm_mode = True |
136 | 148 |
|
137 | 149 |
|
150 |
class BodyDeviceTemp(BaseModel): |
|
151 |
""" |
|
152 |
Class used for reading body device data from client |
|
153 |
""" |
|
154 |
serial_number: str |
|
155 |
|
|
156 |
|
|
138 | 157 |
class HeadDeviceBase(BaseModel): |
139 | 158 |
serial_number: str |
159 |
inventory_number: str |
|
160 |
comment: str |
|
140 | 161 |
|
141 | 162 |
|
142 | 163 |
class HeadDeviceCreate(HeadDeviceBase): |
... | ... | |
154 | 175 |
orm_mode = True |
155 | 176 |
|
156 | 177 |
|
178 |
class HeadDeviceTemp(BaseModel): |
|
179 |
""" |
|
180 |
Class used for reading head device data from client |
|
181 |
""" |
|
182 |
serial_number: str |
|
183 |
|
|
184 |
|
|
157 | 185 |
class PCBase(BaseModel): |
158 | 186 |
username: str |
159 | 187 |
hostname: str |
... | ... | |
168 | 196 |
Class used for creating and reading pc entries |
169 | 197 |
""" |
170 | 198 |
id: int |
171 |
assigned: bool |
|
172 | 199 |
logs_pc: List[USBLog] = [] |
200 |
logs_ld: List[LDLog] = [] |
|
173 | 201 |
|
174 | 202 |
class Config: |
175 | 203 |
orm_mode = True |
... | ... | |
188 | 216 |
Class used for creating and reading team entries |
189 | 217 |
""" |
190 | 218 |
id: int |
191 |
pcs: List[PC] = []
|
|
219 |
devices: List[Device] = []
|
|
192 | 220 |
|
193 | 221 |
class Config: |
194 | 222 |
orm_mode = True |
... | ... | |
196 | 224 |
|
197 | 225 |
class LicenseBase(BaseModel): |
198 | 226 |
name: str |
227 |
license_id: str |
|
199 | 228 |
expiration_date: date |
200 | 229 |
|
201 | 230 |
|
... | ... | |
209 | 238 |
""" |
210 | 239 |
id: int |
211 | 240 |
devices: List[DeviceLicense] = [] |
241 |
head_devices: List[HeadDevice] = [] |
|
242 |
body_devices: List[BodyDevice] = [] |
|
212 | 243 |
|
213 | 244 |
class Config: |
214 | 245 |
orm_mode = True |
... | ... | |
221 | 252 |
username: str |
222 | 253 |
hostname: str |
223 | 254 |
timestamp: str |
224 |
device: DeviceBase
|
|
255 |
device: DeviceTemp
|
|
225 | 256 |
status: str |
226 | 257 |
|
227 | 258 |
|
... | ... | |
244 | 275 |
username: str |
245 | 276 |
hostname: str |
246 | 277 |
timestamp: str |
247 |
head_device: HeadDeviceBase
|
|
248 |
body_device: BodyDeviceBase
|
|
278 |
head_device: HeadDeviceTemp
|
|
279 |
body_device: BodyDeviceTemp
|
|
249 | 280 |
status: str |
250 | 281 |
|
251 | 282 |
|
... | ... | |
258 | 289 |
head_id: int |
259 | 290 |
body_id: int |
260 | 291 |
|
292 |
class Config: |
|
293 |
orm_mode = True |
|
294 |
|
|
295 |
|
|
296 |
class UserBase(BaseModel): |
|
297 |
""" |
|
298 |
Classes used for creating new User entry |
|
299 |
""" |
|
300 |
username: str |
|
301 |
password: str |
|
302 |
role: str |
|
303 |
|
|
304 |
|
|
305 |
class UserCreate(UserBase): |
|
306 |
pass |
|
307 |
|
|
308 |
|
|
309 |
class User(UserCreate): |
|
310 |
id: int |
|
311 |
|
|
261 | 312 |
class Config: |
262 | 313 |
orm_mode = True</code></pre> |
263 | 314 |
</details> |
... | ... | |
300 | 351 |
<li>pydantic.main.BaseModel</li> |
301 | 352 |
<li>pydantic.utils.Representation</li> |
302 | 353 |
</ul> |
354 |
<h3>Subclasses</h3> |
|
355 |
<ul class="hlist"> |
|
356 |
<li>pydantic.main.BodyDevice</li> |
|
357 |
<li>pydantic.main.BodyDevice</li> |
|
358 |
</ul> |
|
303 | 359 |
<h3>Class variables</h3> |
304 | 360 |
<dl> |
305 | 361 |
<dt id="sql_app.schemas.BodyDevice.Config"><code class="name">var <span class="ident">Config</span></code></dt> |
... | ... | |
328 | 384 |
<span>Expand source code</span> |
329 | 385 |
</summary> |
330 | 386 |
<pre><code class="python">class BodyDeviceBase(BaseModel): |
331 |
serial_number: str</code></pre> |
|
387 |
serial_number: str |
|
388 |
inventory_number: str |
|
389 |
comment: str</code></pre> |
|
332 | 390 |
</details> |
333 | 391 |
<h3>Ancestors</h3> |
334 | 392 |
<ul class="hlist"> |
... | ... | |
341 | 399 |
</ul> |
342 | 400 |
<h3>Class variables</h3> |
343 | 401 |
<dl> |
402 |
<dt id="sql_app.schemas.BodyDeviceBase.comment"><code class="name">var <span class="ident">comment</span> : str</code></dt> |
|
403 |
<dd> |
|
404 |
<div class="desc"></div> |
|
405 |
</dd> |
|
406 |
<dt id="sql_app.schemas.BodyDeviceBase.inventory_number"><code class="name">var <span class="ident">inventory_number</span> : str</code></dt> |
|
407 |
<dd> |
|
408 |
<div class="desc"></div> |
|
409 |
</dd> |
|
344 | 410 |
<dt id="sql_app.schemas.BodyDeviceBase.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt> |
345 | 411 |
<dd> |
346 | 412 |
<div class="desc"></div> |
... | ... | |
372 | 438 |
<li><a title="sql_app.schemas.BodyDevice" href="#sql_app.schemas.BodyDevice">BodyDevice</a></li> |
373 | 439 |
</ul> |
374 | 440 |
</dd> |
441 |
<dt id="sql_app.schemas.BodyDeviceTemp"><code class="flex name class"> |
|
442 |
<span>class <span class="ident">BodyDeviceTemp</span></span> |
|
443 |
<span>(</span><span>**data: Any)</span> |
|
444 |
</code></dt> |
|
445 |
<dd> |
|
446 |
<div class="desc"><p>Class used for reading body device data from client</p> |
|
447 |
<p>Create a new model by parsing and validating input data from keyword arguments.</p> |
|
448 |
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div> |
|
449 |
<details class="source"> |
|
450 |
<summary> |
|
451 |
<span>Expand source code</span> |
|
452 |
</summary> |
|
453 |
<pre><code class="python">class BodyDeviceTemp(BaseModel): |
|
454 |
""" |
|
455 |
Class used for reading body device data from client |
|
456 |
""" |
|
457 |
serial_number: str</code></pre> |
|
458 |
</details> |
|
459 |
<h3>Ancestors</h3> |
|
460 |
<ul class="hlist"> |
|
461 |
<li>pydantic.main.BaseModel</li> |
|
462 |
<li>pydantic.utils.Representation</li> |
|
463 |
</ul> |
|
464 |
<h3>Class variables</h3> |
|
465 |
<dl> |
|
466 |
<dt id="sql_app.schemas.BodyDeviceTemp.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt> |
|
467 |
<dd> |
|
468 |
<div class="desc"></div> |
|
469 |
</dd> |
|
470 |
</dl> |
|
471 |
</dd> |
|
375 | 472 |
<dt id="sql_app.schemas.Device"><code class="flex name class"> |
376 | 473 |
<span>class <span class="ident">Device</span></span> |
377 | 474 |
<span>(</span><span>**data: Any)</span> |
... | ... | |
389 | 486 |
Class used for creating and reading devices entries |
390 | 487 |
""" |
391 | 488 |
id: int |
392 |
assigned: bool |
|
393 | 489 |
logs: List[USBLog] = [] |
394 | 490 |
licenses: List[DeviceLicense] = [] |
395 | 491 |
|
... | ... | |
415 | 511 |
<li>pydantic.main.Device</li> |
416 | 512 |
<li>pydantic.main.Device</li> |
417 | 513 |
<li>pydantic.main.Device</li> |
514 |
<li>pydantic.main.Device</li> |
|
515 |
<li>pydantic.main.Device</li> |
|
418 | 516 |
</ul> |
419 | 517 |
<h3>Class variables</h3> |
420 | 518 |
<dl> |
... | ... | |
422 | 520 |
<dd> |
423 | 521 |
<div class="desc"></div> |
424 | 522 |
</dd> |
425 |
<dt id="sql_app.schemas.Device.assigned"><code class="name">var <span class="ident">assigned</span> : bool</code></dt> |
|
426 |
<dd> |
|
427 |
<div class="desc"></div> |
|
428 |
</dd> |
|
429 | 523 |
<dt id="sql_app.schemas.Device.id"><code class="name">var <span class="ident">id</span> : int</code></dt> |
430 | 524 |
<dd> |
431 | 525 |
<div class="desc"></div> |
... | ... | |
454 | 548 |
<pre><code class="python">class DeviceBase(BaseModel): |
455 | 549 |
vendor_id: str |
456 | 550 |
product_id: str |
457 |
serial_number: str</code></pre> |
|
551 |
serial_number: str |
|
552 |
inventory_number: str |
|
553 |
comment: str</code></pre> |
|
458 | 554 |
</details> |
459 | 555 |
<h3>Ancestors</h3> |
460 | 556 |
<ul class="hlist"> |
... | ... | |
467 | 563 |
</ul> |
468 | 564 |
<h3>Class variables</h3> |
469 | 565 |
<dl> |
566 |
<dt id="sql_app.schemas.DeviceBase.comment"><code class="name">var <span class="ident">comment</span> : str</code></dt> |
|
567 |
<dd> |
|
568 |
<div class="desc"></div> |
|
569 |
</dd> |
|
570 |
<dt id="sql_app.schemas.DeviceBase.inventory_number"><code class="name">var <span class="ident">inventory_number</span> : str</code></dt> |
|
571 |
<dd> |
|
572 |
<div class="desc"></div> |
|
573 |
</dd> |
|
470 | 574 |
<dt id="sql_app.schemas.DeviceBase.product_id"><code class="name">var <span class="ident">product_id</span> : str</code></dt> |
471 | 575 |
<dd> |
472 | 576 |
<div class="desc"></div> |
... | ... | |
550 | 654 |
<li>pydantic.main.DeviceLicense</li> |
551 | 655 |
<li>pydantic.main.DeviceLicense</li> |
552 | 656 |
<li>pydantic.main.DeviceLicense</li> |
657 |
<li>pydantic.main.DeviceLicense</li> |
|
658 |
<li>pydantic.main.DeviceLicense</li> |
|
553 | 659 |
</ul> |
554 | 660 |
<h3>Class variables</h3> |
555 | 661 |
<dl> |
... | ... | |
629 | 735 |
<li><a title="sql_app.schemas.DeviceLicense" href="#sql_app.schemas.DeviceLicense">DeviceLicense</a></li> |
630 | 736 |
</ul> |
631 | 737 |
</dd> |
738 |
<dt id="sql_app.schemas.DeviceTemp"><code class="flex name class"> |
|
739 |
<span>class <span class="ident">DeviceTemp</span></span> |
|
740 |
<span>(</span><span>**data: Any)</span> |
|
741 |
</code></dt> |
|
742 |
<dd> |
|
743 |
<div class="desc"><p>Class used for reading data from client</p> |
|
744 |
<p>Create a new model by parsing and validating input data from keyword arguments.</p> |
|
745 |
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div> |
|
746 |
<details class="source"> |
|
747 |
<summary> |
|
748 |
<span>Expand source code</span> |
|
749 |
</summary> |
|
750 |
<pre><code class="python">class DeviceTemp(BaseModel): |
|
751 |
""" |
|
752 |
Class used for reading data from client |
|
753 |
""" |
|
754 |
vendor_id: str |
|
755 |
product_id: str |
|
756 |
serial_number: str</code></pre> |
|
757 |
</details> |
|
758 |
<h3>Ancestors</h3> |
|
759 |
<ul class="hlist"> |
|
760 |
<li>pydantic.main.BaseModel</li> |
|
761 |
<li>pydantic.utils.Representation</li> |
|
762 |
</ul> |
|
763 |
<h3>Class variables</h3> |
|
764 |
<dl> |
|
765 |
<dt id="sql_app.schemas.DeviceTemp.product_id"><code class="name">var <span class="ident">product_id</span> : str</code></dt> |
|
766 |
<dd> |
|
767 |
<div class="desc"></div> |
|
768 |
</dd> |
|
769 |
<dt id="sql_app.schemas.DeviceTemp.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt> |
|
770 |
<dd> |
|
771 |
<div class="desc"></div> |
|
772 |
</dd> |
|
773 |
<dt id="sql_app.schemas.DeviceTemp.vendor_id"><code class="name">var <span class="ident">vendor_id</span> : str</code></dt> |
|
774 |
<dd> |
|
775 |
<div class="desc"></div> |
|
776 |
</dd> |
|
777 |
</dl> |
|
778 |
</dd> |
|
632 | 779 |
<dt id="sql_app.schemas.HeadDevice"><code class="flex name class"> |
633 | 780 |
<span>class <span class="ident">HeadDevice</span></span> |
634 | 781 |
<span>(</span><span>**data: Any)</span> |
... | ... | |
658 | 805 |
<li>pydantic.main.BaseModel</li> |
659 | 806 |
<li>pydantic.utils.Representation</li> |
660 | 807 |
</ul> |
808 |
<h3>Subclasses</h3> |
|
809 |
<ul class="hlist"> |
|
810 |
<li>pydantic.main.HeadDevice</li> |
|
811 |
<li>pydantic.main.HeadDevice</li> |
|
812 |
</ul> |
|
661 | 813 |
<h3>Class variables</h3> |
662 | 814 |
<dl> |
663 | 815 |
<dt id="sql_app.schemas.HeadDevice.Config"><code class="name">var <span class="ident">Config</span></code></dt> |
... | ... | |
686 | 838 |
<span>Expand source code</span> |
687 | 839 |
</summary> |
688 | 840 |
<pre><code class="python">class HeadDeviceBase(BaseModel): |
689 |
serial_number: str</code></pre> |
|
841 |
serial_number: str |
|
842 |
inventory_number: str |
|
843 |
comment: str</code></pre> |
|
690 | 844 |
</details> |
691 | 845 |
<h3>Ancestors</h3> |
692 | 846 |
<ul class="hlist"> |
... | ... | |
699 | 853 |
</ul> |
700 | 854 |
<h3>Class variables</h3> |
701 | 855 |
<dl> |
856 |
<dt id="sql_app.schemas.HeadDeviceBase.comment"><code class="name">var <span class="ident">comment</span> : str</code></dt> |
|
857 |
<dd> |
|
858 |
<div class="desc"></div> |
|
859 |
</dd> |
|
860 |
<dt id="sql_app.schemas.HeadDeviceBase.inventory_number"><code class="name">var <span class="ident">inventory_number</span> : str</code></dt> |
|
861 |
<dd> |
|
862 |
<div class="desc"></div> |
|
863 |
</dd> |
|
702 | 864 |
<dt id="sql_app.schemas.HeadDeviceBase.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt> |
703 | 865 |
<dd> |
704 | 866 |
<div class="desc"></div> |
... | ... | |
730 | 892 |
<li><a title="sql_app.schemas.HeadDevice" href="#sql_app.schemas.HeadDevice">HeadDevice</a></li> |
731 | 893 |
</ul> |
732 | 894 |
</dd> |
895 |
<dt id="sql_app.schemas.HeadDeviceTemp"><code class="flex name class"> |
|
896 |
<span>class <span class="ident">HeadDeviceTemp</span></span> |
|
897 |
<span>(</span><span>**data: Any)</span> |
|
898 |
</code></dt> |
|
899 |
<dd> |
|
900 |
<div class="desc"><p>Class used for reading head device data from client</p> |
|
901 |
<p>Create a new model by parsing and validating input data from keyword arguments.</p> |
|
902 |
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div> |
|
903 |
<details class="source"> |
|
904 |
<summary> |
|
905 |
<span>Expand source code</span> |
|
906 |
</summary> |
|
907 |
<pre><code class="python">class HeadDeviceTemp(BaseModel): |
|
908 |
""" |
|
909 |
Class used for reading head device data from client |
|
910 |
""" |
|
911 |
serial_number: str</code></pre> |
|
912 |
</details> |
|
913 |
<h3>Ancestors</h3> |
|
914 |
<ul class="hlist"> |
|
915 |
<li>pydantic.main.BaseModel</li> |
|
916 |
<li>pydantic.utils.Representation</li> |
|
917 |
</ul> |
|
918 |
<h3>Class variables</h3> |
|
919 |
<dl> |
|
920 |
<dt id="sql_app.schemas.HeadDeviceTemp.serial_number"><code class="name">var <span class="ident">serial_number</span> : str</code></dt> |
|
921 |
<dd> |
|
922 |
<div class="desc"></div> |
|
923 |
</dd> |
|
924 |
</dl> |
|
925 |
</dd> |
|
733 | 926 |
<dt id="sql_app.schemas.LDLog"><code class="flex name class"> |
734 | 927 |
<span>class <span class="ident">LDLog</span></span> |
735 | 928 |
<span>(</span><span>**data: Any)</span> |
... | ... | |
764 | 957 |
<ul class="hlist"> |
765 | 958 |
<li>pydantic.main.LDLog</li> |
766 | 959 |
<li>pydantic.main.LDLog</li> |
960 |
<li>pydantic.main.LDLog</li> |
|
961 |
<li>pydantic.main.LDLog</li> |
|
962 |
<li>pydantic.main.LDLog</li> |
|
963 |
<li>pydantic.main.LDLog</li> |
|
964 |
<li>pydantic.main.LDLog</li> |
|
965 |
<li>pydantic.main.LDLog</li> |
|
966 |
<li>pydantic.main.LDLog</li> |
|
967 |
<li>pydantic.main.LDLog</li> |
|
767 | 968 |
</ul> |
768 | 969 |
<h3>Class variables</h3> |
769 | 970 |
<dl> |
... | ... | |
912 | 1113 |
username: str |
913 | 1114 |
hostname: str |
914 | 1115 |
timestamp: str |
915 |
head_device: HeadDeviceBase
|
|
916 |
body_device: BodyDeviceBase
|
|
1116 |
head_device: HeadDeviceTemp
|
|
1117 |
body_device: BodyDeviceTemp
|
|
917 | 1118 |
status: str</code></pre> |
918 | 1119 |
</details> |
919 | 1120 |
<h3>Ancestors</h3> |
... | ... | |
927 | 1128 |
</ul> |
928 | 1129 |
<h3>Class variables</h3> |
929 | 1130 |
<dl> |
930 |
<dt id="sql_app.schemas.LDTempBase.body_device"><code class="name">var <span class="ident">body_device</span> : <a title="sql_app.schemas.BodyDeviceBase" href="#sql_app.schemas.BodyDeviceBase">BodyDeviceBase</a></code></dt>
|
|
1131 |
<dt id="sql_app.schemas.LDTempBase.body_device"><code class="name">var <span class="ident">body_device</span> : <a title="sql_app.schemas.BodyDeviceTemp" href="#sql_app.schemas.BodyDeviceTemp">BodyDeviceTemp</a></code></dt>
|
|
931 | 1132 |
<dd> |
932 | 1133 |
<div class="desc"></div> |
933 | 1134 |
</dd> |
934 |
<dt id="sql_app.schemas.LDTempBase.head_device"><code class="name">var <span class="ident">head_device</span> : <a title="sql_app.schemas.HeadDeviceBase" href="#sql_app.schemas.HeadDeviceBase">HeadDeviceBase</a></code></dt>
|
|
1135 |
<dt id="sql_app.schemas.LDTempBase.head_device"><code class="name">var <span class="ident">head_device</span> : <a title="sql_app.schemas.HeadDeviceTemp" href="#sql_app.schemas.HeadDeviceTemp">HeadDeviceTemp</a></code></dt>
|
|
935 | 1136 |
<dd> |
936 | 1137 |
<div class="desc"></div> |
937 | 1138 |
</dd> |
... | ... | |
997 | 1198 |
""" |
998 | 1199 |
id: int |
999 | 1200 |
devices: List[DeviceLicense] = [] |
1201 |
head_devices: List[HeadDevice] = [] |
|
1202 |
body_devices: List[BodyDevice] = [] |
|
1000 | 1203 |
|
1001 | 1204 |
class Config: |
1002 | 1205 |
orm_mode = True</code></pre> |
... | ... | |
1019 | 1222 |
<dd> |
1020 | 1223 |
<div class="desc"></div> |
1021 | 1224 |
</dd> |
1225 |
<dt id="sql_app.schemas.License.body_devices"><code class="name">var <span class="ident">body_devices</span> : List[<a title="sql_app.schemas.BodyDevice" href="#sql_app.schemas.BodyDevice">BodyDevice</a>]</code></dt> |
|
1226 |
<dd> |
|
1227 |
<div class="desc"></div> |
|
1228 |
</dd> |
|
1022 | 1229 |
<dt id="sql_app.schemas.License.devices"><code class="name">var <span class="ident">devices</span> : List[<a title="sql_app.schemas.DeviceLicense" href="#sql_app.schemas.DeviceLicense">DeviceLicense</a>]</code></dt> |
1023 | 1230 |
<dd> |
1024 | 1231 |
<div class="desc"></div> |
1025 | 1232 |
</dd> |
1233 |
<dt id="sql_app.schemas.License.head_devices"><code class="name">var <span class="ident">head_devices</span> : List[<a title="sql_app.schemas.HeadDevice" href="#sql_app.schemas.HeadDevice">HeadDevice</a>]</code></dt> |
|
1234 |
<dd> |
|
1235 |
<div class="desc"></div> |
|
1236 |
</dd> |
|
1026 | 1237 |
<dt id="sql_app.schemas.License.id"><code class="name">var <span class="ident">id</span> : int</code></dt> |
1027 | 1238 |
<dd> |
1028 | 1239 |
<div class="desc"></div> |
... | ... | |
1042 | 1253 |
</summary> |
1043 | 1254 |
<pre><code class="python">class LicenseBase(BaseModel): |
1044 | 1255 |
name: str |
1256 |
license_id: str |
|
1045 | 1257 |
expiration_date: date</code></pre> |
1046 | 1258 |
</details> |
1047 | 1259 |
<h3>Ancestors</h3> |
... | ... | |
1059 | 1271 |
<dd> |
1060 | 1272 |
<div class="desc"></div> |
1061 | 1273 |
</dd> |
1274 |
<dt id="sql_app.schemas.LicenseBase.license_id"><code class="name">var <span class="ident">license_id</span> : str</code></dt> |
|
1275 |
<dd> |
|
1276 |
<div class="desc"></div> |
|
1277 |
</dd> |
|
1062 | 1278 |
<dt id="sql_app.schemas.LicenseBase.name"><code class="name">var <span class="ident">name</span> : str</code></dt> |
1063 | 1279 |
<dd> |
1064 | 1280 |
<div class="desc"></div> |
... | ... | |
1107 | 1323 |
Class used for creating and reading pc entries |
1108 | 1324 |
""" |
1109 | 1325 |
id: int |
1110 |
assigned: bool |
|
1111 | 1326 |
logs_pc: List[USBLog] = [] |
1327 |
logs_ld: List[LDLog] = [] |
|
1112 | 1328 |
|
1113 | 1329 |
class Config: |
1114 | 1330 |
orm_mode = True</code></pre> |
... | ... | |
1128 | 1344 |
<li>pydantic.main.PC</li> |
1129 | 1345 |
<li>pydantic.main.PC</li> |
1130 | 1346 |
<li>pydantic.main.PC</li> |
1131 |
<li>pydantic.main.PC</li> |
|
1132 |
<li>pydantic.main.PC</li> |
|
1133 | 1347 |
</ul> |
1134 | 1348 |
<h3>Class variables</h3> |
1135 | 1349 |
<dl> |
... | ... | |
1137 | 1351 |
<dd> |
1138 | 1352 |
<div class="desc"></div> |
1139 | 1353 |
</dd> |
1140 |
<dt id="sql_app.schemas.PC.assigned"><code class="name">var <span class="ident">assigned</span> : bool</code></dt>
|
|
1354 |
<dt id="sql_app.schemas.PC.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
|
1141 | 1355 |
<dd> |
1142 | 1356 |
<div class="desc"></div> |
1143 | 1357 |
</dd> |
1144 |
<dt id="sql_app.schemas.PC.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
|
1358 |
<dt id="sql_app.schemas.PC.logs_ld"><code class="name">var <span class="ident">logs_ld</span> : List[<a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a>]</code></dt>
|
|
1145 | 1359 |
<dd> |
1146 | 1360 |
<div class="desc"></div> |
1147 | 1361 |
</dd> |
... | ... | |
1229 | 1443 |
Class used for creating and reading team entries |
1230 | 1444 |
""" |
1231 | 1445 |
id: int |
1232 |
pcs: List[PC] = []
|
|
1446 |
devices: List[Device] = []
|
|
1233 | 1447 |
|
1234 | 1448 |
class Config: |
1235 | 1449 |
orm_mode = True</code></pre> |
... | ... | |
1252 | 1466 |
<dd> |
1253 | 1467 |
<div class="desc"></div> |
1254 | 1468 |
</dd> |
1255 |
<dt id="sql_app.schemas.Team.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
|
1469 |
<dt id="sql_app.schemas.Team.devices"><code class="name">var <span class="ident">devices</span> : List[<a title="sql_app.schemas.Device" href="#sql_app.schemas.Device">Device</a>]</code></dt>
|
|
1256 | 1470 |
<dd> |
1257 | 1471 |
<div class="desc"></div> |
1258 | 1472 |
</dd> |
1259 |
<dt id="sql_app.schemas.Team.pcs"><code class="name">var <span class="ident">pcs</span> : List[<a title="sql_app.schemas.PC" href="#sql_app.schemas.PC">PC</a>]</code></dt>
|
|
1473 |
<dt id="sql_app.schemas.Team.id"><code class="name">var <span class="ident">id</span> : int</code></dt>
|
|
1260 | 1474 |
<dd> |
1261 | 1475 |
<div class="desc"></div> |
1262 | 1476 |
</dd> |
... | ... | |
1512 | 1726 |
username: str |
1513 | 1727 |
hostname: str |
1514 | 1728 |
timestamp: str |
1515 |
device: DeviceBase
|
|
1729 |
device: DeviceTemp
|
|
1516 | 1730 |
status: str</code></pre> |
1517 | 1731 |
</details> |
1518 | 1732 |
<h3>Ancestors</h3> |
... | ... | |
1527 | 1741 |
</ul> |
1528 | 1742 |
<h3>Class variables</h3> |
1529 | 1743 |
<dl> |
1530 |
<dt id="sql_app.schemas.USBTempBase.device"><code class="name">var <span class="ident">device</span> : <a title="sql_app.schemas.DeviceBase" href="#sql_app.schemas.DeviceBase">DeviceBase</a></code></dt>
|
|
1744 |
<dt id="sql_app.schemas.USBTempBase.device"><code class="name">var <span class="ident">device</span> : <a title="sql_app.schemas.DeviceTemp" href="#sql_app.schemas.DeviceTemp">DeviceTemp</a></code></dt>
|
|
1531 | 1745 |
<dd> |
1532 | 1746 |
<div class="desc"></div> |
1533 | 1747 |
</dd> |
... | ... | |
1571 | 1785 |
<li>pydantic.utils.Representation</li> |
1572 | 1786 |
</ul> |
1573 | 1787 |
</dd> |
1788 |
<dt id="sql_app.schemas.User"><code class="flex name class"> |
|
1789 |
<span>class <span class="ident">User</span></span> |
|
1790 |
<span>(</span><span>**data: Any)</span> |
|
1791 |
</code></dt> |
|
1792 |
<dd> |
|
1793 |
<div class="desc"><p>Classes used for creating new User entry</p> |
|
1794 |
<p>Create a new model by parsing and validating input data from keyword arguments.</p> |
|
1795 |
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div> |
|
1796 |
<details class="source"> |
|
1797 |
<summary> |
|
1798 |
<span>Expand source code</span> |
|
1799 |
</summary> |
|
1800 |
<pre><code class="python">class User(UserCreate): |
|
1801 |
id: int |
|
1802 |
|
|
1803 |
class Config: |
|
1804 |
orm_mode = True</code></pre> |
|
1805 |
</details> |
|
1806 |
<h3>Ancestors</h3> |
|
1807 |
<ul class="hlist"> |
|
1808 |
<li><a title="sql_app.schemas.UserCreate" href="#sql_app.schemas.UserCreate">UserCreate</a></li> |
|
1809 |
<li><a title="sql_app.schemas.UserBase" href="#sql_app.schemas.UserBase">UserBase</a></li> |
|
1810 |
<li>pydantic.main.BaseModel</li> |
|
1811 |
<li>pydantic.utils.Representation</li> |
|
1812 |
</ul> |
|
1813 |
<h3>Class variables</h3> |
|
1814 |
<dl> |
|
1815 |
<dt id="sql_app.schemas.User.Config"><code class="name">var <span class="ident">Config</span></code></dt> |
|
1816 |
<dd> |
|
1817 |
<div class="desc"></div> |
|
1818 |
</dd> |
|
1819 |
<dt id="sql_app.schemas.User.id"><code class="name">var <span class="ident">id</span> : int</code></dt> |
|
1820 |
<dd> |
|
1821 |
<div class="desc"></div> |
|
1822 |
</dd> |
|
1823 |
</dl> |
|
1824 |
</dd> |
|
1825 |
<dt id="sql_app.schemas.UserBase"><code class="flex name class"> |
|
1826 |
<span>class <span class="ident">UserBase</span></span> |
|
1827 |
<span>(</span><span>**data: Any)</span> |
|
1828 |
</code></dt> |
|
1829 |
<dd> |
|
1830 |
<div class="desc"><p>Classes used for creating new User entry</p> |
|
1831 |
<p>Create a new model by parsing and validating input data from keyword arguments.</p> |
|
1832 |
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div> |
|
1833 |
<details class="source"> |
|
1834 |
<summary> |
|
1835 |
<span>Expand source code</span> |
|
1836 |
</summary> |
|
1837 |
<pre><code class="python">class UserBase(BaseModel): |
|
1838 |
""" |
|
1839 |
Classes used for creating new User entry |
|
1840 |
""" |
|
1841 |
username: str |
|
1842 |
password: str |
|
1843 |
role: str</code></pre> |
|
1844 |
</details> |
|
1845 |
<h3>Ancestors</h3> |
|
1846 |
<ul class="hlist"> |
|
1847 |
<li>pydantic.main.BaseModel</li> |
|
1848 |
<li>pydantic.utils.Representation</li> |
|
1849 |
</ul> |
|
1850 |
<h3>Subclasses</h3> |
|
1851 |
<ul class="hlist"> |
|
1852 |
<li><a title="sql_app.schemas.UserCreate" href="#sql_app.schemas.UserCreate">UserCreate</a></li> |
|
1853 |
</ul> |
|
1854 |
<h3>Class variables</h3> |
|
1855 |
<dl> |
|
1856 |
<dt id="sql_app.schemas.UserBase.password"><code class="name">var <span class="ident">password</span> : str</code></dt> |
|
1857 |
<dd> |
|
1858 |
<div class="desc"></div> |
|
1859 |
</dd> |
|
1860 |
<dt id="sql_app.schemas.UserBase.role"><code class="name">var <span class="ident">role</span> : str</code></dt> |
|
1861 |
<dd> |
|
1862 |
<div class="desc"></div> |
|
1863 |
</dd> |
|
1864 |
<dt id="sql_app.schemas.UserBase.username"><code class="name">var <span class="ident">username</span> : str</code></dt> |
|
1865 |
<dd> |
|
1866 |
<div class="desc"></div> |
|
1867 |
</dd> |
|
1868 |
</dl> |
|
1869 |
</dd> |
|
1870 |
<dt id="sql_app.schemas.UserCreate"><code class="flex name class"> |
|
1871 |
<span>class <span class="ident">UserCreate</span></span> |
|
1872 |
<span>(</span><span>**data: Any)</span> |
|
1873 |
</code></dt> |
|
1874 |
<dd> |
|
1875 |
<div class="desc"><p>Classes used for creating new User entry</p> |
|
1876 |
<p>Create a new model by parsing and validating input data from keyword arguments.</p> |
|
1877 |
<p>Raises ValidationError if the input data cannot be parsed to form a valid model.</p></div> |
|
1878 |
<details class="source"> |
|
1879 |
<summary> |
|
1880 |
<span>Expand source code</span> |
|
1881 |
</summary> |
|
1882 |
<pre><code class="python">class UserCreate(UserBase): |
|
1883 |
pass</code></pre> |
|
1884 |
</details> |
|
1885 |
<h3>Ancestors</h3> |
|
1886 |
<ul class="hlist"> |
|
1887 |
<li><a title="sql_app.schemas.UserBase" href="#sql_app.schemas.UserBase">UserBase</a></li> |
|
1888 |
<li>pydantic.main.BaseModel</li> |
|
1889 |
<li>pydantic.utils.Representation</li> |
|
1890 |
</ul> |
|
1891 |
<h3>Subclasses</h3> |
|
1892 |
<ul class="hlist"> |
|
1893 |
<li><a title="sql_app.schemas.User" href="#sql_app.schemas.User">User</a></li> |
|
1894 |
</ul> |
|
1895 |
</dd> |
|
1574 | 1896 |
</dl> |
1575 | 1897 |
</section> |
1576 | 1898 |
</article> |
... | ... | |
1598 | 1920 |
<li> |
1599 | 1921 |
<h4><code><a title="sql_app.schemas.BodyDeviceBase" href="#sql_app.schemas.BodyDeviceBase">BodyDeviceBase</a></code></h4> |
1600 | 1922 |
<ul class=""> |
1923 |
<li><code><a title="sql_app.schemas.BodyDeviceBase.comment" href="#sql_app.schemas.BodyDeviceBase.comment">comment</a></code></li> |
|
1924 |
<li><code><a title="sql_app.schemas.BodyDeviceBase.inventory_number" href="#sql_app.schemas.BodyDeviceBase.inventory_number">inventory_number</a></code></li> |
|
1601 | 1925 |
<li><code><a title="sql_app.schemas.BodyDeviceBase.serial_number" href="#sql_app.schemas.BodyDeviceBase.serial_number">serial_number</a></code></li> |
1602 | 1926 |
</ul> |
1603 | 1927 |
</li> |
... | ... | |
1605 | 1929 |
<h4><code><a title="sql_app.schemas.BodyDeviceCreate" href="#sql_app.schemas.BodyDeviceCreate">BodyDeviceCreate</a></code></h4> |
1606 | 1930 |
</li> |
1607 | 1931 |
<li> |
1932 |
<h4><code><a title="sql_app.schemas.BodyDeviceTemp" href="#sql_app.schemas.BodyDeviceTemp">BodyDeviceTemp</a></code></h4> |
|
1933 |
<ul class=""> |
|
1934 |
<li><code><a title="sql_app.schemas.BodyDeviceTemp.serial_number" href="#sql_app.schemas.BodyDeviceTemp.serial_number">serial_number</a></code></li> |
|
1935 |
</ul> |
|
1936 |
</li> |
|
1937 |
<li> |
|
1608 | 1938 |
<h4><code><a title="sql_app.schemas.Device" href="#sql_app.schemas.Device">Device</a></code></h4> |
1609 | 1939 |
<ul class=""> |
1610 | 1940 |
<li><code><a title="sql_app.schemas.Device.Config" href="#sql_app.schemas.Device.Config">Config</a></code></li> |
1611 |
<li><code><a title="sql_app.schemas.Device.assigned" href="#sql_app.schemas.Device.assigned">assigned</a></code></li> |
|
1612 | 1941 |
<li><code><a title="sql_app.schemas.Device.id" href="#sql_app.schemas.Device.id">id</a></code></li> |
1613 | 1942 |
<li><code><a title="sql_app.schemas.Device.licenses" href="#sql_app.schemas.Device.licenses">licenses</a></code></li> |
1614 | 1943 |
<li><code><a title="sql_app.schemas.Device.logs" href="#sql_app.schemas.Device.logs">logs</a></code></li> |
... | ... | |
1617 | 1946 |
<li> |
1618 | 1947 |
<h4><code><a title="sql_app.schemas.DeviceBase" href="#sql_app.schemas.DeviceBase">DeviceBase</a></code></h4> |
1619 | 1948 |
<ul class=""> |
1949 |
<li><code><a title="sql_app.schemas.DeviceBase.comment" href="#sql_app.schemas.DeviceBase.comment">comment</a></code></li> |
|
1950 |
<li><code><a title="sql_app.schemas.DeviceBase.inventory_number" href="#sql_app.schemas.DeviceBase.inventory_number">inventory_number</a></code></li> |
|
1620 | 1951 |
<li><code><a title="sql_app.schemas.DeviceBase.product_id" href="#sql_app.schemas.DeviceBase.product_id">product_id</a></code></li> |
1621 | 1952 |
<li><code><a title="sql_app.schemas.DeviceBase.serial_number" href="#sql_app.schemas.DeviceBase.serial_number">serial_number</a></code></li> |
1622 | 1953 |
<li><code><a title="sql_app.schemas.DeviceBase.vendor_id" href="#sql_app.schemas.DeviceBase.vendor_id">vendor_id</a></code></li> |
... | ... | |
1644 | 1975 |
<h4><code><a title="sql_app.schemas.DeviceLicenseCreate" href="#sql_app.schemas.DeviceLicenseCreate">DeviceLicenseCreate</a></code></h4> |
1645 | 1976 |
</li> |
1646 | 1977 |
<li> |
1978 |
<h4><code><a title="sql_app.schemas.DeviceTemp" href="#sql_app.schemas.DeviceTemp">DeviceTemp</a></code></h4> |
|
1979 |
<ul class=""> |
|
1980 |
<li><code><a title="sql_app.schemas.DeviceTemp.product_id" href="#sql_app.schemas.DeviceTemp.product_id">product_id</a></code></li> |
|
1981 |
<li><code><a title="sql_app.schemas.DeviceTemp.serial_number" href="#sql_app.schemas.DeviceTemp.serial_number">serial_number</a></code></li> |
|
1982 |
<li><code><a title="sql_app.schemas.DeviceTemp.vendor_id" href="#sql_app.schemas.DeviceTemp.vendor_id">vendor_id</a></code></li> |
|
1983 |
</ul> |
|
1984 |
</li> |
|
1985 |
<li> |
|
1647 | 1986 |
<h4><code><a title="sql_app.schemas.HeadDevice" href="#sql_app.schemas.HeadDevice">HeadDevice</a></code></h4> |
1648 | 1987 |
<ul class=""> |
1649 | 1988 |
<li><code><a title="sql_app.schemas.HeadDevice.Config" href="#sql_app.schemas.HeadDevice.Config">Config</a></code></li> |
... | ... | |
1654 | 1993 |
<li> |
1655 | 1994 |
<h4><code><a title="sql_app.schemas.HeadDeviceBase" href="#sql_app.schemas.HeadDeviceBase">HeadDeviceBase</a></code></h4> |
1656 | 1995 |
<ul class=""> |
1996 |
<li><code><a title="sql_app.schemas.HeadDeviceBase.comment" href="#sql_app.schemas.HeadDeviceBase.comment">comment</a></code></li> |
|
1997 |
<li><code><a title="sql_app.schemas.HeadDeviceBase.inventory_number" href="#sql_app.schemas.HeadDeviceBase.inventory_number">inventory_number</a></code></li> |
|
1657 | 1998 |
<li><code><a title="sql_app.schemas.HeadDeviceBase.serial_number" href="#sql_app.schemas.HeadDeviceBase.serial_number">serial_number</a></code></li> |
1658 | 1999 |
</ul> |
1659 | 2000 |
</li> |
... | ... | |
1661 | 2002 |
<h4><code><a title="sql_app.schemas.HeadDeviceCreate" href="#sql_app.schemas.HeadDeviceCreate">HeadDeviceCreate</a></code></h4> |
1662 | 2003 |
</li> |
1663 | 2004 |
<li> |
2005 |
<h4><code><a title="sql_app.schemas.HeadDeviceTemp" href="#sql_app.schemas.HeadDeviceTemp">HeadDeviceTemp</a></code></h4> |
|
2006 |
<ul class=""> |
|
2007 |
<li><code><a title="sql_app.schemas.HeadDeviceTemp.serial_number" href="#sql_app.schemas.HeadDeviceTemp.serial_number">serial_number</a></code></li> |
|
2008 |
</ul> |
|
2009 |
</li> |
|
2010 |
<li> |
|
1664 | 2011 |
<h4><code><a title="sql_app.schemas.LDLog" href="#sql_app.schemas.LDLog">LDLog</a></code></h4> |
1665 | 2012 |
<ul class=""> |
1666 | 2013 |
<li><code><a title="sql_app.schemas.LDLog.Config" href="#sql_app.schemas.LDLog.Config">Config</a></code></li> |
... | ... | |
1706 | 2053 |
<h4><code><a title="sql_app.schemas.License" href="#sql_app.schemas.License">License</a></code></h4> |
1707 | 2054 |
<ul class=""> |
1708 | 2055 |
<li><code><a title="sql_app.schemas.License.Config" href="#sql_app.schemas.License.Config">Config</a></code></li> |
2056 |
<li><code><a title="sql_app.schemas.License.body_devices" href="#sql_app.schemas.License.body_devices">body_devices</a></code></li> |
|
1709 | 2057 |
<li><code><a title="sql_app.schemas.License.devices" href="#sql_app.schemas.License.devices">devices</a></code></li> |
2058 |
<li><code><a title="sql_app.schemas.License.head_devices" href="#sql_app.schemas.License.head_devices">head_devices</a></code></li> |
|
1710 | 2059 |
<li><code><a title="sql_app.schemas.License.id" href="#sql_app.schemas.License.id">id</a></code></li> |
1711 | 2060 |
</ul> |
1712 | 2061 |
</li> |
... | ... | |
1714 | 2063 |
<h4><code><a title="sql_app.schemas.LicenseBase" href="#sql_app.schemas.LicenseBase">LicenseBase</a></code></h4> |
1715 | 2064 |
<ul class=""> |
1716 | 2065 |
<li><code><a title="sql_app.schemas.LicenseBase.expiration_date" href="#sql_app.schemas.LicenseBase.expiration_date">expiration_date</a></code></li> |
2066 |
<li><code><a title="sql_app.schemas.LicenseBase.license_id" href="#sql_app.schemas.LicenseBase.license_id">license_id</a></code></li> |
|
1717 | 2067 |
<li><code><a title="sql_app.schemas.LicenseBase.name" href="#sql_app.schemas.LicenseBase.name">name</a></code></li> |
1718 | 2068 |
</ul> |
1719 | 2069 |
</li> |
... | ... | |
1724 | 2074 |
<h4><code><a title="sql_app.schemas.PC" href="#sql_app.schemas.PC">PC</a></code></h4> |
1725 | 2075 |
<ul class=""> |
1726 | 2076 |
<li><code><a title="sql_app.schemas.PC.Config" href="#sql_app.schemas.PC.Config">Config</a></code></li> |
1727 |
<li><code><a title="sql_app.schemas.PC.assigned" href="#sql_app.schemas.PC.assigned">assigned</a></code></li> |
|
1728 | 2077 |
<li><code><a title="sql_app.schemas.PC.id" href="#sql_app.schemas.PC.id">id</a></code></li> |
2078 |
<li><code><a title="sql_app.schemas.PC.logs_ld" href="#sql_app.schemas.PC.logs_ld">logs_ld</a></code></li> |
|
1729 | 2079 |
<li><code><a title="sql_app.schemas.PC.logs_pc" href="#sql_app.schemas.PC.logs_pc">logs_pc</a></code></li> |
1730 | 2080 |
</ul> |
1731 | 2081 |
</li> |
... | ... | |
1743 | 2093 |
<h4><code><a title="sql_app.schemas.Team" href="#sql_app.schemas.Team">Team</a></code></h4> |
1744 | 2094 |
<ul class=""> |
1745 | 2095 |
<li><code><a title="sql_app.schemas.Team.Config" href="#sql_app.schemas.Team.Config">Config</a></code></li> |
2096 |
<li><code><a title="sql_app.schemas.Team.devices" href="#sql_app.schemas.Team.devices">devices</a></code></li> |
|
1746 | 2097 |
<li><code><a title="sql_app.schemas.Team.id" href="#sql_app.schemas.Team.id">id</a></code></li> |
1747 |
<li><code><a title="sql_app.schemas.Team.pcs" href="#sql_app.schemas.Team.pcs">pcs</a></code></li> |
|
1748 | 2098 |
</ul> |
1749 | 2099 |
</li> |
1750 | 2100 |
<li> |
... | ... | |
1796 | 2146 |
<li> |
1797 | 2147 |
<h4><code><a title="sql_app.schemas.USBTempCreate" href="#sql_app.schemas.USBTempCreate">USBTempCreate</a></code></h4> |
1798 | 2148 |
</li> |
2149 |
<li> |
|
2150 |
<h4><code><a title="sql_app.schemas.User" href="#sql_app.schemas.User">User</a></code></h4> |
|
2151 |
<ul class=""> |
|
2152 |
<li><code><a title="sql_app.schemas.User.Config" href="#sql_app.schemas.User.Config">Config</a></code></li> |
|
2153 |
<li><code><a title="sql_app.schemas.User.id" href="#sql_app.schemas.User.id">id</a></code></li> |
|
2154 |
</ul> |
|
2155 |
</li> |
|
2156 |
<li> |
|
2157 |
<h4><code><a title="sql_app.schemas.UserBase" href="#sql_app.schemas.UserBase">UserBase</a></code></h4> |
|
2158 |
<ul class=""> |
|
2159 |
<li><code><a title="sql_app.schemas.UserBase.password" href="#sql_app.schemas.UserBase.password">password</a></code></li> |
|
2160 |
<li><code><a title="sql_app.schemas.UserBase.role" href="#sql_app.schemas.UserBase.role">role</a></code></li> |
|
2161 |
<li><code><a title="sql_app.schemas.UserBase.username" href="#sql_app.schemas.UserBase.username">username</a></code></li> |
|
2162 |
</ul> |
|
2163 |
</li> |
|
2164 |
<li> |
|
2165 |
<h4><code><a title="sql_app.schemas.UserCreate" href="#sql_app.schemas.UserCreate">UserCreate</a></code></h4> |
|
2166 |
</li> |
|
1799 | 2167 |
</ul> |
1800 | 2168 |
</li> |
1801 | 2169 |
</ul> |
Také k dispozici: Unified diff
re #9846 Changed keyman devices, body devices views. Added Head devices view. Changed filtering of logs, ldlogs, body devices, head devices and keyman devices. Changed HTML tables style and few labels.