Add icons to editing

This commit is contained in:
Romain Neutron
2012-02-08 19:38:20 +01:00
parent 5cf548079e
commit 5ba648b591
7 changed files with 172 additions and 172 deletions

View File

@@ -53,8 +53,8 @@
</table>
</div>
<div class="editDiaButtons" style="position:absolute; bottom:0px; right:0px; width:30px; height:12px; display:none">
<img id="idEditDiaButtonsP_{{i}}" style="cursor:pointer" src="/skins/icons/tri_plus.gif"/>
<img id="idEditDiaButtonsM_{{i}}" style="cursor:pointer" src="/skins/icons/tri_minus.gif"/>
<img id="idEditDiaButtonsP_{{i}}" style="cursor:pointer" src="/skins/icons/plus11.png"/>
<img id="idEditDiaButtonsM_{{i}}" style="cursor:pointer" src="/skins/icons/minus11.png"/>
</div>
</div>
{% endmacro %}
@@ -189,7 +189,7 @@
<input type='text' style="font-size:15px; position:absolute; top:0px; left:0px; width:100%; height:100%;" id="EditTextMultiValued" value="" />
</div>
<div style="position:absolute; top:6px; width:60px; right:0px; height:11px;">
<img id="EditButAddMultiValued" style="cursor:pointer" src="/skins/icons/tri_plus.gif" onclick="edit_addmval($('#EditTextMultiValued', p4.edit.editBox).val(), null);" />
<img id="EditButAddMultiValued" style="cursor:pointer" src="/skins/icons/plus16.png" onclick="edit_addmval($('#EditTextMultiValued', p4.edit.editBox).val(), null);" />
</div>
</form>
<div id="ZTextMultiValued_values">

View File

@@ -395,7 +395,7 @@ function updateCurrentMval(meta_struct_id, HighlightValue, vocabularyId)
var word = value.getValue();
var key = value.getVocabularyId() + '%' + word;
var extra = value.getVocabularyId() ? '(V) ' : '';
var extra = value.getVocabularyId() ? '<img src="/skins/icons/ressource16.png" /> ' : '';
if(i>0)
{
@@ -420,8 +420,8 @@ function updateCurrentMval(meta_struct_id, HighlightValue, vocabularyId)
+ '<span class="value" vocabId="' + value.getVocabularyId() + '">'
+ word
+ "</span></td><td class='options'>"
+ '<a href="#" class="add_all"><img src="/skins/icons/tri_plus.gif"/></a>'
+ '<a href="#" class="remove_all"><img src="/skins/icons/tri_minus.gif"/></a>'
+ '<a href="#" class="add_all"><img src="/skins/icons/plus11.png"/></a> '
+ '<a href="#" class="remove_all"><img src="/skins/icons/minus11.png"/></a>'
+ "</td></tr></table>"
+ "</div>";
}

BIN
www/skins/icons/minus11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
www/skins/icons/minus16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

BIN
www/skins/icons/plus11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

BIN
www/skins/icons/plus16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB