Move js/ folder under view/

- Move library/cropper to view/js/cropper
- Move library/jquery-textcomplete to view/js/jquery-textcomplete
This commit is contained in:
Hypolite Petovan 2018-01-28 16:17:36 -05:00
parent a05eeeb49c
commit cd392db078
72 changed files with 51 additions and 51 deletions

View file

@ -5,10 +5,10 @@ command -v uglifyjs >/dev/null 2>&1 || { echo >&2 "I require UglifyJS but it's n
MINIFY_CMD=uglifyjs MINIFY_CMD=uglifyjs
JSFILES=( JSFILES=(
"js/acl.js" "view/js/acl.js"
"js/ajaxupload.js" "view/js/ajaxupload.js"
"js/country.js" "view/js/country.js"
"js/main.js" "view/js/main.js"
"vendor/asset/base64/base64.min.js" "vendor/asset/base64/base64.min.js"
"view/theme/frost/js/acl.js" "view/theme/frost/js/acl.js"
"view/theme/frost/js/jquery.divgrow-1.3.1.f1.js" "view/theme/frost/js/jquery.divgrow-1.3.1.f1.js"

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View file

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -1,4 +1,4 @@
<script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/lib/prototype.js" language="javascript"></script>
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/cropper.js" language="javascript"></script>
<link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" /> <link rel="stylesheet" href="view/js/cropper/cropper.css" type="text/css" />

View file

@ -4,8 +4,8 @@
<style> <style>
#buglink_wrapper{display:none;} /* hide buglink. only in this page */ #buglink_wrapper{display:none;} /* hide buglink. only in this page */
</style> </style>
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/js/filebrowser.js"></script> <script type="text/javascript" src="{{$baseurl}}/view/js/filebrowser.js"></script>
<script> <script>
$(function() { $(function() {
FileBrowser.init("{{$nickname}}", "{{$type}}"); FileBrowser.init("{{$nickname}}", "{{$type}}");

View file

@ -33,18 +33,18 @@
<!--[if IE]> <!--[if IE]>
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
<script type="text/javascript" src="js/modernizr.js" ></script> <script type="text/javascript" src="view/js/modernizr.js" ></script>
<script type="text/javascript" src="vendor/asset/jquery/dist/jquery.min.js" ></script> <script type="text/javascript" src="vendor/asset/jquery/dist/jquery.min.js" ></script>
<script type="text/javascript" src="js/jquery.textinputs.js" ></script> <script type="text/javascript" src="view/js/jquery.textinputs.js" ></script>
<script type="text/javascript" src="library/jquery-textcomplete/jquery.textcomplete.min.js" ></script> <script type="text/javascript" src="view/js/jquery-textcomplete/jquery.textcomplete.min.js" ></script>
<script type="text/javascript" src="js/autocomplete.js" ></script> <script type="text/javascript" src="view/js/autocomplete.js" ></script>
<script type="text/javascript" src="vendor/asset/jquery-colorbox/jquery.colorbox-min.js"></script> <script type="text/javascript" src="vendor/asset/jquery-colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="vendor/asset/jgrowl/jquery.jgrowl.min.js"></script> <script type="text/javascript" src="vendor/asset/jgrowl/jquery.jgrowl.min.js"></script>
<script type="text/javascript" src="vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script> <script type="text/javascript" src="vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script>
<script type="text/javascript" src="vendor/asset/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js" ></script> <script type="text/javascript" src="vendor/asset/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js" ></script>
<script type="text/javascript" src="js/acl.js" ></script> <script type="text/javascript" src="view/js/acl.js" ></script>
<script type="text/javascript" src="vendor/asset/base64/base64.min.js" ></script> <script type="text/javascript" src="vendor/asset/base64/base64.min.js" ></script>
<script type="text/javascript" src="js/main.js" ></script> <script type="text/javascript" src="view/js/main.js" ></script>
<script> <script>
var updateInterval = {{$update_interval}}; var updateInterval = {{$update_interval}};

View file

@ -40,7 +40,7 @@ function enableOnUser(){
} }
</script> </script>
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script> <script>
var ispublic = '{{$ispublic}}'; var ispublic = '{{$ispublic}}';

View file

@ -1,7 +1,7 @@
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
$("#prvmail-text").editor_autocomplete(baseurl + '/acl'); $("#prvmail-text").editor_autocomplete(baseurl + '/acl');
</script> </script>
<script type="text/javascript" src="js/ajaxupload.js" ></script> <script type="text/javascript" src="view/js/ajaxupload.js" ></script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
var uploader = new window.AjaxUpload( var uploader = new window.AjaxUpload(

View file

@ -1 +1 @@
<script type="text/javascript" src="js/country.js" ></script> <script type="text/javascript" src="view/js/country.js" ></script>

View file

@ -4,7 +4,7 @@
<style> <style>
#buglink_wrapper{display:none;} /* hide buglink. only in this page */ #buglink_wrapper{display:none;} /* hide buglink. only in this page */
</style> </style>
{{*<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script>*}} {{*<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>*}}
{{*<script type="text/javascript" src="view/theme/frio/js/filebrowser.js"></script>*}} {{*<script type="text/javascript" src="view/theme/frio/js/filebrowser.js"></script>*}}
<div class="fbrowser {{$type}}"> <div class="fbrowser {{$type}}">

View file

@ -57,18 +57,18 @@
<!--[if IE]> <!--[if IE]>
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
<script type="text/javascript" src="js/modernizr.js" ></script> <script type="text/javascript" src="view/js/modernizr.js" ></script>
<script type="text/javascript" src="vendor/asset/jquery/dist/jquery.min.js"></script> <script type="text/javascript" src="vendor/asset/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.textinputs.js" ></script> <script type="text/javascript" src="view/js/jquery.textinputs.js" ></script>
<script type="text/javascript" src="library/jquery-textcomplete/jquery.textcomplete.min.js" ></script> <script type="text/javascript" src="view/js/jquery-textcomplete/jquery.textcomplete.min.js" ></script>
<script type="text/javascript" src="js/autocomplete.js" ></script> <script type="text/javascript" src="view/js/autocomplete.js" ></script>
<script type="text/javascript" src="vendor/asset/jquery-colorbox/jquery.colorbox-min.js"></script> <script type="text/javascript" src="vendor/asset/jquery-colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="vendor/asset/jgrowl/jquery.jgrowl.min.js"></script> <script type="text/javascript" src="vendor/asset/jgrowl/jquery.jgrowl.min.js"></script>
<script type="text/javascript" src="vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script> <script type="text/javascript" src="vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script>
<script type="text/javascript" src="vendor/asset/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js" ></script> <script type="text/javascript" src="vendor/asset/perfect-scrollbar/js/perfect-scrollbar.jquery.min.js" ></script>
<script type="text/javascript" src="js/acl.js" ></script> <script type="text/javascript" src="view/js/acl.js" ></script>
<script type="text/javascript" src="vendor/asset/base64/base64.min.js" ></script> <script type="text/javascript" src="vendor/asset/base64/base64.min.js" ></script>
<script type="text/javascript" src="js/main.js" ></script> <script type="text/javascript" src="view/js/main.js" ></script>
<script type="text/javascript" src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js"></script> <script type="text/javascript" src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js"></script> <script type="text/javascript" src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js"></script>

View file

@ -1,5 +1,5 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script type="text/javascript"> <script type="text/javascript">
var editor = false; var editor = false;

View file

@ -2,7 +2,7 @@
<link rel="stylesheet" href="{{$baseurl}}/view/theme/frio/frameworks/jRange/jquery.range.css" type="text/css" media="screen" /> <link rel="stylesheet" href="{{$baseurl}}/view/theme/frio/frameworks/jRange/jquery.range.css" type="text/css" media="screen" />
<script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js"></script> <script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js"></script>
<script src="{{$baseurl}}/view/theme/frio/frameworks/jRange/jquery.range.js"></script> <script src="{{$baseurl}}/view/theme/frio/frameworks/jRange/jquery.range.js"></script>
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
{{include file="field_select.tpl" field=$schema}} {{include file="field_select.tpl" field=$schema}}

View file

@ -1,4 +1,4 @@
<script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/lib/prototype.js" language="javascript"></script>
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/cropper.js" language="javascript"></script>
<script type="text/javascript" language="javascript">initCrop();</script> <script type="text/javascript" language="javascript">initCrop();</script>

View file

@ -1 +1 @@
<link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" /> <link rel="stylesheet" href="view/js/cropper/cropper.css" type="text/css" />

View file

@ -3,12 +3,12 @@
<![endif]--> <![endif]-->
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery/dist/jquery.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery/dist/jquery.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/readmore.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/readmore.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/jquery.textinputs.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jgrowl/jquery.jgrowl.min.js"></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jgrowl/jquery.jgrowl.min.js"></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script>
<script type="text/javascript" src="{{$baseurl}}/library/jquery-textcomplete/jquery.textcomplete.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/jquery-textcomplete/jquery.textcomplete.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/js/autocomplete.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/autocomplete.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/acl.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/acl.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/base64/base64.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/base64/base64.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/main.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/main.js" ></script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script language="javascript" type="text/javascript">if (typeof window.jotInit != 'undefined') initEditor();</script> <script language="javascript" type="text/javascript">if (typeof window.jotInit != 'undefined') initEditor();</script>

View file

@ -1,3 +1,3 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>

View file

@ -1,6 +1,6 @@
<script type="text/javascript" src="js/country.js" ></script> <script type="text/javascript" src="view/js/country.js" ></script>
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
Fill_Country('{{$country_name}}'); Fill_Country('{{$country_name}}');

View file

@ -1,3 +1,3 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/lib/prototype.js" language="javascript"></script>
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script> <script type="text/javascript" src="view/js/cropper/cropper.js" language="javascript"></script>
<script type="text/javascript" language="javascript">initCrop();</script> <script type="text/javascript" language="javascript">initCrop();</script>

View file

@ -1 +1 @@
<link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" /> <link rel="stylesheet" href="view/js/cropper/cropper.css" type="text/css" />

View file

@ -5,15 +5,15 @@
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery/dist/jquery.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery/dist/jquery.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/jquery.divgrow-1.3.1.f1.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/jquery.divgrow-1.3.1.f1.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/jquery.textinputs.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery-colorbox/jquery.colorbox-min.js"></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery-colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jgrowl/jquery.jgrowl.min.js"></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jgrowl/jquery.jgrowl.min.js"></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js"></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/acl.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/acl.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/vendor/asset/base64/base64.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/vendor/asset/base64/base64.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/library/jquery-textcomplete/jquery.textcomplete.min.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/jquery-textcomplete/jquery.textcomplete.min.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/js/autocomplete.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/autocomplete.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/main.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/main.js" ></script>
<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/theme.js"></script> <script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/theme.js"></script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script language="javascript" type="text/javascript">if(typeof window.jotInit != 'undefined') initEditor();</script> <script language="javascript" type="text/javascript">if(typeof window.jotInit != 'undefined') initEditor();</script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script language="javascript" type="text/javascript">msgInitEditor();</script> <script language="javascript" type="text/javascript">msgInitEditor();</script>

View file

@ -1,5 +1,5 @@
<script type="text/javascript" src="js/country.js" ></script> <script type="text/javascript" src="view/js/country.js" ></script>
<script language="javascript" type="text/javascript"> <script language="javascript" type="text/javascript">
Fill_Country('{{$country_name}}'); Fill_Country('{{$country_name}}');

View file

@ -1,5 +1,5 @@
<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
<script language="javascript" type="text/javascript">msgInitEditor();</script> <script language="javascript" type="text/javascript">msgInitEditor();</script>

View file

@ -48,7 +48,7 @@ function enableOnUser(){
</script> </script>
<script type="text/javascript" src="js/ajaxupload.js" > <script type="text/javascript" src="view/js/ajaxupload.js" >
</script> </script>
<script> <script>