www/profile_fermentation.php

Wed, 30 Jan 2019 16:40:23 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 30 Jan 2019 16:40:23 +0100
changeset 221
a8aabb63fbcc
parent 217
318aab371497
child 689
499c4921a90f
permissions
-rw-r--r--

Added two missing fields in getfermentablesources.php. When getting a single recipe from the database, update the fermentables json data with available inventory and ingredient. Added inventory column in the fermentable grid. Added ingredient selection in the fermentable popup window to replace ingredient.

<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php');
page_header('Vergisting profielen', 'profile_fermentation');
?>

   <div id="jqxgrid"></div>
   <div style="margin-top: 30px;">
    <div id="cellbegineditevent"></div>
    <div style="margin-top: 10px;" id="cellendeditevent"></div>
   </div>

   <!-- Popup editor window. -->
   <div id="popupWindow">
    <div>Wijzig vergisting profiel.</div>
    <div style="overflow: hidden;">
     <table style="width: 100%;">
      <tr>
       <td align="right" style="vertical-align: top;">Profiel naam:</td>
       <td align="left" colspan="3" style="vertical-align: top;"><input id="name" /></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Begin laag &deg;C:</td>
       <td align="left"><div id="inittemp_lo"></div></td>
       <td align="right" style="vertical-align: top;">Begin hoog &deg;C:</td>
       <td align="left"><div id="inittemp_hi"></div></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Koelkast of bier:</td>
       <td align="left" colspan="3"><div id="fridgemode"></div></td>
      </tr>
      <tr>
       <td align="right" style="vertical-align: top;">Stappen:</td>
       <td align="left" colspan="3"><div id="grid"></div></td>
      </tr>
      <tr>
       <td style="padding-top: 40px;" align="right"><input type="button" id="Delete" value="Verwijder" /></td>
       <td align="right"></td>
       <td align="right"></td>
       <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>
      </tr>
     </table>
    </div>
   </div>

<?php
confirm_delete();
page_footer();
?>

mercurial