ปรับปรุงระบบ Notification
This commit is contained in:
@@ -75,6 +75,11 @@
|
||||
<span class="allfontsize" data-fontsize="3" style="font-size:26px; width:20px; height:30px; display:flex; align-items:center; justify-content:center; font-weight:bold;">A</span>
|
||||
</div>
|
||||
|
||||
<div style="position: relative;" id="mynoti">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div data-toggle="dropdown" style="display: flex; cursor: pointer; align-items: center;">
|
||||
<span class="username" style="font-size:19px; line-height:23px; font-weight:bold;" id="username">no user</span>
|
||||
<b class="caret"></b>
|
||||
@@ -230,8 +235,10 @@
|
||||
$(document).ready(function(){
|
||||
var module = "eva";
|
||||
//var menu_url = appsite+"/json/"+module+".json";
|
||||
var menu_url = "@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")/api/menu/"+module;
|
||||
var menu_url = "@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")/api/menu/" + module;
|
||||
var noti_url = "@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")/api/notifications";
|
||||
GetMenu(module, "#mymenu", menu_url);
|
||||
GetNoti(noti_url, "#mynoti", "@MyHelper.GetConfig(Configuration, "SiteInformation:mainsite")");
|
||||
|
||||
$( document ).on( 'focus', ':input', function(){
|
||||
$( this ).attr( 'autocomplete', 'off' );
|
||||
@@ -284,7 +291,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user