Browse Source

update UI

dev
thuhole 5 years ago
parent
commit
bf0aca9f26
  1. 16
      src/UserAction.js
  2. 2
      src/infrastructure

16
src/UserAction.js

@ -348,13 +348,13 @@ export class LoginForm extends Component {
{/*根据计算中心要求,访问授权三个月内有效,过期需重新登录。*/}
T大树洞将会单向加密(i.e. 哈希散列)您的邮箱后再存入数据库因此您的发帖具有较强的匿名性具体可见我们的<a href="https://github.com/thuhole/thuhole-go-backend/blob/76f56e6b75257b59e552b6bdba77e114151fcad1/src/db.go#L184">后端开源代码</a>
</p>
<p>
<a onClick={()=>{this.props.show_sidebar(
'系统消息',
<MessageViewer token={token.value} />
)}}>查看系统消息</a><br />
当您发送的内容违规时我们将用系统消息提示您
</p>
{/*<p>*/}
{/* <a onClick={()=>{this.props.show_sidebar(*/}
{/* '系统消息',*/}
{/* <MessageViewer token={token.value} />*/}
{/* )}}>查看系统消息</a><br />*/}
{/* /!*当您发送的内容违规时,我们将用系统消息提示您*!/*/}
{/*</p>*/}
<p>
<a onClick={this.copy_token.bind(this,token.value)}>复制 User Token</a><br />
User Token 用于迁移登录状态切勿告知他人{/*,若怀疑被盗号请尽快 <ResetUsertokenWidget token={token.value} />*/}
@ -553,7 +553,7 @@ export class PostForm extends Component {
let width=image.width;
let height=image.height;
let compressed=false;
if(width>MAX_IMG_DIAM) {
height=height*MAX_IMG_DIAM/width;
width=MAX_IMG_DIAM;

2
src/infrastructure

@ -1 +1 @@
Subproject commit e24cf980948f63cc1535a6d2eb69319c5b3b055e
Subproject commit 5e3117878c18d8a7123e0dd11dede06bd9ba3c3c
Loading…
Cancel
Save