mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 03:16:16 -04:00
前端首页不要随机创建文档功能
This commit is contained in:
parent
807cb1625f
commit
085447534b
1 changed files with 6 additions and 5 deletions
|
@ -106,7 +106,7 @@
|
||||||
button[type="submit"] {
|
button[type="submit"] {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left:253px;
|
left:253px;
|
||||||
width: 45px;
|
width: 80px;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
}
|
}
|
||||||
@media only screen and (min-device-width: 320px) and (max-device-width: 800px) {
|
@media only screen and (min-device-width: 320px) and (max-device-width: 800px) {
|
||||||
|
@ -135,15 +135,16 @@
|
||||||
<% e.begin_block("indexWrapper"); %>
|
<% e.begin_block("indexWrapper"); %>
|
||||||
<div id="inner">
|
<div id="inner">
|
||||||
<% if (!settings.requireSession) { %>
|
<% if (!settings.requireSession) { %>
|
||||||
<% if (settings.editOnly) { %>
|
<!-- 隐藏随机文档名功能,只保留手动输入名称 -->
|
||||||
|
<!-- <% if (settings.editOnly) { %>
|
||||||
<label id="label" for="padname" data-l10n-id="index.openPad"></label>
|
<label id="label" for="padname" data-l10n-id="index.openPad"></label>
|
||||||
<% } else {%>
|
<% } else {%>
|
||||||
<button id="button" data-l10n-id="index.newPad"></button>
|
<button id="button" data-l10n-id="index.newPad"></button>
|
||||||
<label id="label" for="padname" data-l10n-id="index.createOpenPad"></label>
|
<label id="label" for="padname" data-l10n-id="index.createOpenPad"></label>
|
||||||
<% } %>
|
<% } %> -->
|
||||||
<form action="#" id="go2Name">
|
<form action="#" id="go2Name">
|
||||||
<input type="text" id="padname" maxlength="50" autofocus x-webkit-speech>
|
<input type="text" id="padname" placeholder="请输入一个文档名称" maxlength="50" autofocus x-webkit-speech>
|
||||||
<button type="submit">OK</button>
|
<button type="submit">创建文档</button>
|
||||||
</form>
|
</form>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue