mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
Add jquery mobile
This commit is contained in:
16
Gruntfile.js
16
Gruntfile.js
@@ -21,7 +21,8 @@ module.exports = function(grunt) {
|
|||||||
options: {
|
options: {
|
||||||
components: {
|
components: {
|
||||||
"jquery.ui": ["npm", {"grunt": "build"}],
|
"jquery.ui": ["npm", {"grunt": "build"}],
|
||||||
"bootstrap": ["npm", {"make": "bootstrap"}]
|
"bootstrap": ["npm", {"make": "bootstrap"}],
|
||||||
|
"jquery-mobile": ["npm", {"make": "all"}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -116,6 +117,19 @@ module.exports = function(grunt) {
|
|||||||
"dest": "www/assets/jquery-file-upload/",
|
"dest": "www/assets/jquery-file-upload/",
|
||||||
"flatten": true
|
"flatten": true
|
||||||
},
|
},
|
||||||
|
"jquery-mobile": {
|
||||||
|
"expand": true,
|
||||||
|
"cwd": "assets/jquery-mobile",
|
||||||
|
"src": [
|
||||||
|
"compiled/images/*",
|
||||||
|
"jquery.mobile.css",
|
||||||
|
"jquery.mobile.js"
|
||||||
|
],
|
||||||
|
"rename": function(dest, src) {
|
||||||
|
return dest + src.replace("compiled", "");
|
||||||
|
},
|
||||||
|
"dest": "www/assets/jquery-mobile/"
|
||||||
|
},
|
||||||
"jquery-ui": {
|
"jquery-ui": {
|
||||||
"expand": true,
|
"expand": true,
|
||||||
"cwd": "assets/jquery.ui",
|
"cwd": "assets/jquery.ui",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"bootstrap": "~2.2.2",
|
"bootstrap": "~2.2.2",
|
||||||
"jquery": "~1.8.3",
|
"jquery": "~1.8.3",
|
||||||
"jquery.ui": "~1.10.0",
|
"jquery.ui": "~1.10.0",
|
||||||
|
"jquery-mobile": "~1.2.1",
|
||||||
"font-awesome": "~3.0.2",
|
"font-awesome": "~3.0.2",
|
||||||
"modernizr": "~2.6.2",
|
"modernizr": "~2.6.2",
|
||||||
"normalize-css" : "~2.1.0",
|
"normalize-css" : "~2.1.0",
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||||
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ module_name }} </title>
|
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ module_name }} </title>
|
||||||
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.css' }) }}" />
|
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'assets/jquery-mobile/jquery.mobile.css' }) }}" />
|
||||||
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
|
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
|
||||||
<script src="{{ path('minifier', { 'f' : 'include/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.js' }) }}"></script>
|
<script src="{{ path('minifier', { 'f' : 'assets/jquery-mobile/jquery.mobile.js' }) }}"></script>
|
||||||
{% block stylesheet %}{% endblock %}
|
{% block stylesheet %}{% endblock %}
|
||||||
{% block icon %}{% endblock %}
|
{% block icon %}{% endblock %}
|
||||||
{% block javascript %}{% endblock %}
|
{% block javascript %}{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user