modified: object.js modified: project.js new file: public/img/background/photo_2023-06-06_08-53-47 1.png new file: public/img/icon/copy.svg new file: public/img/icon/download.svg new file: public/img/icon/edit.svg new file: public/img/icon/save.svg new file: public/img/icon/trash.svg new file: public/img/new_proj.png new file: public/img/ok.svg new file: public/img/telegram.svg new file: public/img/vk.svg new file: public/img/youtube.svg new file: "public/img/\320\243\320\274\320\275\320\270\321\207\320\272\320\260 \320\273\320\276\320\263\320\276 \321\201 \320\276\320\261\320\262\320\276\320\264\320\272\320\276\320\271-02 1.png" modified: public/lib/fn.js modified: public/lib/inter.js modified: user.js modified: views/admin.ejs modified: views/header.ejs new file: views/load.ejs modified: views/login.ejs modified: views/main.ejs new file: views/old/project.ejs modified: views/project.ejs modified: views/static/end.ejs modified: views/static/start.ejs
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
<% if (typeof soc !== 'undefined') {%>
|
|
<div id="top_panel_right_sec" class="tpanel top_panel_right">
|
|
<a href=""><img src="/img/vk.svg" alt=""></a>
|
|
<a href=""><img src="/img/youtube.svg" alt=""></a>
|
|
<a href=""><img src="/img/ok.svg" alt=""></a>
|
|
<a href=""><img src="/img/telegram.svg" alt=""></a>
|
|
</div>
|
|
<%}%>
|
|
</body>
|
|
</html>
|
|
<script>
|
|
function hide_menus(){
|
|
let menus = document.getElementsByClassName("cmenu");
|
|
Object.entries(menus).forEach(([key,menu]) => {
|
|
menu.style.display = "none";
|
|
});
|
|
}
|
|
hide_menus();
|
|
$('form').on('submit', function(event) {
|
|
event.preventDefault();
|
|
});
|
|
// $('form').unbind('click').click(function (e) {
|
|
// e.preventDefault(); //This could also be return false as I'm using jQuery.
|
|
// })
|
|
$(window).focus(function(){
|
|
console.log(document.title);
|
|
if(document.title == "login"){
|
|
// console.log(document.title);
|
|
log_by_sid();
|
|
}else if(document.title != "login"){
|
|
check_sid(true);
|
|
// console.log("check");
|
|
}
|
|
});
|
|
|
|
</script> |