webogram-i2p/app/partials/mobile/chat_create_modal.html
Igor Zhukov cce8193ebc Init separate mobile version
Attach desktop/mobile styles conditionally
Separate templates for mobile
Make ConfigStorage angular-independent
2014-09-11 17:06:06 +04:00

24 lines
728 B
HTML

<div class="contacts_modal_wrap" my-modal-position>
<a class="modal-close-button" ng-click="$dismiss()"><i></i></a>
<div class="modal-body">
<form class="modal_simple_form" ng-submit="createGroup()">
<h4>Create Group</h4>
<div class="form-group">
<input class="form-control input-sm" my-focused type="text" placeholder="Group name" ng-model="group.name"/>
</div>
</form>
</div>
<div class="modal-footer">
<a class="btn btn-link" ng-click="$dismiss()">Cancel</a>
<button class="btn btn-primary" ng-class="{disabled: group.creating}" ng-click="createGroup()" ng-bind="group.creating ? 'Creating...' : 'Create Group'" ng-disabled="group.creating"></button>
</div>
</div>