glowing-bear/directives/input.html

14 lines
767 B
HTML
Raw Normal View History

<form class="form form-horizontal" id="inputform" ng-submit="sendMessage()">
2013-10-27 21:41:27 +01:00
<div class="input-group">
<textarea id="{{inputId}}" class="form-control favorite-font" ng-trim="false" rows="1" ng-change="inputChanged()" autocomplete="on" ng-model="command" ng-focus="hideSidebar()">
</textarea>
2013-10-27 21:41:27 +01:00
<span class="input-group-btn">
<label class="btn btn-send-image unselectable" for="imgur-upload" title="Send image">
<i class="glyphicon glyphicon-picture"></i>
<input type="file" accept="image/*" title="Send image" id="imgur-upload" class="imgur-upload" file-change="uploadImage($event, files)">
</label>
<button class="btn btn-send unselectable"><i class="glyphicon glyphicon-send"></i></button>
2013-10-27 21:41:27 +01:00
</span>
</div>
</form>