Browse Source

integration suite

Sevajol Bastien 11 years ago
parent
commit
94361ee59d

+ 3 - 2
app/Resources/translations/navigationui.fr.yml View File

@@ -21,9 +21,10 @@ login:
21 21
   display:              J'ai déjà un compte
22 22
   
23 23
 home:
24
-  add_element:          Ajouter un élément
24
+  add_element:          Ajouter un partage
25 25
   add_element_box:
26
-    close:              Fermer
26
+    close:              Fermer l'ajout d'élément
27
+    title:              Ajouter un partage
27 28
   check_url:            Ajouter
28 29
   
29 30
 group:

+ 9 - 2
app/Resources/translations/userui.fr.yml View File

@@ -36,8 +36,12 @@ my_account:
36 36
 connexion:
37 37
   password_lost:    Mot de passe perdu ?
38 38
   
39
-more:    Afficher plus de résultats
39
+more:    Plus de résultats
40 40
 tags:
41
+  prompt:
42
+    help:  |
43
+            Choissiez un tag dans la liste ci-dessous en cliquant dessus. Pour saisir plusieurs tags
44
+            renouvellez l'opération pour chacuns d'entre eux.
41 45
   help:  |
42 46
            Saisissez <strong>une liste de tags</strong> ci-dessous: Entrez 
43 47
            <strong>un tag a la fois</strong> et choisissez les a l'aide de 
@@ -73,7 +77,7 @@ filter:
73 77
   network: "Résultats de "
74 78
   submit:  Filtrer
75 79
   clear:   Aucun filtre
76
-  mytags:  Filtrer avec Tags
80
+  mytags:  Avec filtre
77 81
   network_all:   Réseau global
78 82
   network_my:    Mon réseau
79 83
   new_comments:     Nvx commentaires
@@ -103,6 +107,7 @@ element_add:
103 107
     nothanks:       Non, ne pas diffuser cet élément dans un de mes groupes
104 108
   
105 109
 element_edit:
110
+  title:      Modifier un partage
106 111
   url:
107 112
     name:     Lien
108 113
   name:
@@ -145,6 +150,8 @@ element:
145 150
       sentence:          Re-partager ce partage dans votre flux ?
146 151
       yes:               Oui
147 152
       no:                Non
153
+  share:
154
+    share_button:        Partager
148 155
     
149 156
 comment:
150 157
   report:

+ 3 - 3
src/Muzich/CoreBundle/Controller/CoreController.php View File

@@ -129,9 +129,9 @@ class CoreController extends Controller
129 129
     
130 130
     // Vérifications préléminaires
131 131
     if ($user->getPersonalHash() != $token 
132
-            || !in_array($type, array('user', 'group')) 
133
-            || !is_numeric($id)
134
-            || $user->getId() == $id
132
+        || !in_array($type, array('user', 'group')) 
133
+        || !is_numeric($id)
134
+        || ($user->getId() == $id && $type == 'user')
135 135
     )
136 136
     {
137 137
       throw $this->createNotFoundException();

+ 4 - 2
src/Muzich/CoreBundle/Resources/views/Element/ajax.element.edit.html.twig View File

@@ -12,6 +12,8 @@
12 12
     'form_name'     : form_name
13 13
   } %}
14 14
 
15
-  <input type="button" value="{{ 'element_edit.cancel.value'|trans({}, 'userui') }}" class="cancel_edit button" />
16
-  <input type="submit" value="{{ 'element_edit.submit.value'|trans({}, 'userui') }}" class="button" />
15
+  <div class="inputs">
16
+    <input type="button" value="{{ 'element_edit.cancel.value'|trans({}, 'userui') }}" class="cancel_edit button" />
17
+    <input type="submit" value="{{ 'element_edit.submit.value'|trans({}, 'userui') }}" class="button" />
18
+  </div>
17 19
 </form>

+ 15 - 12
src/Muzich/CoreBundle/Resources/views/Element/form.add.html.twig View File

@@ -17,7 +17,9 @@
17 17
   <div class="field fom_add_url">
18 18
     {{ form_errors(form.url) }}
19 19
     {{ form_widget(form.url, { 'attr': {
20
-      'placeholder': 'element_add.url.name'|trans({}, 'userui')},
20
+      'placeholder': 'element_add.url.name'|trans({}, 'userui'),
21
+      'class': 'niceinput'
22
+      },
21 23
       'type': 'URL'
22 24
     }) }}
23 25
 
@@ -29,10 +31,13 @@
29 31
 
30 32
 <div id="form_add_second_part" style="display: none;">
31 33
   
32
-  <span  id="add_url_title">
34
+  <div  id="add_url_title">
33 35
     {{ 'element.add.url_title_step2'|trans({}, 'elements') }}:
34 36
     <span id="add_url_title_url"></span>
35
-  </span>
37
+  </div>
38
+  
39
+  
40
+  <input type="submit" value="{{ 'element.share.share_button'|trans({}, 'userui') }}" class="button" />
36 41
   
37 42
   <table>
38 43
     <tr>
@@ -44,7 +49,12 @@
44 49
       <td style="vertical-align: top;">
45 50
         <div class="field fom_add_name">
46 51
           {{ form_errors(form.name) }}
47
-          {{ form_widget(form.name, { 'attr': {'placeholder': 'element_add.name.name'|trans({}, 'userui')} }) }}
52
+          {{ form_widget(form.name, { 'attr':
53
+            {
54
+              'placeholder': 'element_add.name.name'|trans({}, 'userui'),
55
+              'class' : 'niceinput'
56
+            }
57
+          }) }}
48 58
         </div>
49 59
 
50 60
           <p id="form_add_prop_tags_text" style="display: none;">
@@ -52,7 +62,7 @@
52 62
           </p>
53 63
           <ul id="form_add_prop_tags_api" style="display: none;"></ul>
54 64
 
55
-          <div></div>
65
+          <div style="clear: both;"></div>
56 66
           
