FSN#35094 Opfrissen icon-set font-awesome enzo

svn path=/Website/trunk/; revision=31834
This commit is contained in:
Jos Groot Lipman
2016-12-05 14:01:32 +00:00
parent fe314949cd
commit 1518734273
3 changed files with 15 additions and 31 deletions

View File

@@ -227,19 +227,13 @@ tr.unselected div.res_current { background-color: #F00;
background-image:url(../pictures/delete.png); }
div.objcatline,div.resexternline
{ background-repeat:no-repeat;
background-image:url(../Pictures/tree_min.gif);
cursor: pointer;
{ cursor: pointer;
background-position: 4px 4px;
padding-top: 4px;
}
div.objcatline { padding-left: 20px; }
div.resexternline span { padding-left: 20px;}
div.objcatline.closed, div.resexternline.closed
{ background-image:url(../Pictures/tree_plus.gif);
}
div.objcatline.closed div.objcatdiv { display: none;}
div.resexternline.closed div.resexterndiv { display: none;}
.resexterntitle {font-size: 1.2em; font-weight: bold;}

View File

@@ -303,7 +303,7 @@ var new_item_key = 0; // Globaal
{
if (first)
{
BLOCK_START("resObj",L("lcl_res_objects") + " <a href='javascript:openLegenda()'><img class='details' src='../Pictures/legenda.png' title='"+L("lcl_res_legenda")+"'></a>");
BLOCK_START("resObj",L("lcl_res_objects") + " <a href='javascript:openLegenda()'><span class='fa fa-list-ul details' title='"+L("lcl_res_legenda")+"'></span></a>");
%>
<tr>
<td>
@@ -323,7 +323,7 @@ var new_item_key = 0; // Globaal
{
var loading_txt = L("lcl_select_account_disc");
%>
<div class="objcatline notavailable">
<div class="objcatline fa notavailable">
<%=safe.html(oRs1("ins_discipline_omschrijving").value)%>
<%=(existing? " (" + oRs2("aantal").value + ")" : "")%>
<% }
@@ -336,6 +336,7 @@ var new_item_key = 0; // Globaal
<%=disc_key != curr_disc_key? " closed" : ""%>"
onClick="ItemChoosed_obj(this, 'div_dis<%=curr_disc_key%>',<%=curr_disc_key%>, <%=hour_px%>)">
<a>
<i class='fa fa-lg fa-<%=existing?'minus':'plus'%>-square-o' style='position:relative;left:-15px;width:0px;'></i>
<%=safe.html(oRs1("ins_discipline_omschrijving").value)%>
<%=(existing? " (" + oRs2("aantal").value + ")" : "")%>
</a>
@@ -374,28 +375,12 @@ var new_item_key = 0; // Globaal
$('div#legenda').dialog(params).dialog('open');
}
</script>
<div id="legenda" style="display:none";>
<table width="100%" border="0">
<tr>
<td align="right"><img src="../Pictures/room_free.gif"></td>
<td><% = L("lcl_free") %></td>
</tr>
<tr>
<td align="right"><img src="../Pictures/room_opt.gif"></td>
<td><% = L("lcl_optie") %></td>
</tr>
<tr>
<td align="right"><img src="../Pictures/room_def.gif"></td>
<td><% = L("lcl_def") %></td>
</tr>
<tr>
<td align="right"><img src="../Pictures/room_blk.gif"></td>
<td><% = L("lcl_blokkade") %></td>
</tr>
<tr>
<td align="right"><img src="../Pictures/room_vvl.gif"></td>
<td><% = L("lcl_vervallen") %></td>
</tr>
<div id="legenda" style="display:none; line-height: 30px;">
<table id='planbordlegenda'>
<tr><td class="res_optie"><%= L("lcl_optie") %></td></tr>
<tr><td class="res_definitief"><%= L("lcl_def") %></td></tr>
<tr><td class="res_blok"><%= L("lcl_blokkade") %></td></tr>
<tr><td class="res_vervallen"><%= L("lcl_vervallen") %></td></tr>
</table>
</div>
@@ -498,6 +483,7 @@ var new_item_key = 0; // Globaal
<div class="objcatline <%=(existing?" existing ":" closed")%> "
onClick="ItemChoosed_cat(this, $('#div_dis'+<%=curr_disc_key%>),<%=curr_disc_key%>, <%=(existing?"true":"false")%>)">
<a>
<i class='fa fa-lg fa-<%=existing?'minus':'plus'%>-square-o' style='position:relative;left:-15px;width:0px;'></i>
<%=safe.html(oRs("ins_discipline_omschrijving").Value)%>
</a>
<% }%>

View File

@@ -231,6 +231,8 @@ function checkArtikelen(starttime_room, endtime_room)
function ItemChoosed_obj(elm, fromID, disc_key, hour_px)
{
$(elm).toggleClass("closed");
$(elm).find("i.fa").toggleClass('fa-plus-square-o');
$(elm).find("i.fa").toggleClass('fa-minus-square-o');
var tabel = $("#table_dis" + disc_key);
if (tabel.length)
{
@@ -249,6 +251,8 @@ function ItemChoosed_obj(elm, fromID, disc_key, hour_px)
function ItemChoosed_cat(elm, jq_div, disc_key, existing)
{
$(elm).toggleClass("closed");
$(elm).find("i.fa").toggleClass('fa-plus-square-o');
$(elm).find("i.fa").toggleClass('fa-minus-square-o');
var tabel = $("#table_dis" + disc_key);
if (tabel.length)