Add hidden group update form to new conversation view
This commit is contained in:
parent
3d5553df09
commit
1334032a89
3 changed files with 16 additions and 0 deletions
|
@ -52,6 +52,15 @@
|
||||||
</script>
|
</script>
|
||||||
<script type='text/x-tmpl-mustache' id='new-conversation'>
|
<script type='text/x-tmpl-mustache' id='new-conversation'>
|
||||||
<input type='text' class='new-message' placeholder="Name or phone number" />
|
<input type='text' class='new-message' placeholder="Name or phone number" />
|
||||||
|
<div class='new-group-update-form'>
|
||||||
|
<div>
|
||||||
|
<input type='text' name='name' class='name' placeholder='Group Name' value="{{ name }}">
|
||||||
|
</div>
|
||||||
|
<div class='group-avatar'>
|
||||||
|
<div><input type='file' name='avatar' class='file-input'></div>
|
||||||
|
</div>
|
||||||
|
<button>Create group</button>
|
||||||
|
</div>
|
||||||
<div class='results'>
|
<div class='results'>
|
||||||
<div class='new-contact'></div>
|
<div class='new-contact'></div>
|
||||||
<div class='contacts'></div>
|
<div class='contacts'></div>
|
||||||
|
|
|
@ -35,6 +35,10 @@ input.new-message {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.new-conversation .new-group-update-form {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.fab {
|
.fab {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
@ -25,6 +25,9 @@ input.new-message {
|
||||||
color: white;
|
color: white;
|
||||||
text-indent: -36px; }
|
text-indent: -36px; }
|
||||||
|
|
||||||
|
.new-conversation .new-group-update-form {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
.fab {
|
.fab {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue