FSN#38685 Vergeten iconen naar font-awesome

svn path=/Website/trunk/; revision=32001
This commit is contained in:
Ruud Lipper
2016-12-16 15:33:45 +00:00
parent 360de0ee72
commit 2c048a368a
7 changed files with 13 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ function CreateRow(fav_name, bes_item_info, recent_date, recent, fav_key)
cell = tr.insertCell(-1);
cell.className = "result";
cell.align = "center";
cell.innerHTML = "<img src=../Pictures/order_cancel.gif OnClick=delFavourites(this) style=cursor:pointer>";
cell.innerHTML = "<i class='fa fa-fw fa-trash' OnClick=delFavourites(this) style=cursor:pointer></i>";
}
// Create srtdeel nr field

View File

@@ -146,7 +146,7 @@ function fnLike(oRs, processParams)
if (pkey == user_key)
{
likesymbol = rating.stars(oRs.Fields("satisfaction").Value, {shownone: true, rating: {note: oRs.Fields("satisfaction_op").Value}});
likesymbol = "<div onclick='fLike(event, \"" + oRs.Fields("item_key").Value + "\", \"" + oRs.Fields("xmlnode").Value +"\", "+(isRemote?1:0)+")'>" + likesymbol + "</div>";
likesymbol = "<div class='flikelist' onclick='fLike(event, \"" + oRs.Fields("item_key").Value + "\", \"" + oRs.Fields("xmlnode").Value +"\", "+(isRemote?1:0)+")'>" + likesymbol + "</div>";
}
}
return likesymbol;

View File

@@ -42,7 +42,7 @@ function CreateRow(disc_key, stdm_key, vakgroep, stdmelding)
cell = tr.insertCell(-1);
cell.className = "result";
cell.align = "center";
cell.innerHTML = "<img src='../Pictures/order_cancel.gif' OnClick='delRow(this)' style='cursor:pointer'>";
cell.innerHTML = "<i class='fa fa-fw fa-trash' OnClick='delRow(this)' style='cursor:pointer'></i>";
// innerHTML opent een htmlparser die overbodige spaties en line breaks verwijderd in IE, daarom met innerText oplossen
// Input velden moeten wel met innerHTML of outerHTML anders wordt het text
@@ -80,6 +80,7 @@ function delRow(img)
document.getElementById("stdmeldingfaqtable").deleteRow(tr.rowIndex);
}
});
}
function fac_submit()

View File

@@ -1333,7 +1333,7 @@ fin = { func_enabled_factuur: // Wat mag ik zoal op deze specifieke factuur?
var html = ["\n<tr id='trfin" + rowIndex + "' class='" + (rowIndex & 1? "O " : "E ") + "' ROWKEY='" + (params.copy? -1 : params.regel_key) + "'>"];
// Create drop button
html.push("<td><img src='../Pictures/order_cancel.gif' OnClick='DeleteOrderLine(" + rowIndex + ")' style='cursor:pointer'></td>");
html.push("<td><i class='fa fa-fw fa-trash' OnClick='DeleteOrderLine(" + rowIndex + ")' style='cursor:pointer'></i></td>");
// Create description field
html.push("<td id='tdfin" + rowIndex + "'>"

View File

@@ -572,7 +572,7 @@ function AddItem(nofocus) // als je hieronder iets aanpast controleer dan ook fi
// Create drop button
cell = tr.insertCell(-1);
cell.innerHTML = "<img src='../Pictures/order_cancel.gif' OnClick='DeleteOrderLine(" + rowIndex + ")' style='cursor:pointer'>";
cell.innerHTML = "<i class='fa fa-fw fa-trash' OnClick='DeleteOrderLine(" + rowIndex + ")' style='cursor:pointer'></i>";
cell.id = "tdfin" + rowIndex;
// Create description field

View File

@@ -74,7 +74,8 @@ var ICONS = {
"undo.png" : "fa-ban",
"wall_brick.png" : "fa-key",
"wijzigen.png" : "fa-edit",
"zone.png" : "fa-map-marker"
"zone.png" : "fa-map-marker",
"flike_none.png" : "fa-question-circle"
}
%>

View File

@@ -117,13 +117,15 @@ var rating = {
{
function getStar(starOn)
{
var star = (starOn?"star-on":"star-off");
return "<img src='../Localscripts/raty/img/"+ star +".png'>"
var star = (starOn?"fa-star":"fa-star-o");
return "<i class='fa fa-fw " + star +"'></i>"
}
var imgstr = "";
params = params||{};
if (!rating && params.shownone)
imgstr = "<img src='../Pictures/flike_none.png'>";
{
imgstr = "<i class='fa fa-fw fa-question-circle'></i>";
}
else
{
if (S("fac_like_bad") > 0)