示例#1
0
 public function __construct()
 {
     Asset::add('css/bootstrap/bootstrap.min.css');
     Asset::add('css/font-awesome/font-awesome.min.css');
     Asset::add('css/ionicons/ionicons.min.css');
     Asset::add('css/AdminLTE.min.css');
     Asset::add('css/skins/skin-blue.min.css');
     Asset::add('plugins/datepicker/datepicker3.css');
     Asset::add('plugins/colorpicker/bootstrap-colorpicker.min.css');
     Asset::add('plugins/select2/select2.min.css');
     Asset::add('plugins/bootstrap-toggle/bootstrap-toggle.min.css');
     Asset::add('plugins/jquery-notifybar/css/jquery.notifyBar.css');
     Asset::add('css/styles.css');
     Asset::add('plugins/jQuery/jQuery-2.1.4.min.js', 'footer');
     Asset::add('js/bootstrap/bootstrap.min.js', 'footer');
     Asset::add('js/app.min.js', 'footer');
     Asset::add('plugins/datepicker/bootstrap-datepicker.js', 'footer');
     Asset::add('plugins/datepicker/locales/bootstrap-datepicker.' . Lang::locale() . '.js', 'footer');
     Asset::add('plugins/colorpicker/bootstrap-colorpicker.min.js', 'footer');
     Asset::add('plugins/bootstrap-toggle/bootstrap-toggle.min.js', 'footer');
     Asset::add('plugins/select2/select2.min.js', 'footer');
     Asset::add('plugins/select2/i18n/' . Lang::locale() . '.js', 'footer');
     Asset::add('plugins/jquery-notifybar/jquery.notifyBar.js', 'footer');
     Asset::add('plugins/input-mask/jquery.inputmask.js', 'footer');
     Asset::add('plugins/input-mask/jquery.inputmask.extensions.js', 'footer');
     Asset::add('plugins/input-mask/jquery.inputmask.numeric.extensions.js', 'footer');
     Asset::add('plugins/input-mask/jquery.inputmask.date.extensions.js', 'footer');
     Asset::add('plugins/input-mask/jquery.inputmask.regex.extensions.js', 'footer');
     Asset::add('js/callback.js', 'footer');
     Asset::add('js/onload.js', 'footer');
     Asset::add('js/scripts.js', 'footer');
     if (File::exists(public_path('js/' . controllerName() . '.js'))) {
         Asset::add('js/' . controllerName() . '.js', 'footer');
     }
 }
示例#2
0
<?php

$formation = App\Formation::all()->lists('formation_name', 'formation_name');
$formationLevel = ['Lower' => 'Lower', 'Middle' => 'Middle', 'Upper' => 'Upper'];
$age = ['Holocene' => 'Holocene', 'Pleistocene' => 'Pleistocene', 'Miocene' => 'Miocene', 'Oligocene' => 'Oligocene', 'Eocene' => 'Eocene', 'Paleocene' => 'Paleocene', 'Cretaceous' => 'Cretaceous', 'Jurassic' => 'Jurassic', 'Triassic' => 'Triassic', 'Permian' => 'Permian', 'Pliocene' => 'Pliocene', 'Carboniferous' => 'Carboniferous', 'Devonian' => 'Devonian', 'Ordovician' => 'Ordovician', 'Cambrian' => 'Cambrian'];
$ageEpoch = ['Early' => 'Early', 'Middle' => 'Middle', 'Late' => 'Late'];
if (controllerName() === 'Play') {
    $requiredReservoir = true;
} else {
    $requiredReservoir = false;
}
?>

<div class="panel panel-primary">
  <div class="panel-heading">
    <div class="panel-title">
      Geological Chance Factor
    </div>
  </div>
  <div class="panel-body">

    <div class="panel panel-default">
      <div class="panel-heading">
        <div class="panel-title">
          Source Rock
        </div>
      </div>
      <div class="panel-body">
        {{
          Form::bsSelect('gcf[src_data]', 'Proven or analog', [
            'Proven' => 'Proven',