1
0
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:
Tim Düsterhus 2011-12-27 12:25:20 +01:00
parent 77bf746df9
commit f98abf5298

View File

@ -121,11 +121,13 @@
<div id="chatRoomContent">
<div id="topic" class="border"{if $room->topic|language === ''} style="display: none;"{/if}>{$room->topic|language}</div>
<div class="chatMessageContainer border content">
<ul></ul>
<ul>
<noscript><li class="chatMessage">{lang}wcf.chat.noJs{/lang}</li></noscript>
</ul>
</div>
<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>
<div id="chatControls">
@ -188,7 +190,7 @@
{@$message->jsonify()}
{/implode}
]);
$('#chatInput').enable();
$('#chatInput').jCounter();
//]]>
</script>