Browse Source

paths of js files changed, path to grids also

feature/refractoring
Paul Rock 7 years ago
parent
commit
09d79a8fc4
  1. 11
      include/html/grids.php
  2. 10
      public/index.php
  3. 2
      resources/js/grids.js

11
include/html/grids.php

@ -83,14 +83,3 @@
</div> </div>
</div> </div>
</div> </div>
<script src="vendor/jquery/dist/jquery.min.js"></script>
<script src="vendor/bootstrap/js/modal.js"></script>
<script src="vendor/bootstrap/js/tooltip.js"></script>
<script src="vendor/bootstrap/js/tab.js"></script>
<script src="vendor/bootstrap/js/popover.js"></script>
<script src="vendor/bootstrap-table/dist/bootstrap-table.min.js"></script>
<script src="vendor/bootstrap-datepicker/dist/js/bootstrap-datepicker.js"></script>
<script src="vendor/bootstrap-table/dist/extensions/editable/bootstrap-table-editable.min.js"></script>
<script src="vendor/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.js"></script>
<script src="js/grids.js"></script>

10
public/index.php

@ -1,5 +1,5 @@
<?php <?php
# Enable dotEnv support // Enable dotEnv support
require_once __DIR__ . '/../vendor/autoload.php'; require_once __DIR__ . '/../vendor/autoload.php';
(new Dotenv\Dotenv(__DIR__ . '/../'))->load(); (new Dotenv\Dotenv(__DIR__ . '/../'))->load();
@ -208,5 +208,13 @@
require(dirname(__FILE__) . '/../include/html/grids.php'); require(dirname(__FILE__) . '/../include/html/grids.php');
} }
?> ?>
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/bootstrap-table.min.js"></script>
<script src="/js/bootstrap-datepicker.js"></script>
<script src="/js/bootstrap-table-editable.min.js"></script>
<script src="/js/bootstrap-editable.js"></script>
<script src="/js/grids.js"></script>
</body> </body>
</html> </html>

2
resources/js/grids.js

@ -2,7 +2,7 @@ $(function () {
"use strict"; "use strict";
// ------------------------- GLOBAL definitions ------------------------- // ------------------------- GLOBAL definitions -------------------------
var gridsUrl = 'include/grids.php'; var gridsUrl = 'grids.php';
function deleteFormatter() { function deleteFormatter() {
return "<span class='glyphicon glyphicon-remove action'></span"; return "<span class='glyphicon glyphicon-remove action'></span";

Loading…
Cancel
Save