glowingbear-mainbox/directives/input.html

16 lines
1 KiB
HTML
Raw Permalink Normal View History

<form class="form form-horizontal" id="inputform" ng-submit="sendMessage()" imgur-drop>
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()" ng-paste="inputPasted($event)">
</textarea>
2013-10-27 21:41:27 +01:00
<span class="input-group-btn">
<button class="btn btn-complete-nick unselectable mobile" title="Complete nick" ng-click="handleCompleteNickButton($event)"><i class="glyphicon glyphicon-bullhorn"></i></button>
<label class="btn btn-send-image unselectable" for="imgur-upload" title="Send image">
<i class="glyphicon glyphicon-picture"></i>
2015-10-12 21:09:13 +02:00
<input type="file" accept="image/*" multiple title="Send image" id="imgur-upload" class="imgur-upload" file-change="uploadImage($event, files)">
</label>
2015-12-19 14:13:42 +01:00
<button class="btn btn-send unselectable" title="Send"><i class="glyphicon glyphicon-send"></i></button>
2013-10-27 21:41:27 +01:00
</span>
</div>
<div id="imgur-upload-progress"></div>
2013-10-27 21:41:27 +01:00
</form>