Commit 999a6ca9 authored by Cyril Vazquez's avatar Cyril Vazquez

Moved dependency/public resources to web/public to remove the symlink

parent 1ca56705
......@@ -238,60 +238,60 @@ class Document extends \dependency\xml\Document
}
// add css
$this->addStyle("/public/dependency/html/css/bootstrap-toggle/bootstrap-toggle.css");
//$this->addStyle("/public/dependency/html/css/bootstrap-daterangepicker/daterangepicker.css");
$this->addStyle("/public/css/bootstrap-toggle/bootstrap-toggle.css");
//$this->addStyle("/public/css/bootstrap-daterangepicker/daterangepicker.css");
// Add js scripts
$this->addScript("/public/dependency/html/js/jQuery_1.11.0/jQuery.js");
$this->addScript("/public/dependency/html/js/jQueryUI_1.12.1/jquery-ui.min.js");
$this->addScript("/public/dependency/html/js/jQueryUI_touch-punch_0.2.3/jquery.ui.touch-punch.js");
$this->addScript("/public/js/jQuery_1.11.0/jQuery.js");
$this->addScript("/public/js/jQueryUI_1.12.1/jquery-ui.min.js");
$this->addScript("/public/js/jQueryUI_touch-punch_0.2.3/jquery.ui.touch-punch.js");
//less compiler
$this->addScript("/public/dependency/html/js/less_1.7.0/less.js");
$this->addScript("/public/js/less_1.7.0/less.js");
//bootstrap.affix
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/affix.js");
$this->addScript("/public/js/bootstrap_3.1.1/affix.js");
//bootstrap.alert
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/alert.js");
$this->addScript("/public/js/bootstrap_3.1.1/alert.js");
//bootstrap.button
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/button.js");
$this->addScript("/public/js/bootstrap_3.1.1/button.js");
//bootstrap.carousel
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/carousel.js");
$this->addScript("/public/js/bootstrap_3.1.1/carousel.js");
//bootstrap.collapse
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/collapse.js");
$this->addScript("/public/js/bootstrap_3.1.1/collapse.js");
//bootstrap.dropdown
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/dropdown.js");
$this->addScript("/public/js/bootstrap_3.1.1/dropdown.js");
//bootstrap.modal
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/modal.js");
$this->addScript("/public/js/bootstrap_3.1.1/modal.js");
//bootstrap.tooltip
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/tooltip.js");
$this->addScript("/public/js/bootstrap_3.1.1/tooltip.js");
//bootstrap.popover
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/popover.js");
$this->addScript("/public/js/bootstrap_3.1.1/popover.js");
//bootstrap.scrollspy
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/scrollspy.js");
$this->addScript("/public/js/bootstrap_3.1.1/scrollspy.js");
//bootstrap.tab
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/tab.js");
$this->addScript("/public/js/bootstrap_3.1.1/tab.js");
//bootstrap.transition
$this->addScript("/public/dependency/html/js/bootstrap_3.1.1/transition.js");
$this->addScript("/public/js/bootstrap_3.1.1/transition.js");
//metisMenu
$this->addScript("/public/dependency/html/js/metisMenu_1.0.1/metisMenu.js");
$this->addScript("/public/js/metisMenu_1.0.1/metisMenu.js");
//dataForm
$this->addScript("/public/dependency/html/js/dataForm_0.0.1/dataForm.js");
$this->addScript("/public/js/dataForm_0.0.1/dataForm.js");
//gritter
$this->addScript("/public/dependency/html/js/gritter_1.7.4/gritter.min.js");
$this->addScript("/public/dependency/html/js/gritter_1.7.4/gritter.js");
$this->addScript("/public/js/gritter_1.7.4/gritter.min.js");
$this->addScript("/public/js/gritter_1.7.4/gritter.js");
//typeahead
$this->addScript("/public/dependency/html/js/typeahead_0.10.2/typeahead.js");
$this->addScript("/public/js/typeahead_0.10.2/typeahead.js");
//$this->addScript("/public/dependency/html/js/bootstrap-daterangepicker/moment.min.js");
//$this->addScript("/public/dependency/html/js/bootstrap-daterangepicker/daterangepicker.js");
//$this->addScript("/public/js/bootstrap-daterangepicker/moment.min.js");
//$this->addScript("/public/js/bootstrap-daterangepicker/daterangepicker.js");
$this->addScript("/public/dependency/html/js/konami-code/jquery.raptorize.1.0.js");
$this->addScript("/public/js/konami-code/jquery.raptorize.1.0.js");
$this->addScript("/public/dependency/html/js/bootstrap-tree/bootstrap-tree.js");
$this->addScript("/public/dependency/html/js/dataList_0.0.1/dataList.js");
$this->addScript("/public/js/bootstrap-tree/bootstrap-tree.js");
$this->addScript("/public/js/dataList_0.0.1/dataList.js");
//$this->addScript("/public/dependency/html/js/webodf.js-0.5.8/webodf.js");
//$this->addScript("/public/js/webodf.js-0.5.8/webodf.js");
}
......
......@@ -44,7 +44,7 @@ class DataTable
$element->addHtmlClass("dataTable");
$this->element->ownerDocument->addScript('/public/dependency/html/js/dataTables_1.10.5/dataTables.min.js');
$this->element->ownerDocument->addScript('/public/js/dataTables_1.10.5/dataTables.min.js');
$this->parameters->sPaginationType = "full_numbers";
}
......@@ -248,7 +248,7 @@ EOS;
$this->columnFilter->sPlaceHolder = $placeHolder;
}
$this->element->ownerDocument->addScript('/public/dependency/html/js/dataTables_1.10.5/dataTables.columnFilter.js');
$this->element->ownerDocument->addScript('/public/js/dataTables_1.10.5/dataTables.columnFilter.js');
}
public function setColumnFilter($index, $type, $values=array())
......
......@@ -90,7 +90,7 @@ class datePicker
$format = str_replace('l', 'DD', $format); // Full day name
$this->parameters->format = $format;
$this->element->ownerDocument->addScript('/public/dependency/html/js/datePicker/bootstrap-datepicker.js');
$this->element->ownerDocument->addScript('/public/js/datePicker/bootstrap-datepicker.js');
}
/*
{
......@@ -108,8 +108,8 @@ class datePicker
$translator = $view->translator;
$this->parameters->language = $translator->lang;
if (\laabs::hasPublicResource('public/dependency/html/js/datePicker/locales/bootstrap-datepicker.' . $translator->lang . '.js')) {
$view->addScript('/public/dependency/html/js/datePicker/locales/bootstrap-datepicker.' . $translator->lang . '.js');
if (\laabs::hasPublicResource('public/js/datePicker/locales/bootstrap-datepicker.' . $translator->lang . '.js')) {
$view->addScript('/public/js/datePicker/locales/bootstrap-datepicker.' . $translator->lang . '.js');
}
}
......
......@@ -101,9 +101,9 @@ class dateRangePicker
$format = str_replace('l', 'DD', $format); // Full day name
$this->parameters->locale->format = $format;
$this->element->ownerDocument->addScript("/public/dependency/html/js/bootstrap-daterangepicker/moment.min.js");
$this->element->ownerDocument->addScript('/public/dependency/html/js/bootstrap-daterangepicker/daterangepicker.js');
$this->element->ownerDocument->addStyle('/public/dependency/html/css/bootstrap-daterangepicker/daterangepicker.css');
$this->element->ownerDocument->addScript("/public/js/bootstrap-daterangepicker/moment.min.js");
$this->element->ownerDocument->addScript('/public/js/bootstrap-daterangepicker/daterangepicker.js');
$this->element->ownerDocument->addStyle('/public/css/bootstrap-daterangepicker/daterangepicker.css');
}
/*
{
......
......@@ -6189,8 +6189,8 @@ button.close {
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('/public/dependency/html/font/font-awesome-4.7.0//fontawesome-webfont.eot?v=4.7.0');
src: url('/public/dependency/html/font/font-awesome-4.7.0//fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('/public/dependency/html/font/font-awesome-4.7.0//fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('/public/dependency/html/font/font-awesome-4.7.0//fontawesome-webfont.woff?v=4.7.0') format('woff'), url('/public/dependency/html/font/font-awesome-4.7.0//fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('/public/dependency/html/font/font-awesome-4.7.0//fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
src: url('/public/font/font-awesome-4.7.0//fontawesome-webfont.eot?v=4.7.0');
src: url('/public/font/font-awesome-4.7.0//fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('/public/font/font-awesome-4.7.0//fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('/public/font/font-awesome-4.7.0//fontawesome-webfont.woff?v=4.7.0') format('woff'), url('/public/font/font-awesome-4.7.0//fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('/public/font/font-awesome-4.7.0//fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
......
......@@ -155,7 +155,7 @@
<div style="display:none">
<span id="empty_text">The fields with a star are required.</span>
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript">
$(function() {
$('input[type=checkbox][data-toggle=toggle]').bootstrapToggle()
......
......@@ -108,7 +108,7 @@
</form>
</div>
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<div style="display:none">
<span id="empty_text">The fields with a star are required.</span>
<span id="whiteSpace_text">The fields contain white spaces.</span>
......
......@@ -82,7 +82,7 @@
<?hinclude auth/userAccount/admin/modalsForDisabling.html ?>
</div>
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="application/javascript">
$("#contain").ready(function() {
......
......@@ -217,7 +217,7 @@
</div>
</div>
<script type="text/javascript" src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript" src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript">
......
......@@ -17,7 +17,7 @@
javascripts
-->
<!--jqueryui-->
<!-- script src="/public/dependency/html/js/jQueryUI_1.10.4/jqueryUI.js"></script -->
<!-- script src="/public/js/jQueryUI_1.10.4/jqueryUI.js"></script -->
<!--less-->
<script>
//less = {
......
......@@ -221,7 +221,7 @@
}
</style>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script>
var ArchiveInformation = {
archiveId: $('#archiveInformation').find('.archiveInformationId').val(),
......
......@@ -141,7 +141,7 @@
</div>
</div>
<script type="text/javascript" src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript" src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript">
// METADATAS
$('.addCustomField').on('click', function(e) {
......
......@@ -61,7 +61,7 @@ file that was distributed with this source code.
</div>
<!-- dataTable -->
<script src="/public/dependency/html/js/dataTables_1.9.4/dataTables.min.js"></script>
<script src="/public/js/dataTables_1.9.4/dataTables.min.js"></script>
<script type="application/javascript">
$("#modifyProfileBtn").on("click", function(){
......
......@@ -126,7 +126,7 @@
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script>
$("#btnAddEventTypeForm").on("click", function() {
$("#modalAddEventFormat").modal();
......
......@@ -32,7 +32,7 @@
</div>
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script>
var ArchivalProfileAccessForm = {
......
......@@ -51,7 +51,7 @@
}
</style>
<script src="/public/dependency/html/js/bootstrap-tree/bootstrap-tree.js"></script>
<script src="/public/js/bootstrap-tree/bootstrap-tree.js"></script>
<script>
// New organization
......
......@@ -178,7 +178,7 @@ file that was distributed with this source code.
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script>
var ArchivalProfile = {
......
......@@ -291,7 +291,7 @@
</div>
</div>
<script type="text/javascript" src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript" src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript">
// METADATAS
$('#customFieldAddBtn').on('click', ".addCustomField", function(e) {
......
......@@ -49,7 +49,7 @@
}
</style>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script type="text/javascript">
FulltextSearch = {
......
......@@ -181,7 +181,7 @@
</div>
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script>
/* ----------------------------------------------------------------------------------------------------*/
......
......@@ -100,7 +100,7 @@ file that was distributed with this source code.
</form>
</div>
</div>
<script src="/public/dependency/html/js/bootstrap-toggle/bootstrap-toggle.js"></script>
<script src="/public/js/bootstrap-toggle/bootstrap-toggle.js"></script>
</div>
<script>
$("#cancelServiceLevelBtn").on('click', function(){
......