basic support for weechat protocol based on weechat.js
This commit is contained in:
parent
d4b760fc04
commit
f5869438b7
3 changed files with 136 additions and 8 deletions
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<script type="text/javascript" src="js/angular.min.js"></script>
|
||||
<script type="text/javascript" src="js/protocol.js"></script>
|
||||
<script type="text/javascript" src="js/websockets.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -36,12 +37,13 @@
|
|||
</form>
|
||||
</div>
|
||||
<div ng-show="connected">
|
||||
{{ commands }}
|
||||
<div ng-repeat="command in commands">
|
||||
{{ command }}
|
||||
</div>
|
||||
<form ng-submit="sendMessage()">
|
||||
<input type="text" ng-model="command"></input>
|
||||
<button class="btn btn-primary" ng-click="sendMessage()">Send</button>
|
||||
<input type="submit" class="btn btn-primary"></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue