Created
June 25, 2013 05:58
-
-
Save ckentq/5856251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1" /> | |
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/reset.css')}}" media="all" /> | |
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='js/components/bootstrap/css/bootstrap.min.css')}}" /> | |
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/layout.css')}}" media="all" /> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.4/angular.min.js"></script> | |
<title>流程管理系統</title> | |
</head> | |
<body ng-app="webApp"> | |
<div class="wrapper"> | |
<div id="header"> | |
<h1 class="company_name">Drains MQ 管理系統</h1> | |
<h2 class="site_name">流程管理系統</h2> | |
</div> | |
<div id="content"> | |
<div class="log_detail_wrapper" ng-controller = "logDetailCtrl"> | |
<h1 class="log_title">jobId</h1> | |
<p class="log_time">timestamp</p> | |
<div class="details"> | |
message details | |
</div> | |
</div> | |
</div> | |
<div id="footer"> | |
{% block footer %} | |
© Copyright 2013 by <a href="http://domain.invalid/">Drains MQ 管理系統</a>. | |
{% endblock %} | |
</div> | |
</div> | |
<script> | |
function logDetailCtrl($rootScoop, $scope, $http){ | |
urlPara = $rootScoop.location.path(); | |
console.log(urlPara);//.split("/") | |
/* | |
$http.get('/api/log/view').success(function(data, status, headers, config){ | |
$scope.logData = data; | |
}).error(function(data, status, headers, config) { | |
$scope.workerFail = '資料擷取失敗'; | |
}); | |
*/ | |
} | |
logDetailCtrl.$inject=["$rootScoop","$scope","$http"]; | |
angular.module('webApp'); | |
</script> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment