source: branches/1.2/workflow/js/htmlarea/plugins/SpellChecker/spell-check-ui.html @ 1349

Revision 1349, 4.3 KB checked in by niltonneto, 15 years ago (diff)

Ticket #561 - Inclusão do módulo Workflow faltante nessa versão.

  • Property svn:executable set to *
Line 
1<!--
2
3  Strangely, IE sucks with or without the DOCTYPE switch.
4  I thought it would only suck without it.
5
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
7    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
8
9   Spell Checker Plugin for HTMLArea-3.0
10   Sponsored by www.americanbible.org
11   Implementation by Mihai Bazon, http://dynarch.com/mishoo/
12 
13   (c) dynarch.com 2003.
14   Distributed under the same terms as HTMLArea itself.
15   This notice MUST stay intact for use (see license.txt).
16
17
18-->
19<html xmlns="http://www.w3.org/1999/xhtml">
20
21  <head>
22    <title>Spell Checker</title>
23    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24    <script type="text/javascript" src="spell-check-ui.js"></script>
25
26    <style type="text/css">
27      html, body { height: 100%; margin: 0px; padding: 0px; background-color: #fff;
28      color: #000; }
29      a:link, a:visited { color: #00f; text-decoration: none; }
30      a:hover { color: #f00; text-decoration: underline; }
31
32      table { background-color: ButtonFace; color: ButtonText;
33      font-family: tahoma,verdana,sans-serif; font-size: 11px; }
34
35      iframe { background-color: #fff; color: #000; height: 100%; width: 100%; }
36
37      .controls { width: 13em; }
38      .controls .sectitle { /* background-color: #736c6c; color: #fff;
39      border-top: 1px solid #000; border-bottom: 1px solid #fff; */
40      text-align: center;
41      font-weight: bold; padding: 2px 4px; }
42      .controls .secbody { margin-bottom: 10px; }
43
44      button, select { font-family: tahoma,verdana,sans-serif; font-size: 11px; }
45      button { width: 6em; padding: 0px; }
46
47      input, select { font-family: fixed,"andale mono",monospace; }
48
49      #v_currentWord { color: #f00; font-weight: bold; }
50      #statusbar { padding: 7px 0px 0px 5px; }
51      #status { font-weight: bold; }
52    </style>
53
54  </head>
55
56  <body onload="initDocument()">
57
58    <form style="display: none;" action="spell-check-logic.cgi"
59          method="post" target="framecontent"
60          accept-charset="UTF-8"
61          ><input type="hidden" name="content" id="f_content"
62          /><input type="hidden" name="dictionary" id="f_dictionary"
63          /><input type="hidden" name="init" id="f_init" value="1"
64    /></form>
65
66    <table style="height: 100%; width: 100%; border-collapse: collapse;" cellspacing="0" cellpadding="0">
67      <tr>
68        <td colspan="2" style="height: 1em; padding: 2px;">
69          <div style="float: right; padding: 2px;"><span>Dictionary</span>
70            <select id="v_dictionaries" style="width: 10em"></select>
71            <button id="b_recheck">Re-check</button>
72          </div>
73          <span id="status">Please wait.  Calling spell checker.</span>
74        </td>
75      </tr>
76      <tr>
77        <td valign="top" class="controls">
78          <div class="secbody" style="text-align: center">
79            <button id="b_info">Info</button>
80          </div>
81          <div class="sectitle">Original word</div>
82          <div class="secbody" id="v_currentWord" style="text-align:
83          center; margin-bottom: 0px;">pliz weit ;-)</div>
84          <div class="secbody" style="text-align: center">
85            <button id="b_revert">Revert</button>
86          </div>
87          <div class="sectitle">Replace with</div>
88          <div class="secbody">
89            <input type="text" id="v_replacement" style="width: 94%; margin-left: 3%;" /><br />
90            <div style="text-align: center; margin-top: 2px;">
91              <button id="b_replace">Replace</button><button
92                id="b_replall">Replace all</button><br /><button
93                id="b_ignore">Ignore</button><button
94                id="b_ignall">Ignore all</button>
95            </div>
96          </div>
97          <div class="sectitle">Suggestions</div>
98          <div class="secbody">
99            <select size="11" style="width: 94%; margin-left: 3%;" id="v_suggestions"></select>
100          </div>
101        </td>
102
103        <td>
104          <iframe src="about:blank" width="100%" height="100%"
105            id="i_framecontent" name="framecontent"></iframe>
106        </td>
107      </tr>
108      <tr>
109        <td style="height: 1em;" colspan="2">
110          <div style="padding: 4px 2px 2px 2px; float: right;">
111            <button id="b_ok">OK</button>
112            <button id="b_cancel">Cancel</button>
113          </div>
114          <div id="statusbar"></div>
115        </td>
116      </tr>
117    </table>
118
119  </body>
120
121</html>
Note: See TracBrowser for help on using the repository browser.