Commit 352529f5 authored by a.serikova's avatar a.serikova

task1

parent bdb573b3
<!DOCTYPE html>
<html>
<head lang="en">
<head lang="en">
<meta charset="UTF-8">
<title>TimeSheet</title>
<script>
FORM_PLAYER_URL_PREFIX = "http://intern-dev.arta.kz/Synergy/"; <!--служебная переменная для корректной работы компонента "HTD-редактор"-->
</script>
<link rel="stylesheet" href="http://intern-dev.arta.kz/Synergy/js/form.player.css"/> <!--стандартный стиль компонентов формы-->
<script src="http://intern-dev.arta.kz/Synergy/js/vendor.js" type="text/javascript"></script> <!--ссылка на сторонние библиотеки-->
<script src="http://intern-dev.arta.kz/Synergy/js/form.player.js" type="text/javascript"></script> <!--ссылка на проигрыватель форм-->
</head>
<body>
<div id="form_player_container">
<div id="form_player_div" > </div>
</div>
<script type="text/javascript">
'use strict';
AS.OPTIONS.locale = "ru";
AS.OPTIONS.coreUrl = "http://intern-dev.arta.kz/Synergy/";
var portal = {
player : null,
clearPlayer : function() {
if(portal.player) {
portal.player.destroy();
}
},
createPlayer : function(formCode){
portal.clearPlayer();
portal.player = AS.FORMS.createPlayer();
portal.player.showFormByCode(formCode);
portal.player.view.appendTo($('#form_player_div'));
}
};
$(document).ready(function(){
AS.OPTIONS.login = "intern";
AS.OPTIONS.password = "intern";
portal.createPlayer("timesheet");
});
FORM_PLAYER_URL_PREFIX = "http://intern-dev.arta.kz/Synergy/";
</script>
</body>
<link rel="stylesheet" href="http://intern-dev.arta.kz/Synergy/js/form.player.css"/>
<script src="http://intern-dev.arta.kz/Synergy/js/vendor.js" type="text/javascript"></script>
<script src="http://intern-dev.arta.kz/Synergy/js/form.player.js" type="text/javascript"></script>
<script src="js\player.js"></script>
</head>
<body>
<div id="form_player_container">
<div id="form_player_div"></div>
</div>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment