ng_index.html 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <html ng-app="scApp">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>SRS控制台</title>
  6. <link rel="stylesheet" type="text/css" href="js/3rdparty/bootstrap.min.css"/>
  7. <link rel="stylesheet" type="text/css" href="js/srs.console.css"/>
  8. <style>
  9. body {
  10. padding-top: 30px;
  11. }
  12. </style>
  13. <script type="text/javascript" src="js/3rdparty/angular.min.js"></script>
  14. <script type="text/javascript" src="js/3rdparty/angular-route.min.js"></script>
  15. <script type="text/javascript" src="js/3rdparty/angular-resource.min.js"></script>
  16. <script type="text/javascript" src="js/winlin.utility.js"></script>
  17. <script type="text/javascript" src="js/bravo_alert/alert.js"></script>
  18. <script type="text/javascript" src="js/bravo_popover/popover.js"></script>
  19. <script type="text/javascript" src="js/srs.cn.js"></script>
  20. <script type="text/javascript" src="js/srs.console.js"></script>
  21. </head>
  22. <body ng-controller="CSCMain">
  23. <img style="width: 0px; height: 0px;" src='//ossrs.net/gif/v1/sls.gif?site=ossrs.net&path=/console/cnindex'/>
  24. <div class="navbar navbar-inverse navbar-fixed-top">
  25. <div class="navbar-inner">
  26. <div class="container">
  27. <a class="brand" href="https://github.com/ossrs/srs" target="_blank">SRS</a>
  28. <ul class="nav">
  29. <li class="{{'/console'| sc_filter_nav_active}}"><a href="javascript:void(0)" ng-click="gogogo('/connect')">连接SRS</a></li>
  30. <li class="{{'/summaries'| sc_filter_nav_active}}"><a href="javascript:void(0)" ng-click="gogogo('/summaries')">概览</a></li>
  31. <li class="{{'/vhosts'| sc_filter_nav_active}}"><a href="javascript:void(0)" ng-click="gogogo('/vhosts')">虚拟主机(Vhosts)</a></li>
  32. <li class="{{'/streams'| sc_filter_nav_active}}"><a href="javascript:void(0)" ng-click="gogogo('/streams')">视频流</a></li>
  33. <li class="{{'/clients'| sc_filter_nav_active}}"><a href="javascript:void(0)" ng-click="gogogo('/clients')">客户端</a></li>
  34. <li class="{{'/configs'| sc_filter_nav_active}}"><a href="javascript:void(0)" ng-click="gogogo('/configs')">配置</a></li>
  35. <li><a href="javascript:void(0)" ng-click="redirect('ng_index.html', 'en_index.html')">English</a></li>
  36. <li>
  37. <a href="https://github.com/ossrs/srs">
  38. <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/ossrs/srs?style=social">
  39. </a>
  40. </li>
  41. </ul>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="container-fluid">
  46. <div ng-view></div>
  47. <div bravo-alert ng-repeat="log in logs" class="alert fade in {{log.level|sc_filter_log_level}}">
  48. <button type="button" class="close" data-dismiss="alert">×</button>
  49. <strong>{{log.level}}:</strong> {{log.msg}}
  50. </div>
  51. </div>
  52. <footer class="footer">
  53. <div class="container">
  54. <ul class="footer-links">
  55. <li>&copy; SRS 2020</li>
  56. <li class="muted">|</li>
  57. <li><a href="http://ossrs.net/" target="_blank">Releases</a></li>
  58. <li class="muted">|</li>
  59. <li><a href="https://github.com/ossrs/srs" target="_blank">SRS</a></li>
  60. <li class="muted">|</li>
  61. <li><a href="https://github.com/ossrs/srs-console" target="_blank">Github</a></li>
  62. </ul>
  63. </div>
  64. </footer>
  65. </body>
  66. </html>