imboard
Version:
Most convenient platform for webpage development.
34 lines (33 loc) • 1.98 kB
HTML
<style>
p
{
margin:5px;
}
</style>
<div>
<form id="form" data-component="form" data-bind="signedUser">
<fieldset style="border-right:0; border-left:0; border-bottom:0;">
<p style="height: 35px;">
<a class="profileImgButton"><span class="glyphicon glyphicon-picture"></span> <span>업로드</span><input type="file" class="hiddenFile" id="hiddenFile" style="display:inline;"/></a>
<a class="profileImgButton" id="linkUrlImg"><span class="glyphicon glyphicon-link"></span> <span>URL</span></a>
<input type="text" id="urlInput" class="linkUrl" placeholder="url을 입력해주세요"/>
</p>
<div class="profileImageContainer" data-bind="user" data-param='{"id" : "admin"}'>
{{#if profileImgUrl}}
<img src="{{profileImgUrl}}" id="profileImg" style="width: 100%;"/>
{{/if}}
</div>
<hr/>
<p><input type="text" class="textinput default" name="id" style="font-size:15px;" placeholder="아이디" readonly="readonly" value="{{user.id}}" /></p>
<p><input type="text" class="textinput default" name="name" style="font-size:15px;" placeholder="이름" value="{{user.name}}" /></p>
<p><input type="text" class="textinput default" name="displayId" style="font-size:15px;" placeholder="닉네임" value="{{user.displayId}}" /></p>
<p><input type="password" class="textinput default" name="password" style="font-size:15px;" placeholder="비밀번호" /></p>
<p><input type="password" class="textinput default" name="passwordConfirm" style="font-size:15px;" placeholder="비밀번호 확인" /></p>
<p><span style="font-size:12px; color:red; display:none;" id="errorMessage">등록된 이메일이 없거나 비밀번호가 일치하지 않습니다</span></p>
<p>
<input type="submit" class="btn btn-default" style="font-size:15px;" value="저장">
<input type="button" class="btn btn-default" style="font-size:15px;" data-role="submit" data-role-type="initialize" value="초기화">
</p>
</fieldset>
</form>
</div>