create.html.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <?php js::set('lang', $lang->dataset);?>
  3. <div id='mainContent' class='main-content'>
  4. <div class='center-block'>
  5. <div class='main-header'>
  6. <h2><?php echo $lang->dataset->create;?></h2>
  7. </div>
  8. <div class="panel">
  9. <form method='post' target='hiddenwin' id='dataform' class="form-ajax">
  10. <table class='table table-form'>
  11. <tr>
  12. <th class='thWidth'><?php echo $lang->dataset->name;?></th>
  13. <td class='w-400px'>
  14. <?php echo html::input('name', '', 'class="form-control"');?>
  15. </td>
  16. </tr>
  17. <tr>
  18. <th><?php echo $lang->dataset->sql;?></th>
  19. <td>
  20. <?php echo html::textarea('sql', '', "placeholder='" . $lang->dataset->sqlPlaceholder . "' class='form-control' rows=6");?>
  21. </td>
  22. </tr>
  23. <tr class="error hidden"><th></th><td></td></tr>
  24. <tr>
  25. <td></td>
  26. <td class='form-actions'>
  27. <button type="button" class="btn query btn-primary"><?php echo $lang->dataset->query;?></button>
  28. <button type="button" class="btn fieldSettings"><?php echo $lang->dataset->fieldSettings;?></button>
  29. <button type="button" class="btn save"><?php echo $lang->save;?></button>
  30. </td>
  31. </tr>
  32. </table>
  33. </form>
  34. </div>
  35. <div class="panel table-panel">
  36. <div class="panel-heading"><?php echo $lang->dataset->result?></div>
  37. <table class="result table table-condensed table-striped table-bordered table-fixed datatable">
  38. </table>
  39. </div>
  40. </div>
  41. </div>
  42. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>