PageRenderTime 44ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/application/views/configure-company.php

https://gitlab.com/leonelsoriano3/sigepro
PHP | 168 lines | 82 code | 47 blank | 39 comment | 1 complexity | aea24af35b28e19be065cfb129eeae74 MD5 | raw file
  1. <?php
  2. /**
  3. * User: leonel
  4. * Date: 03/06/16
  5. * Time: 01:25
  6. */
  7. defined('BASEPATH') OR exit('No direct script access allowed');
  8. ?>
  9. <!--ENCABEZADO DE CADA PAGINA-->
  10. <!--..:::::::::::::::::::::..-->
  11. <script ></script>
  12. <ol class="breadcrumb">
  13. <li class=""><a>Controles</a></li>
  14. <li class=""><a>Datos Maestros</a></li>
  15. <li class=""><a>Empresa</a></li>
  16. </ol>
  17. <div class="page-heading">
  18. <h1><i class="fa fa-user"></i> Empresa</b></h1>
  19. </div>
  20. <div class="container-fluid">
  21. <h1>Crear Empresa</h1>
  22. <div class="panel panel-sky">
  23. <div class="panel-heading" style="background-color: #008084;">
  24. <h2>Formulario de Registro</h2>
  25. </div>
  26. <div class="panel-body">
  27. <div class="table-responsive">
  28. <form onsubmit="return testSelects();" name="fproyectosadd" id="fproyectosadd" action="Dashboard/addProject" method="post"
  29. >
  30. <?php if (isset($proyectActive) ): ?>
  31. <?php echo($idHidden); ?>
  32. <?php endif; ?>
  33. <table class="table">
  34. <tr style="margin-top:300px !important">
  35. <td class="ewTableHeader"><span>Alias</span></td>
  36. <td>
  37. <input type="text"
  38. name="alias" id="x_alias" size="30" maxlength="255" value="" />
  39. </td>
  40. </tr>
  41. </table>
  42. <p>
  43. <input type="submit" class="btn btn-success pull-right" name="btnAction" id="btnAction"
  44. value="Guardar">
  45. </form>
  46. </div>
  47. </div>
  48. </div>
  49. <?php echo($companyName); ?>
  50. <table id="example" class="display" cellspacing="0" width="100%">
  51. <thead>
  52. <tr>
  53. <th>Nombre</th>
  54. <th>Alias</th>
  55. <th>Fecha de Entrega</th>
  56. <th>Objetivos</th>
  57. <th>Modificar</th>
  58. <th>Eliminar</th>
  59. </tr>
  60. </thead>
  61. <tbody>
  62. </tbody>
  63. </table>
  64. </div> <!-- .container-fluid -->
  65. </div> <!-- #page-content -->
  66. </div>
  67. <footer role="contentinfo">
  68. <div class="clearfix">
  69. <ul class="list-unstyled list-inline pull-left">
  70. <li><h6 style="margin: 0;"> &copy; 2016 ISM Center</h6></li>
  71. </ul>
  72. <button class="pull-right btn btn-link btn-xs hidden-print" id="back-to-top"><i
  73. class="fa fa-arrow-circle-up"></i></button>
  74. </div>
  75. </footer>
  76. </div>
  77. </div>
  78. </div>
  79. <div style="margin-top: 20px">
  80. <input type="button" class="pullRight btn btn-success" name="btnAction" id="newProject" value="Nuevo Projecto"/>
  81. </div>
  82. <!-- Load site level scripts -->
  83. <link type="text/css" href="<?= base_url('/assets/css/jquery.dataTables.css') ?>" rel="stylesheet">
  84. <script type="text/javascript" src="<?= base_url('/assets/js/jquery.dataTables.min.js') ?>"></script>
  85. <script>
  86. $('#example').DataTable();
  87. // loadAjax("#newProject" ,7 );
  88. // function goUpdateProject(idProject) {
  89. // var parametros = {
  90. // view : 7,
  91. // idProject : idProject
  92. // };
  93. // $.ajax({
  94. // data: parametros,
  95. // url: "./dashboard/ajaxUserProfile/",
  96. // type: "post",
  97. // beforeSend: function () {
  98. // // $("#resultado").html("<img src="../../images/ajax-loader.gif" alt="Ajax Cargando" height="42" width="42">");
  99. // },
  100. // success: function (response) {
  101. // $("#ajax-middle").html(response);
  102. // }
  103. // });
  104. // }
  105. // function deleteProyect(idProject) {
  106. // var parametros = {
  107. // deleteid : idProject
  108. // };
  109. // $.ajax({
  110. // data: parametros,
  111. // url: "./dashboard/deleteInList/",
  112. // type: "post",
  113. // beforeSend: function () {
  114. // // $("#resultado").html("<img src="../../images/ajax-loader.gif" alt="Ajax Cargando" height="42" width="42">");
  115. // },
  116. // success: function (response) {
  117. // $("#ajax-middle").html(response);
  118. // }
  119. // });
  120. // }
  121. </script>