not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
3.1 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Chat Prototype Activity</title>
  6. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, viewport-fit=cover"/>
  7. <link rel="stylesheet" media="not screen and (device-width: 1200px) and (device-height: 900px)"
  8. href="lib/sugar-web/graphics/css/sugar-96dpi.css">
  9. <link rel="prefetch" type="application/l10n" href="locale.ini" />
  10. <link rel="stylesheet" media="screen and (device-width: 1200px) and (device-height: 900px)"
  11. href="lib/sugar-web/graphics/css/sugar-200dpi.css">
  12. <link rel="stylesheet" href="css/activity.css">
  13. <script data-main="js/loader" src="lib/require.js"></script>
  14. </head>
  15. <body>
  16. <div id="main-toolbar" class="toolbar">
  17. <button class="toolbutton" id="activity-button" title="ChatPrototype"></button>
  18. <button class="toolbutton" id="network-button" title="Network"></button>
  19. <button class="toolbutton" id="image-upload" title="Upload an image"></button>
  20. <!-- Buttons with class="pull-right" will be right aligned -->
  21. <button class="toolbutton pull-right" id="stop-button" title="Stop"></button>
  22. </div>
  23. <!-- The content of your activity goes inside the canvas -->
  24. <div id="canvas">
  25. <!-- Replace this message with your own content -->
  26. <div id="content"><ul id="messages"></ul></div>
  27. <div id = "textarea-container">
  28. <textarea id="message" placeholder="Write your message here..." required autofocus readonly></textarea>
  29. <input name="idValue" id="idValue" type="hidden">
  30. <select id = "smiley-button" style = 'background: url(icons/smiley-icon.svg);width:35px;height:35px;' onchange="document.getElementById('message').value=document.getElementById('message').value + this.options[this.selectedIndex].text; document.getElementById('idValue').value=this.options[this.selectedIndex].value;document.getElementById('smiley-button').value = '';">
  31. <option style="display:none" disabled selected value></option>
  32. </select>
  33. <select id = "sad-button" style = 'background: url(icons/sad-icon.svg);width:31px;height:31px;' onchange="document.getElementById('message').value=document.getElementById('message').value + this.options[this.selectedIndex].text; document.getElementById('idValue').value=this.options[this.selectedIndex].value;document.getElementById('sad-button').value = '';">
  34. <option style="display:none" disabled selected value></option>
  35. </select>
  36. <select id = "others-button" style = 'background: url(icons/others-icon.svg);width:33px;height:33px;' onchange="document.getElementById('message').value=document.getElementById('message').value + this.options[this.selectedIndex].text; document.getElementById('idValue').value=this.options[this.selectedIndex].value;document.getElementById('others-button').value = '';">
  37. <option style="display:none" disabled selected value></option>
  38. </select>
  39. <p id="status">Click on the Neighborhood icon in the presence palette to start the Chat</p>
  40. </div>
  41. </div>
  42. </body>
  43. </html>