57 67
           {% include "MuzichCoreBundle:Tag:tagsPrompt.html.twig" with { 
58 68
             'form_name'     : form_name
@@ -68,13 +78,6 @@
68 78
       </td>
69 79
     </tr>
70 80
   </table>
71
-  
72
-  
73
-  
74
-  
75
-  
76
-    
77
-  <input type="submit" value="Partager cette ressource" />
78 81
     
79 82
 </div>
80 83
 

+ 13 - 8
src/Muzich/CoreBundle/Resources/views/Element/form.edit.html.twig View File

@@ -1,29 +1,34 @@
1 1
 {% form_theme form 'MuzichCoreBundle:Form:errors.html.twig' %}
2 2
 
3
+<h2>{{ 'element_edit.title'|trans({}, 'userui') }}</h2>
4
+
3 5
 {{ form_errors(form) }}
4 6
 
5
-<div class="field">
7
+<fieldset class="edit_url">
6 8
   {{ form_errors(form.url) }}
7 9
   {{ form_label(form.url, 'element_edit.url.name'|trans({}, 'userui')) }}
8
-  {{ form_widget(form.url) }}
9
-</div>
10
+  {{ form_widget(form.url, {'attr':{'class':'niceinput'}}) }}
11
+</fieldset>
10 12
 
11
-<div class="field">
13
+<fieldset class="edit_name">
12 14
   {{ form_errors(form.name) }}
13 15
   {{ form_label(form.name, 'element_edit.name.name'|trans({}, 'userui')) }}
14
-  {{ form_widget(form.name) }}
15
-</div>
16
+  {{ form_widget(form.name, {'attr':{'class':'niceinput'}}) }}
17
+</fieldset>
16 18
 
19
+<fieldset class="edit_tags">
20
+  <label>Tags</label>
17 21
   {% include "MuzichCoreBundle:Tag:tagsPrompt.html.twig" with { 
18 22
     'form_name'     : form_name
19 23
   } %}
24
+</fieldset>
20 25
 
21 26
   {{ form_widget(form.tags, { 'attr': {'class': 'tagBox_tags_ids'} }) }}
22 27
 
23
-<div class="field">
28
+<fieldset class="edit_need_tag">
24 29
   {{ form_errors(form.need_tags) }}
25 30
   {{ form_widget(form.need_tags) }}
26 31
   {{ form_label(form.need_tags, 'element_add.need_tags.name'|trans({}, 'userui')) }}
27
-</div>
32
+</fieldset>
28 33
 
29 34
 {{ form_row(form._token) }}

+ 41 - 19
src/Muzich/CoreBundle/Resources/views/Info/container.html.twig View File

@@ -1,19 +1,41 @@
1
-<div id="bottomContainer">
2
-  
3
-  <a href="{{ path('info_about') }}" >
4
-    {{ 'bottom_menu.about'|trans({}, 'navigationui') }}
5
-  </a>
6
-  
7
-  -
8
-  
9
-  <a href="{{ path('info_development') }}" >
10
-    {{ 'bottom_menu.development'|trans({}, 'navigationui') }}
11
-  </a>-
12
-  
13
-  <a href="{{ path('info_sites') }}" >
14
-    {{ 'bottom_menu.sites'|trans({}, 'navigationui') }}
15
-  </a>
16
-  
17
-  
18
-  
19
-</div>
1
+<ul class="footer_pages_links footer_pages_links_sys">
2
+  <li>
3
+    <a href="{{ path('info_about') }}" >
4
+      {{ 'bottom_menu.about'|trans({}, 'navigationui') }}
5
+    </a>
6
+  </li>
7
+  <li>
8
+    <a href="{{ path('info_development') }}" >
9
+      {{ 'bottom_menu.development'|trans({}, 'navigationui') }}
10
+    </a>
11
+  </li>
12
+  <li>
13
+    <a href="{{ path('info_sites') }}" >
14
+      {{ 'bottom_menu.sites'|trans({}, 'navigationui') }}
15
+    </a>
16
+  </li>
17
+</ul>
18
+<ul class="footer_pages_links footer_pages_links_how">
19
+  <li>
20
+    <a href="" >
21
+      CGU
22
+    </a>
23
+  </li>
24
+  <li>
25
+    <a href="" >
26
+      FAQ
27
+    </a>
28
+  </li>
29
+</ul>
30
+<ul class="footer_pages_links footer_pages_links_user">
31
+  <li>
32
+    <a href="" >
33
+      Profil
34
+    </a>
35
+  </li>
36
+  <li>
37
+    <a href="" >
38
+      Paramètres
39
+    </a>
40
+  </li>
41
+</ul>

+ 5 - 5
src/Muzich/CoreBundle/Resources/views/SearchElement/more_button.html.twig View File

@@ -3,9 +3,9 @@
3 3
 </div>
4 4
 
5 5
 {% if display_more_button and elements_length %} 
6
-   <span class="elements_more">
7
-     <a href="{{ path(more_path) }}" class="elements_more button">
8
-       {{ 'more'|trans({}, 'userui') }}
9
-     </a>
10
-   </span>
6
+  <a href="{{ path(more_path) }}" class="elements_more">
7
+    <div>
8
+      {{ 'more'|trans({}, 'userui') }}
9
+    </div>
10
+  </a>
11 11
 {% endif %}

+ 1 - 1
src/Muzich/CoreBundle/Resources/views/Tag/tagsList.show.html.twig View File

@@ -11,7 +11,7 @@
11 11
   <ul id="favorite_tags">
12 12
     {% for key, tag in tags %}
13 13
       <li class="{{ css_list_length_class(key, tags|length) }}" {% if loop.index0 > cloud_tags_limit_to_display %}style="display: none;"{% endif %}>
14
-        <a id="filtering_tag_{{ tag.id }}" href="#" class="button tag">
14
+        <a id="filtering_tag_{{ tag.id }}" href="#" class="tag">
15 15
           {{ tag.name }}
16 16
         </a>
17 17
       </li>

+ 9 - 4
src/Muzich/CoreBundle/Resources/views/Tag/tagsPrompt.html.twig View File

@@ -6,7 +6,7 @@
6 6
   <ul class="tagbox"></ul>
7 7
   
8 8
   <input
9
-    class="tag_prompt"
9
+    class="tag_prompt niceinput"
10 10
     value=""
11 11
     placeholder="{{ 'tags.inputtext.help'|trans({}, 'userui') }}"
12 12
   />
@@ -15,14 +15,19 @@
15 15
   
16 16
   <div id="search_tag_{{ form_name }}" class="search_tag_list" style="display: none;">
17 17
     <span class="info"></span>
18
+    <p class="help">
19
+      {{ 'tags.prompt.help'|trans({}, 'userui') }}
20
+    </p>
18 21
     <div class="tag_loader_div">
19 22
       <img id="tag_loader_{{ form_name }}" class="tag_loader" style="display: none;"
20 23
         src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loading"/>
21 24
     </div>
22 25
     <ul class="search_tag_list"></ul>
23
-    <a class="more button" href="#" style="display: none;">
24
-      {{ 'tags.search.display_more'|trans({}, 'userui') }}
25
-    </a>
26
+    <div class="textcenter">
27
+      <a class="more button" href="#" style="display: none;">
28
+        {{ 'tags.search.display_more'|trans({}, 'userui') }}
29
+      </a>
30
+    </div>
26 31
   </div>
27 32
   
28 33
 </div>

+ 95 - 8
src/Muzich/CoreBundle/Resources/views/layout.html.twig View File

@@ -98,6 +98,79 @@
98 98
 
99 99
   </head>
100 100
   <body>
101
+    
102
+    <div id="autoplay" class="popin_block" style="display: none;">
103
+      
104
+      <a href="javascript:void(0);" id="autoplay_previous">
105
+        <img src="{{ asset('/bundles/muzichcore/img/autoplay_previous.png') }}" alt="previous" />
106
+      </a>
107
+      
108
+  <a href="javascript:void(0);" id="autoplay_close" >
109
+    <img src="{{ asset('/bundles/muzichcore/img/1317386146_cancel.png') }}" alt="close" />
110
+  </a>
111
+      
112
+      <a href="javascript:void(0);" id="autoplay_next">
113
+        <img src="{{ asset('/bundles/muzichcore/img/autoplay_next.png') }}" alt="next" />
114
+      </a>
115
+      
116
+    <img id="autoplay_element_loader" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loader" />
117
+    <ul id="autoplay_element"><li class="element" id="autoplay_element_container"></li></ul>
118
+    <div id="autoplay_player_container">
119
+      <div id="autoplay_player"></div>
120
+    </div>
121
+    <div id="autoplay_player_soundcloud"></div>
122
+    <div id="autoplay_player_generic" style="display: none;">
123
+      <div id="jquery_jplayer_1" class="jp-jplayer"></div>
124
+      <div id="jp_container_1" class="jp-audio">
125
+        <div class="jp-type-playlist">
126
+          <div class="jp-gui jp-interface">
127
+            <ul class="jp-controls">
128
+              <li><a href="javascript:;" class="jp-previous" tabindex="1">previous</a></li>
129
+              <li><a href="javascript:;" class="jp-play" tabindex="1">play</a></li>
130
+              <li><a href="javascript:;" class="jp-pause" tabindex="1">pause</a></li>
131
+              <li><a href="javascript:;" class="jp-next" tabindex="1">next</a></li>
132
+              <li><a href="javascript:;" class="jp-stop" tabindex="1">stop</a></li>
133
+              <li><a href="javascript:;" class="jp-mute" tabindex="1" title="mute">mute</a></li>
134
+              <li><a href="javascript:;" class="jp-unmute" tabindex="1" title="unmute">unmute</a></li>
135
+              <li><a href="javascript:;" class="jp-volume-max" tabindex="1" title="max volume">max volume</a></li>
136
+            </ul>
137
+            <div class="jp-progress">
138
+              <div class="jp-seek-bar">
139
+                <div class="jp-play-bar"></div>
140
+              </div>
141
+            </div>
142
+            <div class="jp-volume-bar">
143
+              <div class="jp-volume-bar-value"></div>
144
+            </div>
145
+            <div class="jp-time-holder">
146
+              <div class="jp-current-time"></div>
147
+              <div class="jp-duration"></div>
148
+            </div>
149
+            <ul class="jp-toggles" style="display: none;">
150
+              <li><a href="javascript:;" class="jp-shuffle" tabindex="1" title="shuffle">shuffle</a></li>
151
+              <li><a href="javascript:;" class="jp-shuffle-off" tabindex="1" title="shuffle off">shuffle off</a></li>
152
+              <li><a href="javascript:;" class="jp-repeat" tabindex="1" title="repeat">repeat</a></li>
153
+              <li><a href="javascript:;" class="jp-repeat-off" tabindex="1" title="repeat off">repeat off</a></li>
154
+            </ul>
155
+          </div>
156
+          <div class="jp-playlist">
157
+            <ul>
158
+              <li></li>
159
+            </ul>
160
+          </div>
161
+          <div class="jp-no-solution">
162
+            <span>Update Required</span>
163
+            To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
164
+          </div>
165
+        </div>
166
+      </div>
167
+    </div>
168
+    <img id="autoplay_loader" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loader" />
169
+    <p id="autoplay_noelements_text" style="display: none;">{{ 'elements.autoplay.noelements.text'|trans({}, 'elements') }}</p>
170
+        
171
+    <p><span class="sinfo">{{ 'autoplay.limitations_players'|trans({}, 'userui') }}</span></p>
172
+    
173
+  </div>
101 174
   
102 175
     <header id="header">
103 176
       <hgroup>
@@ -147,20 +220,20 @@
147 220
           </li>
148 221
           <li class="separator"></li>
149 222
           <li>
150
-            <a href="" >
151
-              Mes diffusions
223
+            <a href="{{ path('show_user', {'slug': app.user.slug}) }}">
224
+              {{ 'container_menu.my_feeds'|trans({}, 'navigationui') }}
152 225
             </a>
153 226
           </li>
154 227
           <li class="separator"></li>
155 228
           <li>
156
-            <a href="" >
157
-              Mes groupes
229
+            <a href="{{ path('groups_own_list') }}" >
230
+              {{ 'network.mygroups'|trans({}, 'navigationui') }}
158 231
             </a>
159 232
           </li>
160 233
           <li class="separator"></li>
161 234
           <li>
162
-            <a href="" >
163
-              Mes favoris
235
+            <a href="{{ path('favorites_my_list') }}" >
236
+              {{ 'container_menu.my_favorites'|trans({}, 'navigationui') }}
164 237
             </a>
165 238
           </li>
166 239
           <li class="separator"></li>
@@ -172,7 +245,7 @@
172 245
       
173 246
       <div id="main">
174 247
         
175
-        <div id="mainbox" class="nicebox">
248
+        <div id="mainbox" class="nicebox {% block mainbox_classes %}{% endblock %}">
176 249
           {% block main_content %}{% endblock %}
177 250
           {% block fos_user_content %}{% endblock %}
178 251
         </div>
@@ -288,7 +361,21 @@
288 361
         
289 362
     </div>
290 363
     
291
-    
364
+    <div id="footer">
365
+      
366
+      <div id="footer_content">
367
+      
368
+        <div id="footer_logo">
369
+          <img src="{{ asset('/img/icon_minilogo_3.png') }}" alt="footer_logo">
370
+          <span class="fotter_muzich_big">&copy; MUZI.CH</span>
371
+          Tous droits réservés muzi.ch 2012 - 2013
372
+        </div>
373
+        
374
+        {% include "MuzichCoreBundle:Info:container.html.twig" %}
375
+      
376
+      </div>
377
+      
378
+    </div>
292 379
     
293 380
     
294 381
     

+ 65 - 58
src/Muzich/HomeBundle/Resources/views/Home/index.html.twig View File

@@ -1,22 +1,30 @@
1 1
 {% extends "MuzichHomeBundle::layout.html.twig" %}
2 2
 
3 3
 {% block title %}Réseau{% endblock %}
4
+{% block mainbox_classes %}mainbox_margintop mainbox_nopadding{% endblock %}
4 5
 
5 6
 {% block content %}
6 7
 
7 8
   <a href="#" id="element_add_link" class="button gradient">
8
-    {{ 'home.add_element'|trans({}, 'navigationui') }} &gt;&gt;
9
+    {{ 'home.add_element'|trans({}, 'navigationui') }}
10
+    <img src="{{ asset('/img/icon_dart_right_white.png') }}" alt="" />
11
+  </a>
12
+  <a href="#" id="element_add_close_link" class="button gradient" style="display: none;">
13
+    {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
14
+    <img src="{{ asset('/img/icon_dart_left_white.png') }}" alt="" />
9 15
   </a>
10 16
 
11 17
   <ul id="tabs_tag_search_buttons">
12
-    <li class="selected gradient">
18
+    <li id="tab_li_tag_search_no_tags" class="{% if search_tags_id|length == 0 %}selected{% endif %} gradient">
13 19
       <a id="tabs_tag_search_no_tags" href="#" >
20
+        <img src="{{ asset('/img/icon_close.png') }}" alt="nofilters" />
14 21
         {{ 'filter.clear'|trans({}, 'userui') }}
15 22
       </a>
16 23
       <div class="dart"></div>
17 24
     </li>
18
-    <li class="gradient">
25
+    <li id="tab_li_tag_search_with_tags" class="{% if search_tags_id|length %}selected{% endif %} gradient">
19 26
       <a id="tabs_tag_search_with_tags" href="#" >
27
+        <img src="{{ asset('/img/icon_minilogo_2.png') }}" alt="nofilters" />
20 28
         {{ 'filter.mytags'|trans({}, 'userui') }}
21 29
       </a>
22 30
       <div class="dart"></div>
@@ -26,69 +34,68 @@
26 34
   <input type="hidden" class="filter_clear_url" value="{{ path('filter_clear') }}" />
27 35
   <input type="hidden" class="filter_mytags_url" value="{{ path('filter_mytags') }}" />
28 36
 
29
-  <div id="home_top_tools">
30
-  
31
-    <div id="element_add_box" style="display: none;">    
32
-
33
-      <a href="#" id="element_add_close_link" class="button">
34
-        &lt;&lt; {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
35
-      </a>
37
+  <div id="element_add_box" style="display: none;">    
36 38
 
37
-      <form novalidate name="{{ add_form_name }}" 
38
-        {% if  app.environment != 'test' %}
39
-          action="{{ path('element_retrieve_api_datas') }}" method="post" {{ form_enctype(add_form) }}
40
-        {% else %}
41
-          action="{{ path('element_add') }}" method="post" {{ form_enctype(add_form) }}
42
-        {% endif %}
43
-      >
44
-
45
-        {% include "MuzichCoreBundle:Element:form.add.html.twig" with { 
46
-          'form'          : add_form, 
47
-          'form_name'     : add_form_name
48
-        } %}
49
-
50
-      {% if from_url is defined %}
51
-      {% if from_url %}
52
-        <script type="text/javascript">
53
-          $(document).ready(function(){
54
-            $('#element_add_box').slideDown("slow");
55
-            $('#element_add_link').hide();
56
-            $('form[name="search"]').slideUp();
57
-            $('img#form_add_loader').show();
58
-            $('input#element_add_url').val("{{ from_url }}");
59
-            $('form[name="add"]').submit();
60
-          });
61
-        </script>
62
-      {% endif %}
39
+    <h2>{{ 'home.add_element_box.title'|trans({}, 'navigationui') }}</h2>
40
+  
41
+    <form novalidate name="{{ add_form_name }}" 
42
+      {% if  app.environment != 'test' %}
43
+        action="{{ path('element_retrieve_api_datas') }}" method="post" {{ form_enctype(add_form) }}
44
+      {% else %}
45
+        action="{{ path('element_add') }}" method="post" {{ form_enctype(add_form) }}
63 46
       {% endif %}
47
+    >
64 48
 
65
-      </form>
66
-    </div>
67
-
68
-    <div id="added_element_to_group" style="display: none;">
69
-      <img class="loader" style="display: none;" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loading" />
70
-      <p class="help">
71
-        {{ 'element_add.added_to_group.sentence'|trans({}, 'userui') }}
72
-      </p>
73
-      <ul id="groups_to_add_element"></ul>
74
-      <p class="cancel">
75
-        <a href="" class="cancel">
76
-          {{ 'element_add.added_to_group.nothanks'|trans({}, 'userui') }}
77
-        </a>
78
-      </p>
79
-    </div>
80
-
81
-    <form name="{{ search_form_name }}" action="{{ path('search_elements') }}" method="post" {{ form_enctype(search_form) }}>
82
-
83
-      {% include "MuzichCoreBundle:SearchElement:form.html.twig" with { 
84
-        'form_name'               : search_form_name,
85
-        'search_tags'             : search_tags_id
49
+      {% include "MuzichCoreBundle:Element:form.add.html.twig" with { 
50
+        'form'          : add_form, 
51
+        'form_name'     : add_form_name
86 52
       } %}
87 53
 
88
-      <input class="main button" type="submit" value="{{ 'filter.submit'|trans({}, 'userui') }}"/>
54
+    {% if from_url is defined %}
55
+    {% if from_url %}
56
+      <script type="text/javascript">
57
+        $(document).ready(function(){
58
+          $('#element_add_box').slideDown("slow");
59
+          $('#element_add_link').hide();
60
+          $('form[name="search"]').slideUp();
61
+          $('img#form_add_loader').show();
62
+          $('input#element_add_url').val("{{ from_url }}");
63
+          $('form[name="add"]').submit();
64
+        });
65
+      </script>
66
+    {% endif %}
67
+    {% endif %}
89 68
 
90 69
     </form>
70
+  </div>
71
+
72
+  <div id="added_element_to_group" style="display: none;">
73
+    <img class="loader" style="display: none;" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loading" />
74
+    <p class="help">
75
+      {{ 'element_add.added_to_group.sentence'|trans({}, 'userui') }}
76
+    </p>
77
+    <ul id="groups_to_add_element"></ul>
78
+    <p class="cancel">
79
+      <a href="" class="cancel">
80
+        {{ 'element_add.added_to_group.nothanks'|trans({}, 'userui') }}
81
+      </a>
82
+    </p>
83
+  </div>
91 84
 
85
+  <div class="top_tools" {% if search_tags_id|length == 0 %}style="display: none;"{% endif %}>
86
+  
87
+    <div class="search_tools">
88
+      <form name="{{ search_form_name }}" action="{{ path('search_elements') }}" method="post" {{ form_enctype(search_form) }}>
89
+  
90
+        {% include "MuzichCoreBundle:SearchElement:form.html.twig" with { 
91
+          'form_name'               : search_form_name,
92
+          'search_tags'             : search_tags_id
93
+        } %}
94
+  
95
+        <input class="main button" type="submit" value="{{ 'filter.submit'|trans({}, 'userui') }}"/>
96
+  
97
+      </form>
98
+    </div>
92 99
 
93 100
     <a href="{{ path('elements_get_filter_data_autoplay', {
94 101
       'type' : 'filter'

+ 84 - 74
src/Muzich/HomeBundle/Resources/views/Show/showGroup.html.twig View File

@@ -1,90 +1,100 @@
1 1
 {% extends "MuzichHomeBundle::layout.html.twig" %}
2 2
 
3 3
 {% block title %}{{ group.name }}{% endblock %}
4
+{% block mainbox_classes %}mainbox_nopadding{% endblock %}
4 5
 
5 6
 {% block content %}
6 7
 
7
-  <div class="show_options">
8
+  <div class="top_tools">
8 9
     
9
-    {% if his_group %}
10
-      <a class="button" href="{{ path('group_edit', { 'slug': group.slug }) }}" >
11
-        {{ 'group.edit'|trans({}, 'groups') }}
10
+    
11
+    {% if his_group or group.open %}
12
+    
13
+      <a href="#" id="element_add_link" class="button gradient justtopright">
14
+        {{ 'home.add_element'|trans({}, 'navigationui') }}
15
+        <img src="{{ asset('/img/icon_dart_right_white.png') }}" alt="" />
16
+      </a>
17
+      <a href="#" id="element_add_close_link" class="button gradient justtopright" style="display: none;">
18
+        {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
19
+        <img src="{{ asset('/img/icon_dart_left_white.png') }}" alt="" />
12 20
       </a>
21
+    
13 22
     {% endif %}
23
+
24
+    <div class="show_options">
14 25
       
15
-    <a href="{{ path('follow', { 'type': 'group', 'id': group.id, 'token': user.personalHash }) }}" 
16
-       class="follow_link button {% if following %}following{% else %}notfollowing{% endif %}">
17
-      {% if following %}
18
-        {{ 'group.following'|trans({}, 'groups') }}
19
-      {% else %}
20
-        {{ 'group.follow'|trans({}, 'groups') }}
26
+      {% if his_group %}
27
+        <a class="button" href="{{ path('group_edit', { 'slug': group.slug }) }}" >
28
+          {{ 'group.edit'|trans({}, 'groups') }}
29
+        </a>
21 30
       {% endif %}
22
-    </a>
31
+      
32
+      <a href="{{ path('follow', { 'type': 'group', 'id': group.id, 'token': user.personalHash }) }}" 
33
+         class="follow_link button darkbutton {% if following %}following{% else %}notfollowing{% endif %}">
34
+        {% if following %}
35
+          {{ 'group.following'|trans({}, 'groups') }}
36
+        {% else %}
37
+          {{ 'group.follow'|trans({}, 'groups') }}
38
+        {% endif %}
39
+      </a>
40
+      
41
+    </div>
42
+      
43
+    <h1>{{ group.name }}</h1>
23 44
     
24
-  </div>
25 45
     
26
-  <h2>{{ group.name }}</h2>
27
-  
28
-  <p class="show_info">
29
-    {% if count_owned != 0 %}
30
-    {{ 'show.user.elements.count'|trans({
31
-      '%count_owned%' : count_owned,
32
-      '%count_favorited%': count_favorited,
33
-      '%count_favorited_users%': count_favorited_users
34
-    }, 'elements') }}
35
-    {% else %}
36
-      {{ 'show.user.elements.no_count'|trans({}, 'elements') }}
37
-    {% endif %}
38
-    <br />
39
-    {% if count_followers > 1 %}
40
-      {{ 'show.user.followers.x_count'|trans({'%count%':count_followers, '%name%':group.name }, 'elements') }}
41
-    {% elseif count_followers == 0 %}
42
-      {{ 'show.user.followers.zero_count'|trans({'%name%':group.name }, 'elements') }}
43
-    {% else %}
44
-      {{ 'show.user.followers.one_count'|trans({'%count%':count_followers, '%name%':group.name }, 'elements') }}
45
-    {% endif %}
46
-  </p>
47
-  
48
-  <p class="group_description">
49
-    {{ group.description }}
50
-  </p>
51
-
52
-  {% include "MuzichCoreBundle:Tag:tagsList.show.html.twig" with {
53
-    'object_id'   : group.id,
54
-    'object_type' : 'group'
55
-  } %}
56
-  
57
-  <a href="{{ path('elements_get_filter_data_autoplay_show', {
58
-        'show_type'  : 'group',
59
-        'show_id'    : group.id, 
60
-        'data'       : '[]'
61
-      }) }}" class="button" id="autoplay_launch" 
62
-     title="{{ 'elements.autoplay.launch'|trans({}, 'elements') }}" >
63
-    <img src="{{ asset('/bundles/muzichcore/img/1353494305_player_play.png') }}" alt="" />
64
-  </a>
65
-  
66
-  {% if his_group or group.open %}
46
+    {% if his_group or group.open %}
47
+      <div id="element_add_box" style="display: none;">
48
+    
49
+        <input type="hidden" id="add_element_group_page" value="{{ group.slug }}" />
50
+        <form novalidate name="{{ add_form_name }}" action="{{ path('element_add', {'group_slug' : group.slug}) }}" method="post" {{ form_enctype(add_form) }}>
67 51
   
68
-    <div id="element_add_box" style="display: none;">
52
+          {% include "MuzichCoreBundle:Element:form.add.html.twig" with { 'form': add_form, 'form_name': add_form_name } %}
69 53
   
70
-      <a href="#" id="element_add_close_link" class="button">
71
-        &lt;&lt; {{ 'group.add_element_box.close'|trans({}, 'navigationui') }}
72
-      </a>
73
-      <input type="hidden" id="add_element_group_page" value="{{ group.slug }}" />
74
-      <form novalidate name="{{ add_form_name }}" action="{{ path('element_add', {'group_slug' : group.slug}) }}" method="post" {{ form_enctype(add_form) }}>
75
-
76
-        {% include "MuzichCoreBundle:Element:form.add.html.twig" with { 'form': add_form, 'form_name': add_form_name } %}
77
-
78
-      </form>
79
-      
80
-    </div>
54
+        </form>
55
+        
56
+      </div>
57
+    {% endif %}
58
+    
59
+    <p class="show_info">
60
+      {% if count_owned != 0 %}
61
+      {{ 'show.user.elements.count'|trans({
62
+        '%count_owned%' : count_owned,
63
+        '%count_favorited%': count_favorited,
64
+        '%count_favorited_users%': count_favorited_users
65
+      }, 'elements') }}
66
+      {% else %}
67
+        {{ 'show.user.elements.no_count'|trans({}, 'elements') }}
68
+      {% endif %}
69
+      <br />
70
+      {% if count_followers > 1 %}
71
+        {{ 'show.user.followers.x_count'|trans({'%count%':count_followers, '%name%':group.name }, 'elements') }}
72
+      {% elseif count_followers == 0 %}
73
+        {{ 'show.user.followers.zero_count'|trans({'%name%':group.name }, 'elements') }}
74
+      {% else %}
75
+        {{ 'show.user.followers.one_count'|trans({'%count%':count_followers, '%name%':group.name }, 'elements') }}
76
+      {% endif %}
77
+    </p>
78
+    
79
+    <p class="group_description">
80
+      {{ group.description }}
81
+    </p>
81 82
   
82
-    <a href="#" id="element_add_link" class="button">
83
-      {{ 'group.add_element'|trans({}, 'navigationui') }} &gt;&gt;
83
+    {% include "MuzichCoreBundle:Tag:tagsList.show.html.twig" with {
84
+      'object_id'   : group.id,
85
+      'object_type' : 'group'
86
+    } %}
87
+    
88
+    <a href="{{ path('elements_get_filter_data_autoplay_show', {
89
+          'show_type'  : 'group',
90
+          'show_id'    : group.id, 
91
+          'data'       : '[]'
92
+        }) }}" class="button" id="autoplay_launch" 
93
+       title="{{ 'elements.autoplay.launch'|trans({}, 'elements') }}" >
94
+      <img src="{{ asset('/bundles/muzichcore/img/1353494305_player_play.png') }}" alt="" />
84 95
     </a>
