FSN#38685 Vergeten iconen naar font-awesome
svn path=/Website/trunk/; revision=32001
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 + "'>"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
%>
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user