File: xnote-window.xhtml

package info (click to toggle)
xnote 4.6.51-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 960 kB
  • sloc: javascript: 7,147; makefile: 22; sh: 9
file content (116 lines) | stat: -rw-r--r-- 6,218 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href='resource://xnote/skin/xnote-window.css' type='text/css'?>
<!--
-->
<!DOCTYPE window SYSTEM "chrome://xnote/locale/xnote-window.dtd">
<!--       hidechrome='true'
       
        screenX="80"
        screenY="80"
        height="300"
        width="300"
        
        -->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
        id='xnote-window' title="XNote" onkeypress='if (event.keyCode==27) close();' minwidth='58'
        windowtype='xnote:note' minheight='88' persist="screenX screenY height width">
        <script src="chrome://xnote/content/autosize.js"></script>
        <script src="chrome://xnote/content/xnote-window.js"></script>

        <body>
                <html:div id='xnote-note' style="height:75vh;">
                        <!-- margin: 20px; 
                <box id='xnote-barre'>
           
                <titlebar flex='1' onmouseup='window.xnoteWindowObj.noteModified();'>
                  <label id='xnote-titre' value='&xnote;' />
                  <label id='xnote-mdate' class="boite-de-texte" readonly="true" />
                </titlebar>
          
                <image id='xnote-bouton-fermer' tooltiptext="&close;" class='custombutton-smaller'
                  onclick='if (event.button==0) { window.xnoteWindowObj.saveNote(); event.view.close(); }' />
              </box>
              class='boite-de-texte'   margin: 20px; margin: 20px; 
          -->
                        <html:textarea id='xnote-texte' oninput='window.xnoteWindowObj.noteModified();' />

                        <!--        <hbox id='xnote-barre-bottom-html' >
          -->
                </html:div>
                <html:div id='xnote-barre-bottom-html' style="height:18px">

                        <html:span>

                                <html:img id='xnote-bouton-suppr' style='height:16px' title='&suppr;'
                                        src="chrome://xnote/content/skin/iconmonstr-trash-can-10.svg"
                                        onclick='if (event.button==0) { if (confirm("&xnote.ask.deletion;")) { window.xnoteWindowObj.deleteNote();event.view.close(); }}'>
                                </html:img>
                                <!--  -->
                                <html:img id='xnote-button-print' tooltiptext='&print;' title='Print XNote'
                                        src="chrome://messenger/skin/icons/print.svg"
                                        onclick='if (event.button==0 ) { window.xnoteWindowObj.printNote(); }'>
                                </html:img>

                                <html:img id='xnote-button-forward-img' tooltiptext='&forward;'
                                        src="chrome://messenger/skin/icons/forward.svg">
                                </html:img>




                                <html:img id='xnote-button-copy' tooltiptext='copy to clipboard'
                                        src="chrome://xnote/content/skin/iconmonstr-clipboard-13-16.png"
                                        onclick='if (event.button==0 ) { window.xnoteWindowObj.copyNoteToClipboard(); }'>
                                </html:img>

                                <html:img id='xnote-search' class='custombutton-smaller'
                                        title='Search text over all XNotes  ... Install Expression Search NG addon to do the actual search.'
                                        src="chrome://xnote/content/skin/find.svg"
                                        onclick='if (event.button==0 ) { window.xnoteWindowObj.searchXNotes(); }'>
                                </html:img>
                                <!--  
                                src="chrome://global/skin/icons/delete.svg"    iconmonstr-clipboard-13-16.png      iconmonstr-clipboard-13.svg
                                 
                                content_paste_16dp_5F6368_FILL0_wght400_GRAD0_opsz20.png

                                <html:button  title='&print;'>
                                        <html:img id='xnote-button-print' title='&print;'
                                                src="chrome://messenger/skin/icons/print.svg"
                                                onclick='if (event.button==0 ) { window.xnoteWindowObj.printNote(); }'>
                                        </html:img>
                                </html:button>

-->
                                <!--
                                        <html:button>
                                                <html:a href="mailto:" id='xnote-button-forward'>
                                                        <html:img id='xnote-button-forward-img' tooltiptext='&forward;'
                                                                src="chrome://messenger/skin/icons/forward.svg">
                                                        </html:img>
                                                </html:a>
                                        </html:button>
                                  

   class='custombutton-smaller'
                                        <html:li> </html:li>
                                        <html:li> </html:li>




                                        <html:button>
                                                <html:img id='xnote-button-copy' tooltiptext='copy to clipboard'
                                                        src="chrome://messenger/skin/icons/iconmonstr-clipboard-13-16.png"
                                                        onclick='if (event.button==0 ) { window.xnoteWindowObj.printNote(); }'>
                                                </html:img>
                                        </html:button>

                                         <html:ul>                               </html:ul>
 -->

                        </html:span>
                </html:div>
        </body>

</window>