2016-08-24 46 views
-2

我想知道Apache Mesos如何實現前端Web UI(localhost:port),用戶可以在其中跟蹤系統的當前狀態和提交的作業。有沒有任何圖書館? Mesos如何做到這一點(在C++中)?Apache Mesos的前端Web UI執行

回答

1

嗯,先看看源代碼揭示了什麼它的使用:

<!DOCTYPE html> 
<html lang="en" ng-app="mesos"> 
    <head> 
    ... 
    <link href="/static/css/bootstrap-3.3.6.min.css" rel="stylesheet"> 
    ... 
    </head> 
    <body> 
    ... 
    <script src="/static/js/jquery-1.7.1.min.js"></script> 
    <script src="/static/js/underscore-1.4.3.min.js"></script> 
    <script src="/static/js/zeroclipboard-1.1.7.js"></script> 
    <script src="/static/js/angular-1.2.3.min.js"></script> 
    <script src="/static/js/angular-route-1.2.3.min.js"></script> 
    <script src="/static/js/ui-bootstrap-tpls-0.9.0.min.js"></script> 
    ... 
    </body> 
</html> 

因此,它的使用

  • jQuery的
  • 引導