Sat, 15 Jun 2019 19:43:46 +0200
Version 0.4.4
12 | 1 | <?php |
2 | require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php'); | |
3 | page_header('Hoppen', 'inv_hops'); | |
4 | ?> | |
5 | ||
6 | <div id="jqxgrid"></div> | |
7 | <div style="margin-top: 30px;"> | |
8 | <div id="cellbegineditevent"></div> | |
9 | <div style="margin-top: 10px;" id="cellendeditevent"></div> | |
10 | </div> | |
11 | ||
12 | <!-- Popup editor window. --> | |
13 | <div id="popupWindow"> | |
14 | <div>Wijzig hop.</div> | |
15 | <div style="overflow: hidden;"> | |
199
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
16 | <table style="width: 100%;"> |
12 | 17 | <tr> |
18 | <td align="right" style="vertical-align: top;">Hop naam:</td> | |
19 | <td align="left" colspan="3" style="vertical-align: top;"><input id="name" /></td> | |
20 | </tr> | |
21 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
22 | <td align="right" style="vertical-align: top;">Opmerkingen:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
23 | <td align="left" colspan="3"><textarea id="notes"></textarea></td> |
12 | 24 | </tr> |
25 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
26 | <td align="right" style="vertical-align: top;">Type hop:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
27 | <td align="left"><div id="type"></div></td> |
13 | 28 | <td align="right" style="vertical-align: top;">Totaal oliegehalte %:</td> |
29 | <td align="left" colspan="3" style="vertical-align: top;"><input id="total_oil" /></td> | |
12 | 30 | </tr> |
31 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
32 | <td align="right" style="vertical-align: top;">Herkomst:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
33 | <td align="left" style="vertical-align: top;"><input id="origin" /></td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
34 | <td align="right" style="vertical-align: top;">Humuleen %:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
35 | <td align="left" style="vertical-align: top;"><input id="humulene" /></td> |
12 | 36 | </tr> |
37 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
38 | <td align="right" style="vertical-align: top;">Vervangen door:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
39 | <td align="left" style="vertical-align: top;"><input id="substitutes" /></td> |
223
0de4455bd2a1
Fixed spelling area in all programs for caryophyllene. This is still wrong in brouwhulp, we correct it during database import. Also mycrene was spelled myrcene, my fault. The hops grid now uses a popup editor, this is not yet complete. Friendly weight display in the hop grid and added the inventory comlumn.
Michiel Broek <mbroek@mbse.eu>
parents:
199
diff
changeset
|
40 | <td align="right" style="vertical-align: top;">Caryofyleen %:</td> |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
41 | <td align="left" style="vertical-align: top;"><input id="caryophyllene" /></td> |
12 | 42 | </tr> |
43 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
44 | <td align="right" style="vertical-align: top;">Hop stabiliteitindex:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
45 | <td align="left" style="vertical-align: top;"><input id="hsi" /></td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
46 | <td align="right" style="vertical-align: top;">Myrceen %:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
47 | <td align="left" style="vertical-align: top;"><input id="myrcene" /></td> |
12 | 48 | </tr> |
49 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
50 | <td colspan="2"> </td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
51 | <td align="right" style="vertical-align: top;">Cohumuloon %:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
52 | <td align="left" style="vertical-align: top;"><input id="cohumulone" /></td> |
12 | 53 | </tr> |
54 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
55 | <td colspan="4"><hr></td> |
12 | 56 | </tr> |
57 | <tr> | |
13 | 58 | <td align="right" style="vertical-align: top;">Voorraad in gram:</td> |
12 | 59 | <td align="left"><div id="inventory"></div></td> |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
60 | <td align="right" style="vertical-align: top;">Vorm van de voorraad:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
61 | <td align="left"><div id="form"></div></td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
62 | </tr> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
63 | <tr> |
13 | 64 | <td align="right" style="vertical-align: top;">Prijs per kg.:</td> |
12 | 65 | <td align="left"><div id="cost"></div></td> |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
66 | <td align="right" style="vertical-align: top;">Alphazuur %:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
67 | <td align="left" style="vertical-align: top;"><input id="alpha" /></td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
68 | </tr> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
69 | <tr> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
70 | <td align="right" style="vertical-align: top;">Altijd op voorraad:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
71 | <td align="left"><div id="always_on_stock"></div></td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
72 | <td align="right" style="vertical-align: top;">Betazuur %:</td> |
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
73 | <td align="left" style="vertical-align: top;"><input id="beta" /></td> |
12 | 74 | </tr> |
75 | <tr> | |
199
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
76 | <td align="right" style="vertical-align: top;">Waarde voorraad:</td> |
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
77 | <td align="left"><div id="totval"></div></td> |
13 | 78 | <td align="right" style="vertical-align: top;">Oogst datum:</td> |
12 | 79 | <td align="left" style="vertical-align: top;"><div id="production_date"></div></td> |
199
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
80 | </tr> |
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
81 | <tr> |
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
82 | <td colspan="2"> </td> |
12 | 83 | <td align="right" style="vertical-align: top;">Gebruik voor datum:</td> |
84 | <td align="left" style="vertical-align: top;"><div id="tht_date"></div></td> | |
85 | </tr> | |
86 | <tr> | |
196
531d5458782f
Hops database bool to int types. Dropdown lists are using tables with indexes. Dropdown lists display in Dutch. Save and delete in the database now use POST instead of GET. Removed the useat field. Redesigned the web page. Code cleanup.
Michiel Broek <mbroek@mbse.eu>
parents:
19
diff
changeset
|
87 | <td style="padding-top: 40px;" align="right"><input type="button" id="Delete" value="Verwijder" /></td> |
284
a93fcd87f561
Hops can be cloned to allow new crop, or different forms.
Michiel Broek <mbroek@mbse.eu>
parents:
223
diff
changeset
|
88 | <td style="padding-top: 40px;" align="left"><input type="button" id="Clone" value="Kloon" /></td> |
12 | 89 | <td align="right"></td> |
199
dad62ec9af18
Added total cost values to the fermenter and hop editor screens.
Michiel Broek <mbroek@mbse.eu>
parents:
196
diff
changeset
|
90 | <td style="padding-top: 40px;" align="left"><input style="margin-right: 5px;" type="button" id="Save" value="Sla op" /><input id="Cancel" type="button" value="Annuleer" /></td> |
12 | 91 | </tr> |
92 | </table> | |
93 | </div> | |
94 | </div> | |
95 | ||
96 | <?php | |
97 | confirm_delete(); | |
98 | page_footer(); | |
99 | ?> |