2
0

connect.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <div>
  2. <div class="accordion">
  3. <div class="accordion-group">
  4. <div class="accordion-heading">
  5. <a class="accordion-toggle" href="javascript:void(0)">
  6. 连接到您的SRS服务器
  7. </a>
  8. </div>
  9. <div class="accordion-body collapse in">
  10. <div class="accordion-inner">
  11. <div class="form-horizontal">
  12. <div class="control-group">
  13. <label class="control-label" for="sscProtocol">协议</label>
  14. <div class="controls">
  15. <input type="text" id="sscProtocol" placeholder="SRS API Protocol, http or https" ng-model="server.schema">
  16. </div>
  17. </div>
  18. <div class="control-group">
  19. <label class="control-label" for="sscServer">服务器IP</label>
  20. <div class="controls">
  21. <input type="text" id="sscServer" placeholder="SRS API Server IP" ng-model="server.ip">
  22. </div>
  23. </div>
  24. <div class="control-group">
  25. <label class="control-label" for="sscPort">API端口</label>
  26. <div class="controls">
  27. <input type="text" id="sscPort" placeholder="SRS API Server Port" ng-model="server.port">
  28. </div>
  29. </div>
  30. <div class="control-group">
  31. <div class="controls">
  32. <button type="submit" class="btn" ng-click="connect()">连接到SRS</button>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>