2016-08-24 40 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的
  • 引导