123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!DOCTYPE html>
- <html ng-app="ivprog">
- <head>
- <title>ivProg - versão HTML</title>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link href="css/bootstrap.min.css" rel="stylesheet" media="screen" />
- <link href="css/font-awesome.css" rel="stylesheet" media="screen" />
- <link href="css/bootstrap-editable.css" rel="stylesheet" media="screen" />
- <link href="css/ivprog.css" rel="stylesheet" media="screen" />
- </head>
- <body>
- <div class="header">
- <h1><img src="img/logo.png" title="ivProg" /></h1>
- </div>
- <h1> iVProg : Visual Programming (LInE-IME-USP)</h1>
- <div class="bloco">
- <span ng-controller="CommCtrl" id="commCtrl"></span>
- <script src="js/jquery.1.8.3.js"></script>
- <script src="js/jsdeferred.jquery.js"></script>
- <script src="js/bootstrap.min.js"></script>
- <script src="js/angular.js"></script>
- <script src="js/app.js"></script>
- <!--script src="js/app-i18n.js"></script-->
- <script src="js/controllers.js"></script>
- <script src="js/services.js"></script>
- <script src="js/angular-resource.js"></script>
- <script src="js/jquery.ui.js"></script>
- <script src="js/angular.ui.min.js"></script>
- <div ng-view></div>
- <iframe frameborder="0" name="iLM" style="width: 800px; height: 600px;" id="iLM" name="iLM"
- src="?MA_PARAM_PropositionURL=true&MA_PARAM_Proposition=exemplo_n_primeiros_fibonacci.ivp">
- </iframe>
- </div>
- <script>
- function getParameterByName(name) {
- var match = RegExp('[?&]' + name + '=([^&]*)')
- .exec(window.location.search);
- return match ?
- decodeURIComponent(match[1].replace(/\+/g, ' '))
- : null;
- }
- function getAnswer(){
- return angular.element("#commCtrl").scope().getSource()
- }
- function getEvaluation(){
- return angular.element("#commCtrl").scope().getEvaluation();
- //return "getEvaluation will return some value in future";
- }
- function getEvaluationCallback(nota){
- parent.getEvaluationCallback(nota);
- }
- var ilaParams = {
- MA_PARAM_PropositionURL: getParameterByName("MA_PARAM_PropositionURL"),
- MA_PARAM_notSEND: getParameterByName("MA_PARAM_notSEND"),
- MA_PARAM_addresPOST: getParameterByName("MA_PARAM_addresPOST"),
- MA_PARAM_PropositionURL: getParameterByName("MA_PARAM_PropositionURL"),
- MA_PARAM_Proposition: getParameterByName("MA_PARAM_Proposition"),
- };
- function trackAction(action){
- if(ilaParams.MA_PARAM_addresPOST!=null){
- $.post(ilaParams.MA_PARAM_addresPOST+"&track=1", { trackingData: "html=1;"+action }, function(d){
- });
- }
- }
- </script>
- <div class="foot">
- <a href="http://www.ime.usp.br/line">LInE</a> |
- <a href="http://www.matematica.br">iMática;</a> |
- <a href="http://www.usp.br/line/mooc">MOOC</a>
- </div>
- </body>
- </html>
|