| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
- <?php js::set('lang', $lang->dataset);?>
- <?php js::set('dataset', $dataset);?>
- <?php js::set('fields', $dataset->fields);?>
- <?php js::set('fieldSettings', $dataset->fieldSettings);?>
- <?php js::set('allTypeOptions', $allTypeOptions);?>
- <div id='mainContent' class='main-content'>
- <div class='center-block'>
- <div class='main-header'>
- <h2><?php echo $lang->dataset->edit;?></h2>
- </div>
- <div class="panel">
- <form method='post' target='hiddenwin' id='dataform' class="form-ajax">
- <table class='table table-form'>
- <tr>
- <th class='thWidth'><?php echo $lang->dataset->name;?></th>
- <td class='w-400px'>
- <?php echo html::input('name', $dataset->name, 'class="form-control"');?>
- </td>
- </tr>
- <tr>
- <th><?php echo $lang->dataset->sql;?></th>
- <td>
- <?php echo html::textarea('sql', $dataset->sql, "placeholder='" . $lang->dataset->sqlPlaceholder . "' class='form-control' rows=6");?>
- </td>
- </tr>
- <tr class="error hidden"><th></th><td></td></tr>
- <tr>
- <td></td>
- <td class='form-actions'>
- <button type="button" class="btn query btn-primary"><?php echo $lang->dataset->query;?></button>
- <button type="button" class="btn fieldSettings"><?php echo $lang->dataset->fieldSettings;?></button>
- <button type="button" class="btn save"><?php echo $lang->save;?></button>
- </td>
- </tr>
- </table>
- </form>
- </div>
- <div class="panel table-panel">
- <div class="panel-heading"><?php echo $lang->dataset->result?></div>
- <table class="result table table-condensed table-striped table-bordered table-fixed datatable">
- </table>
- </div>
- </div>
- </div>
- <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
|