mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
adjust new file suffix
This commit is contained in:
@@ -60,13 +60,13 @@ class DirentNodeView extends React.Component {
|
|||||||
<div className="d-flex justify-content-center">
|
<div className="d-flex justify-content-center">
|
||||||
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.md')}>
|
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.md')}>
|
||||||
{'+ Markdown'}</button>
|
{'+ Markdown'}</button>
|
||||||
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.ppt')}>
|
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.pptx')}>
|
||||||
{'+ PPT'}</button>
|
{'+ PPT'}</button>
|
||||||
</div>
|
</div>
|
||||||
<div className="d-flex justify-content-center">
|
<div className="d-flex justify-content-center">
|
||||||
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.doc')}>
|
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.docx')}>
|
||||||
{'+ Word'}</button>
|
{'+ Word'}</button>
|
||||||
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.xls')}>
|
<button className="big-new-file-button" onClick={this.onCreateNewFile.bind(this, '.xlsx')}>
|
||||||
{'+ Excel'}</button>
|
{'+ Excel'}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user