EIOS/tpl/tpl_main.html

175 lines
5.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{include file="tpl_head.html"}
{*http://thevectorlab.net/theme/?theme=Metro%20Lab*}
<body class="fixed-top">
{if !isset($user.id)}
<!--Если пользователь не авторизован, то перенаправляем его на страницу входа-->
<meta http-equiv="Refresh" content="0; URL=/login/" />
{else}
{include file="tpl_header.html"}
{literal}<style>
.sidebar-menu-my::-webkit-scrollbar { width: 7px;background-color: #f9f9fd;}
</style>{/literal}
<div id="container" class="row-fluid">
<div class="sidebar-scroll sidebar-menu-my" style="">
<div id="sidebar" class="nav-collapse collapse">
{include file="tpl_sidebar.html"}
</div>
</div>
<div id="main-content">
<div class="container-fluid">
{$maincontent}
</div>
</div>
</div>
{/if}
<br>
<br>
<br>
<br>
<br>
<br>
<div id="footer" style="line-height: 10px;">
<span class="footer_big">2013-{$year} &copy; Электронная информационно-образовательная среда ФГБОУ ВО "МГТУ"<br /><br />Разработчики: Чундышко В.Ю., Яковлев А.Л., Голеусов Р.О., Чудесова Н.Н., Паскова А.А., Кучинская Е.А., Галичева М.С.</span>
<span class="footer_min">2013-{$year} &copy; ЭИОС ФГБОУ ВО "МГТУ"</span>
{literal}
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(48238847, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/48238847" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
{/literal}
</div>
{include file="tpl_javascript.html"}
<div class="auth_div_wrap">
<div class="auth_div">
<form action="/" method="POST">
<div class="au_head"><span>Авторизация</span><div class="auth_div_close"><a href="#" class="auth_div_close_btn">X</a></div></div>
<div class="au_email">
<input type="text" class="" placeholder="номер зачетки или Email" name="email">
</div>
<div class="au_pass">
<input type="password" class="" placeholder="Пароль" name="pass">
</div>
<table style="width:100%;"><tr>
<td class="au_forgot">
<a href="/loginforgot/"><span>Забыли пароль?</span></a>
</td>
<td class="au_regis">
<a href="/loginnew/"><span>Регистрация</span></a>
</td>
<td class="au_enter">
<button type="submit" class="btn" name="login">Вход</button>
</td>
</tr></table>
</form>
</div>
</div>
{literal}
<style>
.write_razrab{ display:none;position:absolute;bottom:0;right:0;width:300px;height:160px;z-index: 999;background: #4a8bc1;padding:10px;}
.write_razrab_textarea{width: 96%; height: 115px;}
.write_razrab_warp{ position:fixed; right:0px; bottom:5px; z-index:999; padding: 10px; background: #8382ca; }
.write_razrab_warp a{ color:#fff; }
.auth_div_close { position:absolute; top:1%; right: 2%;}
.auth_div_close a{ color: #fff; }
.au_head { text-align:center; margin-bottom:20px; }
.au_head span{ font-size:30px;color: #fff; }
.au_email input{ width:95%;}
.au_pass input{ width:95%;}
.au_enter{ text-align:right; width:30%; }
.au_forgot{ text-align:left; width:40%; }
.au_regis{ text-align:center; width:30%; }
.au_forgot a{ color: #fff; }
.au_regis a{ color: #fff; }
.auth_div{position:absolute;top:35%;left:35%;width:300px;height:160px;z-index: 999;background: #90bb4f;padding:10px;}
.auth_div_wrap{display:none;position:fixed;top:0; bottom:0px;left:0; right:0px; z-index: 9999;background: radial-gradient(ellipse at center, #d2fffb 0%,#00000021 80%,#00000021 60%,#00000021 40%,#00000021 30%);}
@media (max-width: 430px) {
.auth_div{position:absolute;top:35%;left:5%;width:300px;height:160px;z-index: 999;background: #90bb4f;padding:10px;}
}
</style>
<script>$(document).ready(function(){
//var write_razrab_blink=function(){
// var b = $(".write_razrab_warp").attr("id");
// if(b=="wrw_1"){
// $(".write_razrab_warp").css({"background":"#a5a3ff"});
// $(".write_razrab_warp").attr("id","wrw_0");
// }else{
// $(".write_razrab_warp").css({"background":"#8382ca"});
// $(".write_razrab_warp").attr("id","wrw_1");
// }
// setTimeout(arguments.callee,5000);
//}
//setTimeout( write_razrab_blink,5000 );
$(".write_razrab_send").click(function(){
$(".write_razrab_mess").html("отправляем...");
var mess = $(".write_razrab_textarea").val();
var loca = window.location.pathname;
$.ajax({url: '/json.php',dataType:'json',type:'POST',async:false,
data:'ajdes=write_razrab_send&mess='+mess+"&loca="+loca,success: function(data){
$(".write_razrab_mess").html(data.html);
setTimeout(function(){
$(".write_razrab_mess").html("пока");
$(".write_razrab_textarea").val("");
$(".write_razrab").hide();
}, 5000);
}
});
return false;
});
$(".write_razrab_show").click(function(){
$(".write_razrab").show();
return false;
});
$(".write_razrab_close").click(function(){
$(".write_razrab").hide();
return false;
});
$(".auth_div_close_btn").click(function(){
$(".auth_div_wrap").hide();
return false;
});
$(".au_login_btn").click(function(){
$(".auth_div_wrap").show();
return false;
});
});
</script>
{/literal}
</body>
</html>