~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/modules/scenario/templates/shifttemplatesSuccess.php

  • Committer: Fabio Albuquerque
  • Date: 2011-08-08 22:10:34 UTC
  • mfrom: (1.26.1 push-trunk)
  • Revision ID: fabiocbalbuquerque@gmail.com-20110808221034-vfr4ggsbxsdllq82
Merges from CUNY SPS

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
<p>Shift Templates are templates for when responding staff will be scheduled to work.  The times 
6
6
  entered are relative, and when an event is created time will become specific to that event.</p>
7
7
<form action="<?php echo url_for('scenario/shifttemplates?id=' . $scenario_id); ?>" method="post" name="shift_template">
8
 
<?php include_partial('shifttemplateholder', array('shifttemplateforms' => $shifttemplateforms, 'scenario_id' => $scenario_id)) ?>
9
 
<div id ="newshifttemplates">
10
 
<a href="<?php echo url_for('scenario/addshifttemplate?id=' . $scenario_id); ?>" class="smallLinkButton addShiftTemplate" id="adder">+ Add Shift Template</a>
11
 
</div>
12
 
    <input type="submit" class="continueButton" value="Generate Resource Type Templates" name="Predefined" onclick="return confirm('Are you sure you want to generate templates for this scenario resources?  If you have already created templates, they will be lost.')"/>
13
 
    <input type="submit" class="continueButton" value="Save, Generate Shifts and Continue" name="Continue" />
 
8
  <?php include_partial('shifttemplateholder', array('shifttemplateforms' => $shifttemplateforms, 'scenario_id' => $scenario_id)) ?>
 
9
  <div id ="newshifttemplates">
 
10
  <!--<a href="<?php echo url_for('scenario/addshifttemplate?id=' . $scenario_id); ?>" class="smallLinkButton addShiftTemplate" id="adder">+ Add Shift Template</a>-->
 
11
  </div>
 
12
  <a href="<?php echo url_for('scenario/addshifttemplate?id=' . $scenario_id); ?>" class="smallLinkButton addShiftTemplate" id="adder">+ Add Shift Template</a>
 
13
  <br />
 
14
  <input type="hidden" name="deleteShiftTemplateId" id ="deleteShiftTemplateId"/>
 
15
<!--    <input type="submit" class="continueButton" value="Generate Resource Type Templates" name="Predefined" onclick="shiftTemplateIdVal('Hello Shirley');"/> -->
 
16
  <input type="submit" class="continueButton" value="Generate Resource Type Templates" name="Predefined" onclick="return confirm('Are you sure you want to generate templates for this scenario resources?  If you have already created templates, they will be lost.')"/>
 
17
  <input type="submit" class="continueButton" value="Save, Generate Shifts and Continue" name="Continue" />
14
18
</form>