Exemplo n.º 1
0
<?php

Section::start('content');
$sec_printed = print_r($template->template_sections, true);
?>

<h2>'<?php 
echo $template->title;
?>
' has been saved.</h2>
<p>Here's what the geeky version of the sections looks like:</p>
<pre> <?php 
echo $sec_printed;
?>
 </pre>

<?php 
Section::stop();
Exemplo n.º 2
0
Arquivo: index.php Projeto: ajb/rfpez
      <h1>Projects average <?php 
echo e(round($avg_bids_per_project, 1));
?>
 bids</h1>
      <div id="num-bids-chart"></div>
    </div>
    <div class="span-5">
      <h1>Bids average $<?php 
echo e(round($avg_price_total));
?>
</h1>
      <div id="price-bids-chart"></div>
    </div>
  </div>
  <?php 
Section::start('additional_scripts');
?>
    <script src="https://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22corechart%22%5D%7D%5D%7D"></script>
  <?php 
?>
  <?php 
Section::stop();
?>
  <script>
    Rfpez.reporting_stats({ newVendorPercentage: <?php 
echo json_encode($new_to_contracting);
?>
, signupsPerDay: <?php 
echo json_encode($signups_per_day);
?>
, bidsPerProject : <?php 
Exemplo n.º 3
0
?>
">&larr; Enter Variables</a>
      <button class="btn btn-primary pull-right">Download SOW &rarr;</button>
    </div>
  </form>
</div>

<?php 
Section::stop();
?>

<?php 
Section::start('additional-scripts');
?>
  <?php 
echo HTML::script('js/wysihtml5_parser_rules.js');
?>
  <?php 
echo HTML::script('js/wysihtml5-0.3.0.min.js');
?>
  <?php 
echo HTML::script('js/bootstrap-wysihtml5.js');
Section::stop();
?>

<?php 
Section::start('additional-styles');
?>
  <?php 
echo HTML::style('css/bootstrap-wysihtml5.css');
Section::stop();
Exemplo n.º 4
0
Arquivo: mine.php Projeto: ajb/rfpez
<?php

Section::inject('page_title', 'My Projects');
Section::start('inside_header');
?>
  <a class="officer-only toggle-my-all-projects" href="<?php 
echo e(route('projects'));
?>
">everybody's projects</a>
  <a class="btn btn-small btn-success new-project-btn pull-right" href="<?php 
echo e(route('new_projects'));
?>
">
    <i class="icon-plus-sign icon-white"></i>
    new project
  </a>
<?php 
Section::stop();
?>
<div class="subheader"></div>
<div class="container inner-container">
  <?php 
if ($projects) {
    ?>
    <table class="table my-project-table">
      <thead>
        <tr>
          <th class="type"></th>
          <th class="project-title">Project</th>
          <th class="status">Status</th>
          <th class="due">
Exemplo n.º 5
0
?>
            <?php 
echo Form::text('options[id]', $test->option('id'));
?>
        </div>
        
        <div class="span3">
            <?php 
echo Form::label('options[attributes][class]', 'CSS Class');
?>
            <?php 
echo Form::text('options[attributes][class]', $test->option('attributes')['class']);
?>
        </div>
        <div class="span3">
            <?php 
echo Form::label('options[inner_text]', 'Element Inner Text');
?>
            <?php 
echo Form::text('options[inner_text]', $test->option('inner_text'));
?>
        </div>
    </div>
</div>

<?php 
Section::start('additional_footer_content');
?>
    <script>require(['clementia/test-types']);</script>
<?php 
Section::stop();