Change profile page to use textareas
parent
b57e1d48e6
commit
ee6c902905
|
@ -2,9 +2,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h3>Update your profile on {{ sitename }}</h3><span style="font-size: small;">Integrate your chat with other <a href="/profile/chat">platforms</a>.</br></span><span style="font-size: small;">Or, change your <a href="/changepwd">password</a>.</span>
|
<h3>Update your profile on {{ sitename }}</h3><span style="font-size: small;">Integrate your chat with other <a href="/profile/chat">platforms</a>.</br></span><span style="font-size: small;">Or, change your <a href="/changepwd">password</a>.</span>
|
||||||
<p></p>
|
<p></p>
|
||||||
<form action="/api/user/update" method="POST" target="responseFrame">
|
<form action="/api/user/update" method="POST" target="responseFrame" id="profile">
|
||||||
Stream Title: </br><input type="text" name="title" style="min-width: 300px" value="{{meta.title}}"/></br>
|
Stream Title: </br><textarea form="profile" name="title" style="min-width: 320px;resize: none;font-size: large;text-align: center;" value="{{meta.title}}">{{meta.title}}</textarea></br>
|
||||||
Bio: </br><input type="text" name="bio" style="min-width: 300px; min-height: 150px;" value="{{meta.about}}"/></br>
|
Bio: </br><textarea form="profile" name="bio" style="min-width: 320px; min-height: 150px;resize: none;font-size: inherit;" value="{{meta.about}}">{{meta.about}}</textarea></br>
|
||||||
Record VODs: <input type="radio" name="record" value="true" {% if rflag.record_flag %}checked{% endif %}> Yes<input type="radio" name="record" value="false" {% if rflag.record_flag %}{% else %}checked{% endif %}/> No</br></br>
|
Record VODs: <input type="radio" name="record" value="true" {% if rflag.record_flag %}checked{% endif %}> Yes<input type="radio" name="record" value="false" {% if rflag.record_flag %}{% else %}checked{% endif %}/> No</br></br>
|
||||||
<input type="submit" value="Update Profile">
|
<input type="submit" value="Update Profile">
|
||||||
</form></br>
|
</form></br>
|
||||||
|
|
Reference in New Issue