85
-    <br />
86
-  
87
-  {% endif %}
96
+    
97
+  </div>
88 98
   
89 99
   {% include "MuzichCoreBundle:SearchElement:default.html.twig" with {'no_group_name' : true} %}
90 100
     
@@ -94,7 +104,6 @@
94 104
     
95 105
   {% if more_count is defined %} 
96 106
   {% if elements|length %}
97
-   <span class="elements_more">
98 107
      <input type="hidden" id="more_elements_url" value="{{ path('show_elements_get', {
99 108
         'type'          : 'group',
100 109
         'object_id'     : group.id, 
@@ -104,10 +113,11 @@
104 113
         'type'          : 'group',
105 114
         'object_id'     : group.id, 
106 115
         'tags_ids_json' : '[]'
107
-      }) }}" class="elements_more button" >
108
-       {{ 'more'|trans({}, 'userui') }}
116
+      }) }}" class="elements_more" >
117
+       <div>
118
+        {{ 'more'|trans({}, 'userui') }}
119
+      </div>
109 120
      </a>
110
-   </span>
111 121
   {% endif %}
112 122
   {% endif %}
113 123
   

+ 94 - 87
src/Muzich/HomeBundle/Resources/views/Show/showUser.html.twig View File

@@ -1,124 +1,131 @@
1 1
 {% extends "MuzichHomeBundle::layout.html.twig" %}
2 2
 
3 3
 {% block title %}{{ viewed_user.name }}{% endblock %}
4
+{% block mainbox_classes %}mainbox_nopadding{% endblock %}
4 5
 
5 6
 {% block content %}
6 7
 
7
-  <div class="show_options">
8
+  <div class="top_tools">
8 9
     
9
-    <a class="button" href="{{ path('favorite_user_list', {'slug' : viewed_user.slug}) }}" >
10
-      {{ 'user.view_favorites'|trans({}, 'users') }}
11
-    </a>
12
-    
13
-    {% if app.user.id != viewed_user.id %}
14
-      <a href="{{ path('follow', { 'type': 'user', 'id': viewed_user.id, 'token': user.personalHash }) }}" 
15
-         class="follow_link button {% if following %}following{% else %}notfollowing{% endif %}" >
16
-        {% if following %}
17
-          {{ 'user.following'|trans({}, 'users') }}
18
-        {% else %}
19
-          {{ 'user.follow'|trans({}, 'users') }}
20
-        {% endif %}
10
+    {% if app.user.id == viewed_user.id %}
11
+      <a href="#" id="element_add_link" class="button gradient justtopright">
12
+        {{ 'home.add_element'|trans({}, 'navigationui') }}
13
+        <img src="{{ asset('/img/icon_dart_right_white.png') }}" alt="" />
14
+      </a>
15
+      <a href="#" id="element_add_close_link" class="button gradient justtopright" style="display: none;">
16
+        {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
17
+        <img src="{{ asset('/img/icon_dart_left_white.png') }}" alt="" />
21 18
       </a>
22 19
     {% endif %}
23 20
     
24
-  </div>
21
+    <div class="show_options">
22
+      
23
+      {% if app.user.id != viewed_user.id %}
24
+        <a href="{{ path('follow', { 'type': 'user', 'id': viewed_user.id, 'token': user.personalHash }) }}" 
25
+           class="follow_link button darkbutton {% if following %}following{% else %}notfollowing{% endif %}" >
26
+          {% if following %}
27
+            {{ 'user.following'|trans({}, 'users') }}
28
+          {% else %}
29
+            {{ 'user.follow'|trans({}, 'users') }}
30
+          {% endif %}
31
+        </a>
32
+      {% endif %}
33
+      
34
+    </div>
35
+    
36
+    <h1>{{ 'user.show.title'|trans({'%name%' : viewed_user.name}, 'users') }}</h1>
25 37
   
26
-
27
-  <h2>{{ 'user.show.title'|trans({'%name%' : viewed_user.name}, 'users') }}</h2>
28
-
29
-  {% if app.user.id == viewed_user.id %}
30
-    <div id="element_add_box" style="display: none;">    
38
+    {% if app.user.id == viewed_user.id %}
39
+      <div id="element_add_box" style="display: none;">    
40
+      
41
+        <form novalidate name="{{ add_form_name }}" 
42
+          {% if  app.environment != 'test' %}
43
+            action="{{ path('element_retrieve_api_datas') }}" method="post" {{ form_enctype(add_form) }}
44
+          {% else %}
45
+            action="{{ path('element_add') }}" method="post" {{ form_enctype(add_form) }}
46
+          {% endif %}    
47
+        method="post" {{ form_enctype(add_form) }}>
48
+  
49
+          {% include "MuzichCoreBundle:Element:form.add.html.twig" with { 
50
+            'form'          : add_form, 
51
+            'form_name'     : add_form_name
52
+          } %}
53
+      
54
+        </form>
55
+      </div>
56
+  
57
+    {% endif %}
31 58
     
32
-      <a href="#" id="element_add_close_link" class="button">
33
-        &lt;&lt; {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
34
-      </a>
35
-
36
-      <form novalidate name="{{ add_form_name }}" 
37
-        {% if  app.environment != 'test' %}
38
-          action="{{ path('element_retrieve_api_datas') }}" method="post" {{ form_enctype(add_form) }}
39
-        {% else %}
40
-          action="{{ path('element_add') }}" method="post" {{ form_enctype(add_form) }}
41
-        {% endif %}    
42
-      method="post" {{ form_enctype(add_form) }}>
43
-
44
-        {% include "MuzichCoreBundle:Element:form.add.html.twig" with { 
45
-          'form'          : add_form, 
46
-          'form_name'     : add_form_name
47
-        } %}
48
-
49
-      </form>
59
+    <div class="reputation">
60
+      {{ 'user.reputation.name'|trans({}, 'users') }}: 
61
+      <span class="score">{{ viewed_user.reputation }}</span>
62
+      {{ 'user.reputation.txt'|trans({}, 'users') }}
50 63
     </div>
51
-
52
-    <a href="#" id="element_add_link" class="button">
53
-      {{ 'home.add_element'|trans({}, 'navigationui') }} &gt;&gt;
64
+    
65
+    <p class="show_info">
66
+      {% if count_owned != 0 %}
67
+      {{ 'show.user.elements.count'|trans({
68
+        '%count_owned%' : count_owned,
69
+        '%count_favorited%': count_favorited,
70
+        '%count_favorited_users%': count_favorited_users
71
+      }, 'elements') }}
72
+      {% else %}
73
+        {{ 'show.user.elements.no_count'|trans({}, 'elements') }}
74
+      {% endif %}
75
+      <br />
76
+      {% if count_followers > 1 %}
77
+        {{ 'show.user.followers.x_count'|trans({'%count%':count_followers, '%name%':viewed_user.name }, 'elements') }}
78
+      {% elseif count_followers == 0 %}
79
+        {{ 'show.user.followers.zero_count'|trans({'%name%':viewed_user.name }, 'elements') }}
80
+      {% else %}
81
+        {{ 'show.user.followers.one_count'|trans({'%count%':count_followers, '%name%':viewed_user.name }, 'elements') }}
82
+      {% endif %}
83
+    </p>
84
+      
85
+    {% include "MuzichCoreBundle:Tag:tagsList.show.html.twig" with {
86
+      'object_id'   : viewed_user.id,
87
+      'object_type' : 'user'
88
+    } %}
89
+    
90
+    <a href="{{ path('elements_get_filter_data_autoplay_show', {
91
+          'show_type'  : 'user',
92
+          'show_id'    : viewed_user.id, 
93
+          'data'       : '[]'
94
+        }) }}" class="button" id="autoplay_launch" 
95
+       title="{{ 'elements.autoplay.launch'|trans({}, 'elements') }}" >
96
+      <img src="{{ asset('/bundles/muzichcore/img/1353494305_player_play.png') }}" alt="" />
54 97
     </a>
55
-  {% endif %}
56 98
   
57
-  <div class="reputation">
58
-    {{ 'user.reputation.name'|trans({}, 'users') }}: 
59
-    <span class="score">{{ viewed_user.reputation }}</span>
60
-    {{ 'user.reputation.txt'|trans({}, 'users') }}
61 99
   </div>
62 100
   
63
-  <p class="show_info">
64
-    {% if count_owned != 0 %}
65
-    {{ 'show.user.elements.count'|trans({
66
-      '%count_owned%' : count_owned,
67
-      '%count_favorited%': count_favorited,
68
-      '%count_favorited_users%': count_favorited_users
69
-    }, 'elements') }}
70
-    {% else %}
71
-      {{ 'show.user.elements.no_count'|trans({}, 'elements') }}
72
-    {% endif %}
73
-    <br />
74
-    {% if count_followers > 1 %}
75
-      {{ 'show.user.followers.x_count'|trans({'%count%':count_followers, '%name%':viewed_user.name }, 'elements') }}
76
-    {% elseif count_followers == 0 %}
77
-      {{ 'show.user.followers.zero_count'|trans({'%name%':viewed_user.name }, 'elements') }}
78
-    {% else %}
79
-      {{ 'show.user.followers.one_count'|trans({'%count%':count_followers, '%name%':viewed_user.name }, 'elements') }}
80
-    {% endif %}
81
-  </p>
82
-    
83
-  {% include "MuzichCoreBundle:Tag:tagsList.show.html.twig" with {
84
-    'object_id'   : viewed_user.id,
85
-    'object_type' : 'user'
86
-  } %}
87
-  
88
-  <a href="{{ path('elements_get_filter_data_autoplay_show', {
89
-        'show_type'  : 'user',
90
-        'show_id'    : viewed_user.id, 
91
-        'data'       : '[]'
92
-      }) }}" class="button" id="autoplay_launch" 
93
-     title="{{ 'elements.autoplay.launch'|trans({}, 'elements') }}" >
94
-    <img src="{{ asset('/bundles/muzichcore/img/1353494305_player_play.png') }}" alt="" />
95
-  </a>
96 101
   
97 102
   {% include "MuzichCoreBundle:SearchElement:default.html.twig" %}
98
-    
103
+  
99 104
   <div class="elements_loader_div">
100 105
     <img class="elements_more_loader" style="display: none;" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loading" />
101 106
   </div>
102 107
   
103 108
   {% if more_count is defined %} 
104 109
   {% if elements|length %}
105
-   <span class="elements_more">
106
-     <input type="hidden" id="more_elements_url" value="{{ path('show_elements_get', {
110
+    
111
+    <input type="hidden" id="more_elements_url" value="{{ path('show_elements_get', {
107 112
         'type'          : 'user',
108 113
         'object_id'     : viewed_user.id, 
109 114
         'tags_ids_json' : ''
110 115
       }) }}" />
111
-     <a href="{{ path('show_elements_get', {
116
+    <a href="{{ path('show_elements_get', {
112 117
         'type'          : 'user',
113 118
         'object_id'     : viewed_user.id, 
114 119
         'tags_ids_json' : '[]'
115
-      }) }}" class="elements_more button" >
116
-       {{ 'more'|trans({}, 'userui') }}
117
-     </a>
118
-   </span>
120
+      }) }}" class="elements_more" >
121
+      <div>
122
+        {{ 'more'|trans({}, 'userui') }}
123
+      </div>
124
+    </a>
125
+   
119 126
   {% endif %}
120 127
   {% endif %}
121
-  
128
+    
122 129
   <input type="hidden" id="autoplay_url" value="{{ path('elements_get_filter_data_autoplay_show', {
123 130
     'show_type'          : 'user',
124 131
     'show_id'     : viewed_user.id, 

+ 2 - 2
web/bundles/muzichcore/css/base.css View File

