refactor build as components, wip: gathering js, css, images, ...

This commit is contained in:
Florian BLOUET
2015-11-16 18:19:50 +01:00
parent 3af725531b
commit d729ac441b
154 changed files with 539 additions and 4150 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ app['conf'].get(['registry', 'general', 'title']) }} - {{ 'phraseanet:: thesaurus' | trans }}</title>
<link rel="shortcut icon" type="image/x-icon" href="/skins/thesaurus/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="/assets/thesaurus/images/favicon.ico">
<link type="text/css" rel="stylesheet" href="/assets/thesaurus/css/thesaurus{% if not app.debug %}.min{% endif %}.css" />
</head>
<body>

View File

@@ -95,16 +95,16 @@
<tr class='s_' id='SYN_{{ data['id'] }}' hits='{{ data['hits'] }}'>
<td style='text-align:center;'>
{% if loop.index > 0 %}
<img id="BTNU_{{ data['id'] }}" src="/skins/thesaurus/images/up.gif" />
<img id="BTNU_{{ data['id'] }}" src="/assets/thesaurus/images/up.gif" />
{% endif %}
{% if not loop.last %}
<img id="BTND_{{ data['id'] }}" src="/skins/thesaurus/images/down.gif" />
<img id="BTND_{{ data['id'] }}" src="/assets/thesaurus/images/down.gif" />
{% endif %}
</td>
{% if data['lng'] %}
<td id='FLG_{{ data['id'] }}'><img src='/skins/lng/{{ data['lng'] }}_flag_18.gif' /></td>
{% else %}
<td id='FLG_{{ data['id'] }}'><img src='/skins/thesaurus/images/noflag.gif' /></td>
<td id='FLG_{{ data['id'] }}'><img src='/assets/thesaurus/images/noflag.gif' /></td>
{% endif %}
<td>{{ data['t'] }}</td>
<td>{{ data['hits'] }}</td>
@@ -260,7 +260,7 @@
{
img = td.appendChild(document.createElement("img"));
img.id = "BTNU_" + id;
img.src = "/skins/thesaurus/images/up.gif";
img.src = "/assets/thesaurus/images/up.gif";
if(n.nextSibling)
{
td.appendChild(document.createTextNode(" "));
@@ -270,7 +270,7 @@
{
img = td.appendChild(document.createElement("img"));
img.id = "BTND_" + id;
img.src = "/skins/thesaurus/images/down.gif";
img.src = "/assets/thesaurus/images/down.gif";
}
td = tr.appendChild(document.createElement("td"));

View File

@@ -15,7 +15,7 @@
var p4 = {};
</script>
<link rel="shortcut icon" type="image/x-icon" href="/skins/thesaurus/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="/assets/thesaurus/images/favicon.ico">
<script type="text/javascript" src="/assets/vendors/jquery/jquery{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/vendors/jquery-ui/jquery-ui{% if not app.debug %}.min{% endif %}.js"></script>
<script type="text/javascript" src="/assets/common/js/common{% if not app.debug %}.min{% endif %}.js"></script>