parent
80701d45bb
commit
edc99bc8a4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
|||||||
0.6.9.0905 Beta |
0.6.9.0906 Beta |
@ -1,56 +1,45 @@ |
|||||||
{{template "ng/base/head" .}} |
{{template "base/head" .}} |
||||||
{{template "ng/base/header" .}} |
<div class="organization settings options"> |
||||||
{{template "org/base/header" .}} |
{{template "org/header" .}} |
||||||
<div id="setting-wrapper" class="main-wrapper"> |
<div class="ui container"> |
||||||
<div id="org-setting" class="container clear"> |
<div class="ui grid"> |
||||||
{{template "org/settings/nav" .}} |
{{template "org/settings/navbar" .}} |
||||||
<div class="grid-4-5 left"> |
<div class="twelve wide column content"> |
||||||
<div class="setting-content"> |
{{template "base/alert" .}} |
||||||
{{template "ng/base/alert" .}} |
<h4 class="ui top attached header"> |
||||||
<div id="setting-content"> |
{{.i18n.Tr "org.settings.options"}} |
||||||
<div id="user-profile-setting-content" class="panel panel-radius"> |
</h4> |
||||||
<div class="panel-header"> |
<div class="ui attached segment"> |
||||||
<strong>{{.i18n.Tr "org.settings.options"}}</strong> |
<form class="ui form" action="{{.Link}}" method="post"> |
||||||
</div> |
|
||||||
<form class="form form-align panel-body" id="org-setting-form" action="{{AppSubUrl}}/org/{{.Org.LowerName}}/settings" method="post"> |
|
||||||
{{.CsrfTokenHtml}} |
{{.CsrfTokenHtml}} |
||||||
<input type="hidden" name="action" value="update"> |
<div class="required field {{if .Err_OrgName}}error{{end}}"> |
||||||
<div class="field"> |
<label for="org_name">{{.i18n.Tr "org.org_name_holder"}}<span class="text red hide" id="org-name-change-prompt"> {{.i18n.Tr "org.settings.change_orgname_prompt"}}</span></label> |
||||||
<label class="req" for="orgname">{{.i18n.Tr "org.org_name_holder"}}</label> |
<input id="org_name" name="name" value="{{.Org.Name}}" data-org-name="{{.Org.Name}}" autofocus required> |
||||||
<input class="ipt ipt-large ipt-radius {{if .Err_UserName}}ipt-error{{end}}" id="orgname" name="uname" value="{{.Org.Name}}" data-orgname="{{.Org.Name}}" required /> |
|
||||||
</div> |
|
||||||
<div class="white-popup-block mfp-hide" id="change-orgname-modal"> |
|
||||||
<h1 class="text-red">{{.i18n.Tr "org.settings.change_orgname"}}</h1> |
|
||||||
<p>{{.i18n.Tr "org.settings.change_orgname_desc"}}</p> |
|
||||||
<br> |
|
||||||
<button class="btn btn-red btn-large btn-radius" id="change-orgname-submit">{{.i18n.Tr "settings.continue"}}</button> |
|
||||||
<button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button> |
|
||||||
</div> |
</div> |
||||||
<div class="field"> |
<div class="field {{if .Err_FullName}}error{{end}}"> |
||||||
<label for="full-name">{{.i18n.Tr "org.settings.full_name"}}</label> |
<label for="full_name">{{.i18n.Tr "org.org_name_holder"}}</label> |
||||||
<input class="ipt ipt-large ipt-radius {{if .Err_FullName}}ipt-error{{end}}" id="full-name" name="fullname" value="{{.Org.FullName}}" /> |
<input id="full_name" name="full_name" value="{{.Org.FullName}}"> |
||||||
</div> |
</div> |
||||||
<div class="field clear"> |
<div class="field {{if .Err_Description}}error{{end}}"> |
||||||
<label class="left" for="desc">{{.i18n.Tr "org.org_desc"}}</label> |
<label for="description">{{$.i18n.Tr "org.org_desc"}}</label> |
||||||
<textarea class="ipt ipt-large ipt-radius {{if .Err_Description}}ipt-error{{end}}" id="desc" name="desc">{{.Org.Description}}</textarea> |
<textarea id="description" name="description" rows="2">{{.Org.Description}}</textarea> |
||||||
</div> |
</div> |
||||||
<div class="field"> |
<div class="field {{if .Err_Website}}error{{end}}"> |
||||||
<label for="website">{{.i18n.Tr "org.settings.website"}}</label> |
<label for="website">{{.i18n.Tr "org.settings.website"}}</label> |
||||||
<input class="ipt ipt-large ipt-radius {{if .Err_Website}}ipt-error{{end}}" id="website" name="website" type="url" value="{{.Org.Website}}" /> |
<input id="website" name="website" type="url" value="{{.Org.Website}}"> |
||||||
</div> |
</div> |
||||||
<div class="field"> |
<div class="field"> |
||||||
<label for="location">{{.i18n.Tr "org.settings.location"}}</label> |
<label for="location">{{.i18n.Tr "org.settings.location"}}</label> |
||||||
<input class="ipt ipt-large ipt-radius {{if .Err_Location}}ipt-error{{end}}" id="location" name="location" type="text" value="{{.Org.Location}}" /> |
<input id="location" name="location" value="{{.Org.Location}}"> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<div class="field"> |
<div class="field"> |
||||||
<span class="form-label"></span> |
<button class="ui green button">{{$.i18n.Tr "org.settings.update_settings"}}</button> |
||||||
<button class="btn btn-green btn-large btn-radius" id="change-orgname-btn" href="#change-orgname-modal">{{.i18n.Tr "org.settings.update_settings"}}</button> |
|
||||||
</div> |
</div> |
||||||
</form> |
</form> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
{{template "ng/base/footer" .}} |
{{template "base/footer" .}} |
Loading…
Reference in new issue