@@ -61,9 +61,9 @@ a:link {
61 61
 a:visited {
62 62
   color: #339;
63 63
 }
64
-a:hover, a:focus, a:active {
64
+/*a:hover, a:focus, a:active {
65 65
   color: #00F;
66
-}
66
+}*/
67 67
 
68 68
 /* Pas de bordure autour des images dans les liens */
69 69
 a img {

+ 20 - 16
web/bundles/muzichcore/css/old.css View File

@@ -456,7 +456,7 @@ width: 300px;
456 456
 
457 457
 /**/
458 458
 
459
-ul.tagbox {
459
+/*ul.tagbox {
460 460
 
461 461
 cursor: text;
462 462
 border: none;
@@ -466,7 +466,7 @@ margin-left: 0px;
466 466
 }
467 467
 ul.tagbox li {
468 468
 margin:0;
469
-}
469
+}*/
470 470
 
471 471
 /*ul.tagbox li.tag {
472 472
   
@@ -601,10 +601,10 @@ li.element img.play, li.element img.open
601 601
   
602 602
 }
603 603
 
604
-ul.elements, ul#autoplay_element
604
+/*ul.elements, ul#autoplay_element
605 605
 {
606 606
   margin-left: 0px;
607
-}
607
+}*/
608 608
 
609 609
 /*ul.elements li.even
610 610
 {
@@ -732,11 +732,11 @@ div.tag_loader_div, div.loader
732 732
   font-weight: bold;
733 733
 }*/
734 734
 
735
-div.no_elements
735
+/*div.no_elements
736 736
 {
737 737
   text-align: center;
738 738
   background-color: #d9f7ff;
739
-}
739
+}*/
740 740
 
741 741
 /*  Recherche de tags dynamique  */
742 742
 
@@ -764,7 +764,7 @@ div.search_tag_list span.info
764 764
   background-color: white;
765 765
   padding: 2px;
766 766
 }
767
-
767
+/*
768 768
 div.search_tag_list ul.search_tag_list
769 769
 {
770 770
   list-style-image: none;
@@ -772,9 +772,9 @@ div.search_tag_list ul.search_tag_list
772 772
   margin:0;
773 773
   list-style-type:none;
774 774
   overflow: hidden;
775
-}
775
+}*/
776 776
 
777
-div.search_tag_list ul.search_tag_list li
777
+/*div.search_tag_list ul.search_tag_list li
778 778
 {
779 779
   float: left;
780 780
   margin-right: 4px;
@@ -820,7 +820,7 @@ div.search_tag_list span.info
820 820
 #container ul.search_tag_list li a:hover
821 821
 {
822 822
   text-decoration: none;
823
-}
823
+}*/
824 824
  
825 825
 .elements_loader_div
826 826
 {
@@ -883,7 +883,7 @@ div.question .title {
883 883
 
884 884
 /* Liste de tags */
885 885
 
886
-ul#favorite_tags
886
+/*ul#favorite_tags
887 887
 {
888 888
   padding:0;
889 889
   margin:0;
@@ -895,7 +895,7 @@ ul#favorite_tags li
895 895
   display: inline;
896 896
   margin-left: 2px;
897 897
   margin-top: 2px;
898
-  float: left; /*pour IE*/
898
+  float: left;
899 899
 }
900 900
 
901 901
 ul#favorite_tags li.list_length_big a.button
@@ -910,7 +910,7 @@ ul#favorite_tags li.list_length_medium a.button
910 910
   font-size: 15px;
911 911
   padding-top: 3px;
912 912
   padding-bottom: 3px;
913
-}
913
+}*/
914 914
 
915 915
 a.more
916 916
 {
@@ -1015,7 +1015,7 @@ div.display_more_elements
1015 1015
   text-align: center;
1016 1016
 }
1017 1017
 
1018
-input#element_add_url
1018
+/*input#element_add_url
1019 1019
 {
1020 1020
   width: 70%;
1021 1021
   font-size: 110%;
@@ -1027,7 +1027,7 @@ input#element_add_name
1027 1027
   width: 100%;
1028 1028
   font-size: 110%;
1029 1029
   font-weight: bold;
1030
-}
1030
+}*/
1031 1031
 
1032 1032
 label#element_add_url, label#element_add_name
1033 1033
 {
@@ -1307,10 +1307,14 @@ ul#favorite_tags a.button.highlight
1307 1307
   color: blue;
1308 1308
 }
1309 1309
 
1310
-span#add_url_title
1310
+div#add_url_title
1311 1311
 {
1312
+  width: 510px;
1312 1313
   font-weight: bold;
1313 1314
   font-size: 15px;
1315
+  white-space: nowrap;
1316
+  overflow: hidden;
1317
+  text-overflow: ellipsis;
1314 1318
 }
1315 1319
 
1316 1320
 div#autoplay

+ 66 - 16
web/bundles/muzichcore/js/muzich.js View File

@@ -279,6 +279,24 @@ $(document).ready(function(){
279 279
   $('#tabs_tag_search_no_tags, a.filter_clear_url').live("click", function(){
280 280
     $('img.elements_more_loader').show();
281 281
     $('ul.elements').html('');
282
+    
283
+    // COde: c tout pouris ce code 
284
+    if ($(this).hasClass('filter_clear_url'))
285
+    {
286
+      $('ul#tabs_tag_search_buttons').find('li').removeClass('selected');
287
+      $('li#tab_li_tag_search_no_tags').addClass('selected');
288
+    }
289
+    else
290
+    {
291
+      $(this).parents('ul#tabs_tag_search_buttons').find('li').removeClass('selected');
292
+      $(this).parent('li').addClass('selected');
293
+    }
294
+    
295
+    if ($('div#home_top_tools:visible').length)
296
+    {
297
+      $('div#home_top_tools').slideUp();
298
+    }
299
+    
282 300
     // On initialise la liste de tags déjà ajouté
283 301
     window.search_tag_prompt_connector.initializeTags([]);
284 302
     $('div.no_elements').hide();
@@ -293,6 +311,13 @@ $(document).ready(function(){
293 311
     
294 312
     $('img.elements_more_loader').show();
295 313
     $('ul.elements').html('');
314
+    $(this).parents('ul#tabs_tag_search_buttons').find('li').removeClass('selected');
315
+    $(this).parent('li').addClass('selected');
316
+    
317
+    if ($('div#home_top_tools:visible').length == 0)
318
+    {
319
+      $('div#home_top_tools').slideDown();
320
+    }
296 321
     
297 322
     var form = $('form[name="search"]');
298 323
     
@@ -328,6 +353,17 @@ $(document).ready(function(){
328 353
     
329 354
     if ($('form[name="search"]').length)
330 355
     {
356
+      if ($('li#tab_li_tag_search_no_tags').hasClass('selected'))
357
+      {
358
+        $('ul#tabs_tag_search_buttons').find('li').removeClass('selected');
359
+        $('li#tab_li_tag_search_with_tags').addClass('selected');
360
+        if (!$('div#home_top_tools:visible').length)
361
+        {
362
+          $('div#home_top_tools').slideDown();
363
+        }
364
+      }
365
+      
366
+      
331 367
       $('img.elements_more_loader').show();
332 368
       $('ul.elements').html('');
333 369
       
@@ -641,6 +677,7 @@ $(document).ready(function(){
641 677
     
642 678
     var link = $(this);
643 679
     var li = link.parents('li.element');
680
+    li.addClass('selected');
644 681
     // On garde en mémoire l'élément édité en cas d'annulation
645 682
     elements_edited[li.attr('id')] = li.html();
646 683
     var div_loader = li.find('div.loader');
@@ -685,6 +722,7 @@ $(document).ready(function(){
685 722
         if (response.status == 'success')
686 723
         {
687 724
           li.html(response.html);
725
+          li.removeClass('selected');
688 726
           delete(elements_edited[li.attr('id')]);
689 727
         }
690 728
         else if (response.status == 'error')
@@ -709,6 +747,7 @@ $(document).ready(function(){
709 747
   // Annulation d'un formulaire de modification d'élément
710 748
   $('form.edit_element input.cancel_edit').live('click', function(){
711 749
     var li = $(this).parents('li.element');
750
+    li.removeClass('selected');
712 751
     li.html(elements_edited[li.attr('id')]);
713 752
     delete(elements_edited[li.attr('id')]);
714 753
   });
@@ -1104,22 +1143,26 @@ $(document).ready(function(){
1104 1143
   // Selection Réseau global / Mon réseau
1105 1144
   $('a.all_network, a.my_network').live('click', function(){
1106 1145
     
1107
-    $(this).parent('li').parent('ul').find('li').removeClass('selected')
1108
-    
1109
-    if ($(this).hasClass('all_network'))
1110
-    {
1111
-      $(this).parent('li').addClass('selected');
1112
-      $('#element_search_form_network').val('network_public');
1113
-    }
1114
-    else
1146
+    if ($('form[name="search"]').length)
1115 1147
     {
1116
-      $(this).parent('li').addClass('selected');
1117
-      $('#element_search_form_network').val('network_personal');
1148
+      $(this).parent('li').parent('ul').find('li').removeClass('selected')
1149
+      
1150
+      if ($(this).hasClass('all_network'))
1151
+      {
1152
+        $(this).parent('li').addClass('selected');
1153
+        $('#element_search_form_network').val('network_public');
1154
+      }
1155
+      else
1156
+      {
1157
+        $(this).parent('li').addClass('selected');
1158
+        $('#element_search_form_network').val('network_personal');
1159
+      }
1160
+      
1161
+      $('form[name="search"] input[type="submit"]').trigger('click');
1162
+      
1163
+      return false;
1118 1164
     }
1119
-    
1120
-    $('form[name="search"] input[type="submit"]').trigger('click');
1121
-    
1122
-    return false;
1165
+    return true;
1123 1166
   });
1124 1167
   
1125 1168
   function element_add_proceed_json_response(response)
@@ -1132,7 +1175,10 @@ $(document).ready(function(){
1132 1175
       
1133 1176
       if ($('form[name="search"]').length)
1134 1177
       {
1135
-        $('form[name="search"]').slideDown();
1178
+        if ($('a#tabs_tag_search_with_tags').parent('li').hasClass('selected'))
1179
+        {
1180
+          $('div#home_top_tools').slideDown();
1181
+        }
1136 1182
       }
1137 1183
       remove_tags('add');
1138 1184
       recolorize_element_list();
@@ -1161,6 +1207,7 @@ $(document).ready(function(){
1161 1207
       else
1162 1208
       {
1163 1209
         $('a#element_add_link').show();
1210
+        $('a#element_add_close_link').hide();
1164 1211
       }
1165 1212
       
1166 1213
       form_add_hide_errors();
@@ -1516,6 +1563,7 @@ $(document).ready(function(){
1516 1563
    
1517 1564
   $('ul#favorite_tags a.tag').click(function(){
1518 1565
     list_tag_clicked($(this));
1566
+    return false;
1519 1567
   });
1520 1568
   
1521 1569
   last_keypress = 0;
@@ -2025,6 +2073,7 @@ $(document).ready(function(){
2025 2073
       
2026 2074
       $('div#added_element_to_group').slideUp();
2027 2075
       $('a#element_add_link').show();
2076
+      $('a#element_add_close_link').hide();
2028 2077
       
2029 2078
     });
2030 2079
     return false;
@@ -2033,6 +2082,7 @@ $(document).ready(function(){
2033 2082
   $('div#added_element_to_group a.cancel').live('click', function(){
2034 2083
     $('div#added_element_to_group').slideUp();
2035 2084
     $('a#element_add_link').show();
2085
+    $('a#element_add_close_link').show();
2036 2086
     return false;
2037 2087
   });
2038 2088
    
@@ -2086,7 +2136,7 @@ $(document).ready(function(){
2086 2136
       {
2087 2137
         link.attr('href', response.data.a.href);
2088 2138
         img.attr('src', response.data.img.src);
2089
-        link.parents('td.right').find('li.score span.score').html(response.data.element.points);
2139
+        link.parents('ul.element_thumb_actions').find('li.score').text(response.data.element.points);
2090 2140
       }
2091 2141
       
2092 2142
     });

+ 12 - 2
web/bundles/muzichhome/js/home.js View File

@@ -4,7 +4,11 @@ $(document).ready(function(){
4 4
    $('#element_add_link').click(function(){
5 5
      $('#element_add_box').slideDown("slow");
6 6
      $('#element_add_link').hide();
7
-     $('form[name="search"]').slideUp();
7
+     $('#element_add_close_link').show();
8
+     if ($('a#tabs_tag_search_with_tags').parent('li').hasClass('selected'))
9
+     {
10
+       $('div#home_top_tools').slideUp();
11
+     }
8 12
      // Au cas ou firefox garde la valeur step 2:
9 13
         $('input#form_add_step').val('1');
10 14
     $('form[name="add"]').attr('action', url_datas_api);
@@ -15,7 +19,13 @@ $(document).ready(function(){
15 19
    $('#element_add_close_link').click(function(){
16 20
      $('#element_add_box').slideUp("slow");
17 21
      $('#element_add_link').show();
18
-     $('form[name="search"]').slideDown();
22
+     $('#element_add_close_link').hide();
23
+     
24
+     if ($('a#tabs_tag_search_with_tags').parent('li').hasClass('selected'))
25
+     {
26
+       $('div#home_top_tools').slideDown();
27
+     }
28
+     
19 29
      //form_add_reinit();
20 30
      // copie du contenu de la fonction ci dessus, arrive pas a l'appeler ... huh
21 31
      $('div#element_add_box').slideUp();

+ 468 - 33
web/css/main.css View File

@@ -185,9 +185,26 @@ header#header hgroup
185 185
 
186 186
 #mainbox
187 187
 {
188
+  margin-top: 25px;
189
+  /*padding: 10px;*/
190
+  padding-bottom: 23px;
191
+}
192
+
193
+#mainbox.mainbox_margintop
194
+{
188 195
   margin-top: 80px;
189 196
 }
190 197
 
198
+#mainbox.mainbox_nopadding
199
+{
200
+  padding: 0px;
201
+}
202
+
203
+#mainbox h1
204
+{
205
+  margin-top: 10px;
206
+}
207
+
191 208
 .nicebox
192 209
 {
193 210
   -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
@@ -199,10 +216,16 @@ header#header hgroup
199 216
 aside#sidebar
200 217
 {
201 218
   display: table-cell;
202
-	width: 300px;
219
+  width: 300px;
203 220
   vertical-align: top;
204 221
 }
205 222
 
223
+ul.elements
224
+{
225
+  margin-top: 0px;
226
+  margin-left: 0px;
227
+  margin-bottom: 0px;
228
+}
206 229
 
207 230
 ul.elements li.element
208 231
 {
@@ -212,6 +235,11 @@ ul.elements li.element
212 235
   padding: 10px;
213 236
 }
214 237
 
238
+ul.elements li.element:last-child
239
+{
240
+  
241
+}
242
+
215 243
 td.element_thumbnail
216 244
 {
217 245
   background-color: #d5d5d5;
@@ -377,14 +405,14 @@ ul.element_tags .button
377 405
 }
378 406
 
379 407
 .button {
380
-	display: inline-block;
381
-	line-height: 1;
382
-	padding: 4px 7px;
383
-	font-weight: bold;
384
-	-moz-border-radius: 3px;
385
-	-webkit-border-radius: 3px;
386
-	-khtml-border-radius: 3px;
387
-	border-radius: 3px;
408
+  display: inline-block;
409
+  line-height: 1;
410
+  padding: 4px 7px;
411
+  font-weight: bold;
412
+  -moz-border-radius: 3px;
413
+  -webkit-border-radius: 3px;
414
+  -khtml-border-radius: 3px;
415
+  border-radius: 3px;
388 416
   border: 1px solid #2b82ad;
389 417
   text-transform : uppercase;
390 418
   border: 1px solid #b0b0b0;
@@ -402,7 +430,7 @@ ul.element_tags .button
402 430
 
403 431
 }
404 432
 
405
-a.button.element_tag, ul.tagbox li.tag
433
+a.button.element_tag, ul.tagbox li.tag, ul.search_tag_list li, ul#favorite_tags li
406 434
 {
407 435
   padding: 6px;
408 436
   border: none;
@@ -425,9 +453,6 @@ td.element_content li.element_tag a.button, ul.tagbox li.tag
425 453
   text-transform : uppercase;
426 454
 }
427 455
 
428
-.button:active {
429
-  background-color: #39c9cc;
430
-}
431 456
 
432 457
 .button.active
433 458
 {
@@ -798,8 +823,8 @@ div#secondarymenu ul.secondarymenu li.top_menu_element.open ul.submenu
798 823
 {
799 824
   display: none;
800 825
   height: 16px;
801
-  margin-left: 18px;
802
-  margin-top: 5px;
826
+  margin-left: 30px;
827
+  margin-top: 6px;
803 828
   width: 30px;
804 829
   background: url("/img/icon_bigtag_choosed.png") no-repeat scroll 0 0 transparent;
805 830
   position: absolute;
@@ -824,8 +849,8 @@ ul.tagbox li.tag
824 849
   padding-right: 18px;
825 850
 }
826 851
 
827
-ul.tagbox li.tag {
828
-  
852
+ul.tagbox li.tag, ul#favorite_tags li
853
+{
829 854
   border-radius: 3px 3px 3px 3px;
830 855
   display: inline-block;
831 856
   font-size: 13px;
@@ -833,10 +858,10 @@ ul.tagbox li.tag {
833 858
   line-height: 1;
834 859
   margin-bottom: 1px;
835 860
   margin-right: 3px;
836
-	-moz-border-radius: 4px;
837
-	-webkit-border-radius: 4px;
838
-	-khtml-border-radius: 4px;
839
-	border-radius: 4px;
861
+  -moz-border-radius: 4px;
862
+  -webkit-border-radius: 4px;
863
+  -khtml-border-radius: 4px;
864
+  border-radius: 4px;
840 865
 }
841 866
 ul.tagbox li.input {display:block; float:left;}
842 867
 ul.tagbox input:focus {
@@ -852,7 +877,12 @@ padding: 3px 0;
852 877
 font-size: 105%;
853 878
 }
854 879
 
855
-#element_add_link
880
+ul#favorite_tags li
881
+{
882
+  margin-right: 0px;
883
+}
884
+
885
+#element_add_link, #element_add_close_link
856 886
 {
857 887
   float: right;
858 888
   margin-top: -58px;
@@ -873,9 +903,22 @@ font-size: 105%;
873 903
 
874 904
 }
875 905
 
876
-#home_top_tools
906
+#element_add_link img, #element_add_close_link img
907
+{
908
+  margin-bottom: -5px;
909
+    margin-right: -5px;
910
+}
911
+
912
+#element_add_link.justtopright, #element_add_close_link.justtopright
913
+{
914
+  margin-top: 0px;
915
+  margin-right: 0px;
916
+}
917
+
918
+.top_tools
877 919
 {
878 920
   padding: 10px;
921
+  margin-bottom: 10px;
879 922
 }
880 923
 
881 924
 form[name="search"]
@@ -886,28 +929,420 @@ form[name="search"]
886 929
 form[name="search"] input[type="submit"]
887 930
 {
888 931
   float: right;
889
-  margin-top: -52px;
932
+  height: 34px;
933
+  margin-top: -55px;
934
+}
935
+
936
+.top_tools input.tag_prompt
937
+{
938
+  text-align: center;
939
+  width: 518px;
890 940
 }
891 941
 
892
-#home_top_tools input.tag_prompt
942
+.niceinput
893 943
 {
894 944
   -webkit-box-shadow: inset 0px 0px 2px 3px #c8c8c8;
895 945
   box-shadow: inset 0px 0px 2px 3px #c8c8c8; 
896 946
   height: 34px;
897 947
   -moz-border-radius: 4px;
898
-	-webkit-border-radius: 4px;
899
-	-khtml-border-radius: 4px;
900
-	border-radius: 4px;
948
+  -webkit-border-radius: 4px;
949
+   -khtml-border-radius: 4px;
950
+  border-radius: 4px;
901 951
   border: medium none;
902 952
   padding-left: 10px;
903 953
   padding-right: 10px;
904
-  text-align: center;
905
-  width: 518px;
906 954
 }
907 955
 
908 956
 input:-moz-placeholder, textarea:-moz-placeholder {
909
-    color: black;
957
+  color: black;
910 958
 }
911 959
 input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
912
-    color: black;
913
-}
960
+  color: black;
961
+}
962
+
963
+a.elements_more div
964
+{
965
+  height: 32px;
966
+  width: 100%;
967
+  padding: 0px;
968
+  text-align: center;
969
+  background-image: url("/img/more_result.png");
970
+  background-repeat: no-repeat;
971
+  padding-top: 30px;
972
+  text-transform : uppercase;
973
+  
974
+}
975
+
976
+a.elements_more
977
+{
978
+  color: black;
979
+  font-weight: bold;
980
+}
981
+
982
+a.elements_more:hover
983
+{
984
+  color: black;
985
+}
986
+
987
+div#element_add_box
988
+{
989
+  padding: 10px;
990
+}
991
+
992
+#element_add_box h2
993
+{
994
+  margin-top: 0px;
995
+}
996
+
997
+div#form_add_first_part #element_add_url
998
+{
999
+  height: 29px;
1000
+  width: 485px;
1001
+}
1002
+
1003
+#tabs_tag_search_buttons a
1004
+{
1005
+  padding-left: 5px;
1006
+}
1007
+
1008
+#tabs_tag_search_buttons img
1009
+{
1010
+  float: left;
1011
+}
1012
+
1013
+.muzichlogodecored
1014
+{
1015
+  background-image: url("/img/icon_minilogo_2.png");
1016
+  background-repeat: no-repeat;
1017
+  background-position: left center;
1018
+}
1019
+
1020
+a#autoplay_launch
1021
+{
1022
+  -moz-border-radius: 3px 3px 0px 0px;
1023
+  -webkit-border-radius: 3px 3px 0px 0px;
1024
+  -khtml-border-radius: 3px 3px 0px 0px;
1025
+  padding-bottom: 0px;
1026
+  border-bottom: none;
1027
+  margin-right: -4px;
1028
+  margin-top: -3px;
1029
+}
1030
+
1031
+div#tags_prompt_add
1032
+{
1033
+  width: 465px;
1034
+  
1035
+}
1036
+
1037
+div#tags_prompt_add input.tag_prompt
1038
+{
1039
+  width: 450px;
1040
+}
1041
+
1042
+div#form_add_second_part table td
1043
+{
1044
+  padding: 10px;
1045
+}
1046
+
1047
+div#form_add_second_part input[type="submit"]
1048
+{
1049
+  float: right;
1050
+  margin-top: -10px;
1051
+}
1052
+
1053
+div#footer
1054
+{
1055
+  height: 104px;
1056
+  width: 100%;
1057
+  margin-top: 25px;
1058
+  border-top: 4px solid #E51936;
1059
+  background-color: #171717;
1060
+  text-align: center;
1061
+}
1062
+
1063
+div#footer_content
1064
+{
1065
+  margin-left: auto;
1066
+  margin-right: auto;
1067
+  width: 980px;
1068
+  color: #999999;
1069
+}
1070
+
1071
+div#footer_content a
1072
+{
1073
+  color: #999999;
1074
+}
1075
+
1076
+div#footer_logo
1077
+{
1078
+  line-height: 18px;
1079
+  margin-top: 25px;
1080
+  padding-left: 0;
1081
+  padding-right: 40px;
1082
+  text-align: left;
1083
+  width: 191px;
1084
+  float: left;
1085
+}
1086
+
1087
+div#footer_logo img
1088
+{
1089
+  float: left;
1090
+  padding-right: 10px;
1091
+}
1092
+
1093
+span.fotter_muzich_big
1094
+{
1095
+  font-size: 22px;
1096
+  font-weight: bold;
1097
+}
1098
+
1099
+div#footer_content ul.footer_pages_links
1100
+{
1101
+  float: left;
1102
+  height: 74px;
1103
+  margin-bottom: 0;
1104
+  margin-top: 12px;
1105
+  padding-top: 10px;
1106
+  margin-left: 0;
1107
+  padding-left: 32px;
1108
+  width: 210px;
1109
+  border-left: 1px solid #2F2F2F;
1110
+  text-align: left;
1111
+}
1112
+
1113
+div#footer_content ul.footer_pages_links li
1114
+{
1115
+  list-style-image: url("/img/list_chip_red.png");
1116
+}
1117
+
1118
+
1119
+div.search_tag_list ul.search_tag_list
1120
+{
1121
+  list-style-image: none;
1122
+  padding:0;
1123
+  margin:0;
1124
+  list-style-type:none;
1125
+  overflow: hidden;
1126
+}
1127
+
1128
+div.search_tag_list ul.search_tag_list li
1129
+{
1130
+  float: left;
1131
+  margin-right: 4px;
1132
+  margin-left: 4px;
1133
+  margin-top: 2px;
1134
+  margin-bottom: 2px;
1135
+  padding: 2px 4px 2px 4px;
1136
+  background-color: #d9f7ff;
1137
+  
1138
+  
1139
+  border-radius: 4px;
1140
+  -moz-border-radius: 4px;
1141
+  -webkit-border-radius: 4px;
1142
+  
1143
+  -webkit-box-shadow: #666 0px 2px 3px;
1144
+  -moz-box-shadow: #666 0px 2px 3px;
1145
+  box-shadow: #666 0px 2px 3px;
1146
+}
1147
+
1148
+div.search_tag_list ul.search_tag_list li.new
1149
+{
1150
+  font-weight: bold;
1151
+  background: #e0e0e0;
1152
+  color: black;
1153
+}
1154
+
1155
+div.search_tag_list ul.search_tag_list li.new a
1156
+{
1157
+  color: black;
1158
+}
1159
+  
1160
+
1161
+div.search_tag_list ul.search_tag_list li:hover
1162
+{
1163
+  background-color: #999999;
1164
+}
1165
+
1166
+div.search_tag_list span.info
1167
+{
1168
+  text-shadow: 1px 1px 1px #666;
1169
+  font-weight: bold;
1170
+  font-size: 17px;
1171
+}
1172
+
1173
+#container ul.search_tag_list li a
1174
+{
1175
+  color: black;
1176
+}
1177
+
1178
+#container ul.search_tag_list li a:hover
1179
+{
1180
+  text-decoration: none;
1181
+}
1182
+
1183
+ul.search_tag_list li a
1184
+{
1185
+  color: white;
1186
+}
1187
+
1188
+
1189
+div#search_tag_search a.more
1190
+{
1191
+  color: black;
1192
+}
1193
+
1194
+div#search_tag_search p.help
1195
+{
1196
+  font-size: 11px;
1197
+  font-style: italic;
1198
+}
1199
+
1200
+.textcenter
1201
+{
1202
+  text-align: center;
1203
+}
1204
+
1205
+ul#form_add_prop_tags_api li
1206
+{
1207
+  float: left;
1208
+  list-style-type: none;
1209
+  margin-right: 15px;
1210
+}
1211
+
1212
+ul#form_add_prop_tags_api li:hover
1213
+{
1214
+  text-decoration: underline;
1215
+}
1216
+
1217
+ul.elements li.element.selected
1218
+{
1219
+  background-color: #E7E7E7;
1220
+}
1221
+
1222
+ul.elements li.element h2
1223
+{
1224
+  margin-top: 0px;
1225
+}
1226
+
1227
+ul.elements li.element fieldset
1228
+{
1229
+  margin-bottom: 5px;
1230
+}
1231
+
1232
+ul.elements li.element fieldset.edit_url label, ul.elements li.element fieldset.edit_name label, ul.elements li.element fieldset.edit_tags label
1233
+{
1234
+  display: block;
1235
+  float: left;
1236
+  width: 80px;
1237
+  font-size: 16px;
1238
+  padding-top: 6px;
1239
+  font-weight: bold;
1240
+}
1241
+
1242
+ul.elements li.element fieldset.edit_tags label
1243
+{
1244
+  float: left;
1245
+}
1246
+
1247
+ul.elements li.element fieldset.edit_url input[type="text"], ul.elements li.element fieldset.edit_name input[type="text"]
1248
+{
1249
+  width: 520px;
1250
+  font-size: 100%;
1251
+  height: 30px;
1252
+}
1253
+
1254
+ul.elements li.element fieldset.edit_tags input.tag_prompt
1255
+{
1256
+  width: 600px;
1257
+}
1258
+
1259
+ul.elements li.element div.inputs
1260
+{
1261
+  text-align: right;
1262
+}
1263
+
1264
+div.no_elements
1265
+{
1266
+  text-align: center;
1267
+}
1268
+
1269
+ul#autoplay_element
1270
+{
1271
+  margin: 0px;
1272
+  padding: 0px;
1273
+}
1274
+
1275
+ul#autoplay_element li
1276
+{
1277
+  list-style-type: none;
1278
+}
1279
+
1280
+ul.tagbox {
1281
+
1282
+cursor: text;
1283
+border: none;
1284
+overflow: hidden;
1285
+padding: 0 0 1px 3px;
1286
+margin-left: 0px;
1287
+}
1288
+ul.tagbox li {
1289
+margin:0;
1290
+}
1291
+
1292
+ul#favorite_tags
1293
+{
1294
+  padding:0;
1295
+  margin-top:10px;
1296
+  margin-bottom: 10px;
1297
+  margin-left: 0px;
1298
+  list-style-type:none;
1299
+}
1300
+
1301
+ul#favorite_tags li a
1302
+{
1303
+  color: white;
1304
+}
1305
+
1306
+ul#favorite_tags li.list_length_big a
1307
+{
1308
+  font-size: 16px;
1309
+  padding-top: 2px;
1310
+  padding-bottom: 2px;
1311
+}
1312
+
1313
+ul#favorite_tags li.list_length_medium a
1314
+{
1315
+  font-size: 15px;
1316
+  padding-top: 3px;
1317
+  padding-bottom: 3px;
1318
+}
1319
+
1320
+ul#favorite_tags li a.active
1321
+{
1322
+  color: #999999;
1323
+}
1324
+
1325
+input#element_add_name
1326
+{
1327
+  width: 450px;
1328
+}
1329
+
1330
+.darkbutton {
1331
+  background-color: #585454;
1332
+  padding: 8px 8px 6px 6px;
1333
+  border: 1px solid black;
1334
+  text-transform : uppercase;
1335
+  font-size: 70%;
1336
+  font-weight: bold;
1337
+  
1338
+  background: none;
1339
+  background-color: #555;
1340
+  box-shadow: 0 1px 1px 0 #696465 inset;
1341
+  color: white;
1342
+}
1343
+
1344
+div.top_tools div.show_options
1345
+{
1346
+  float: right;
1347
+  padding: 10px;
1348
+}

BIN
web/img/icon_close.png View File


BIN
web/img/icon_dart_left_white.png View File


BIN
web/img/icon_dart_right_white.png View File


BIN
web/img/icon_minilogo_2.png View File


BIN
web/img/list_chip_red.png View File


BIN
web/img/more_result.png View File