mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
First ideas for design when JS is disabled
This commit is contained in:
parent
77bf746df9
commit
f98abf5298
@ -121,11 +121,13 @@
|
|||||||
<div id="chatRoomContent">
|
<div id="chatRoomContent">
|
||||||
<div id="topic" class="border"{if $room->topic|language === ''} style="display: none;"{/if}>{$room->topic|language}</div>
|
<div id="topic" class="border"{if $room->topic|language === ''} style="display: none;"{/if}>{$room->topic|language}</div>
|
||||||
<div class="chatMessageContainer border content">
|
<div class="chatMessageContainer border content">
|
||||||
<ul></ul>
|
<ul>
|
||||||
|
<noscript><li class="chatMessage">{lang}wcf.chat.noJs{/lang}</li></noscript>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="chatForm" action="{link controller="Chat" action="Send"}{/link}" method="post">
|
<form id="chatForm" action="{link controller="Chat" action="Send"}{/link}" method="post">
|
||||||
<input type="text" id="chatInput" class="inputText long counterInput" name="text" autocomplete="off" maxlength="{CHAT_LENGTH}" required="required" placeholder="{lang}wcf.chat.submit.default{/lang}" />
|
<input type="text" id="chatInput" class="inputText long counterInput" name="text" autocomplete="off" maxlength="{CHAT_LENGTH}" disabled="disabled" required="required" placeholder="{lang}wcf.chat.submit.default{/lang}" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div id="chatControls">
|
<div id="chatControls">
|
||||||
@ -188,7 +190,7 @@
|
|||||||
{@$message->jsonify()}
|
{@$message->jsonify()}
|
||||||
{/implode}
|
{/implode}
|
||||||
]);
|
]);
|
||||||
|
$('#chatInput').enable();
|
||||||
$('#chatInput').jCounter();
|
$('#chatInput').jCounter();
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user