alessandro trinca tornidor
		
	commited on
		
		
					Commit 
							
							·
						
						0a8999b
	
1
								Parent(s):
							
							9db4577
								
feat: add some helper functions from lite.koboldai.net integration
Browse files- static/index.html +1 -1
- static/index_dark.html +63 -3
    	
        static/index.html
    CHANGED
    
    | @@ -100,7 +100,7 @@ A last row, I hope. | |
| 100 | 
             
                            <div class="display-flex">
         | 
| 101 | 
             
                                <div class="width-50perc">
         | 
| 102 | 
             
                                    <h4 id="id-words-frequency-table-title" aria-label="id-words-frequency-table-title">Words Frequency Stats</h4>
         | 
| 103 | 
            -
                                    <input type="text" id="filter-words-frequency" aria-label="filter-words-frequency" placeholder="Filter the output table..." class="width-80perc" onkeydown=" | 
| 104 | 
             
                                    <button type="submit" id="btn-filter-words-frequency" aria-label="btn-filter-words-frequency" onclick="updateWordsFrequencyTables()">Submit</button>
         | 
| 105 | 
             
                                </div>
         | 
| 106 | 
             
                                <div class="display-flex width-50perc margin2px-bottom">
         | 
|  | |
| 100 | 
             
                            <div class="display-flex">
         | 
| 101 | 
             
                                <div class="width-50perc">
         | 
| 102 | 
             
                                    <h4 id="id-words-frequency-table-title" aria-label="id-words-frequency-table-title">Words Frequency Stats</h4>
         | 
| 103 | 
            +
                                    <input type="text" id="filter-words-frequency" aria-label="filter-words-frequency" placeholder="Filter the output table..." class="width-80perc" onkeydown="updateWordsFreqIfPressEnterSimple()"/>
         | 
| 104 | 
             
                                    <button type="submit" id="btn-filter-words-frequency" aria-label="btn-filter-words-frequency" onclick="updateWordsFrequencyTables()">Submit</button>
         | 
| 105 | 
             
                                </div>
         | 
| 106 | 
             
                                <div class="display-flex width-50perc margin2px-bottom">
         | 
    	
        static/index_dark.html
    CHANGED
    
    | @@ -31,9 +31,69 @@ | |
| 31 | 
             
                    <div id="id-container-row-global-editor-frequency" class="display-flex">
         | 
| 32 | 
             
                        <div id="id-col1-editor" class="col-flex50 border-black padding10px margin10px overflow-hidden background-color-lightgray">
         | 
| 33 | 
             
                            <h4>Text Editor</h4>
         | 
| 34 | 
            -
                            <div  | 
| 35 | 
            -
                                 | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 36 | 
             
                            </div>
         | 
|  | |
| 37 | 
             
                        </div>
         | 
| 38 |  | 
| 39 | 
             
                            <!-- start HTML section - My Ghost Writer - https://github.com/trincadev/my_ghost_writer -->
         | 
| @@ -50,7 +110,7 @@ | |
| 50 | 
             
                                        </div>
         | 
| 51 |  | 
| 52 | 
             
                                        <div class="collapse" id="wordsFreqNavbarNavDropdown">
         | 
| 53 | 
            -
                                            <input type="text" id="filter-words-frequency" aria-label="filter-words-frequency" placeholder="Filter the output..." class="background-color-verydarkgrey" onkeypress=" | 
| 54 | 
             
                                            <ul class="nav navbar-nav display-grid margin5px-top">
         | 
| 55 |  | 
| 56 | 
             
                                                <li class="nav-item" id="words_freq_topbtn_1">
         | 
|  | |
| 31 | 
             
                    <div id="id-container-row-global-editor-frequency" class="display-flex">
         | 
| 32 | 
             
                        <div id="id-col1-editor" class="col-flex50 border-black padding10px margin10px overflow-hidden background-color-lightgray">
         | 
| 33 | 
             
                            <h4>Text Editor</h4>
         | 
| 34 | 
            +
                            <div class="gamescreenbgnormal calc98vh_less_240px" id="gamescreen">
         | 
| 35 | 
            +
                                <span id="editor" contenteditable="true" class="max-height-90vh calc96vh_less_240px overflow-auto background-color-whitesmoke" aria-label="editor">Once upon a time, in the kingdom of Elwoodia, there lived a young and wise young Princess named Isabella. She loved
         | 
| 36 | 
            +
            nothing more than to explore the world around her and experience new things. One day, she set off on an adventure to
         | 
| 37 | 
            +
            find out about the mysterious and enchanting forest beyond the village gate.
         | 
| 38 | 
            +
            <br>
         | 
| 39 | 
            +
            As she journeyed through the woods, Isabella stumbled upon a large clearing where she saw a small group of woodland
         | 
| 40 | 
            +
            creatures gathered around something. Curious, she went over to take a look. There she noticed a large, red apple
         | 
| 41 | 
            +
            lying across the ground. It was so unusual that she had never seen anything like it before; its shape was round but
         | 
| 42 | 
            +
            oval, and it was larger than any fruit she'd ever seen.
         | 
| 43 | 
            +
            <br>
         | 
| 44 | 
            +
            <br>
         | 
| 45 | 
            +
            The creatures surrounding the apple moved aside to let Isabella get a closer look. As she came closer, she saw a
         | 
| 46 | 
            +
            tiny fairy perched on top of the apple. The fairy flew to Isabella and spoke in a soft voice.
         | 
| 47 | 
            +
            <br>
         | 
| 48 | 
            +
            <br>
         | 
| 49 | 
            +
            <br>
         | 
| 50 | 
            +
            <br>
         | 
| 51 | 
            +
            <span>
         | 
| 52 | 
            +
            "Hi Isabella. Do you know where Harry is?" The fairy said. She was shy since they never spoken before.
         | 
| 53 | 
            +
            <br>
         | 
| 54 | 
            +
            Another sentence with the word "She".
         | 
| 55 | 
            +
            <br>
         | 
| 56 | 
            +
            <br>
         | 
| 57 | 
            +
            "No, I don't know, but probably his father Harry Senior knows." Responded Isabella, a little unsure. She was
         | 
| 58 | 
            +
            afraid...
         | 
| 59 | 
            +
            <br>
         | 
| 60 | 
            +
            She was right?
         | 
| 61 | 
            +
            </span>
         | 
| 62 | 
            +
            <span><br></span>
         | 
| 63 | 
            +
            <span>
         | 
| 64 | 
            +
            Or not?
         | 
| 65 | 
            +
            <br>
         | 
| 66 | 
            +
            <br>
         | 
| 67 | 
            +
            <br>
         | 
| 68 | 
            +
            <br>
         | 
| 69 | 
            +
            "Thank you, I really need to find that boy, Harry!" Said the small creature. She turned back.
         | 
| 70 | 
            +
            <br>
         | 
| 71 | 
            +
            <br>
         | 
| 72 | 
            +
            </span>
         | 
| 73 | 
            +
            <span>
         | 
| 74 | 
            +
            The fairy was really beautiful, dressed with colourful flowers and green leaves.
         | 
| 75 | 
            +
            <br>
         | 
| 76 | 
            +
            </span>
         | 
| 77 | 
            +
            <span><br></span>
         | 
| 78 | 
            +
            <span>
         | 
| 79 | 
            +
            She grabbed some rocks. One was red.
         | 
| 80 | 
            +
            <br>
         | 
| 81 | 
            +
            The second one was gray.
         | 
| 82 | 
            +
            <br>
         | 
| 83 | 
            +
            The third was... different: almost transparent, she almost cut her fingers while turning it.
         | 
| 84 | 
            +
            <br>
         | 
| 85 | 
            +
            The last one was black with plenty of holes within.
         | 
| 86 | 
            +
            <br><br>
         | 
| 87 | 
            +
            A Row in the middle.
         | 
| 88 | 
            +
            <br><br>
         | 
| 89 | 
            +
            Another row.
         | 
| 90 | 
            +
            <br>
         | 
| 91 | 
            +
            More one.
         | 
| 92 | 
            +
            <br>
         | 
| 93 | 
            +
            A last row, I hope.
         | 
| 94 | 
            +
            </span></span>
         | 
| 95 | 
             
                            </div>
         | 
| 96 | 
            +
                            <div class="display-none collapse"><span id="id-hidden-editor" aria-label="id-hidden-editor">placehoder</span></div>
         | 
| 97 | 
             
                        </div>
         | 
| 98 |  | 
| 99 | 
             
                            <!-- start HTML section - My Ghost Writer - https://github.com/trincadev/my_ghost_writer -->
         | 
|  | |
| 110 | 
             
                                        </div>
         | 
| 111 |  | 
| 112 | 
             
                                        <div class="collapse" id="wordsFreqNavbarNavDropdown">
         | 
| 113 | 
            +
                                            <input type="text" id="filter-words-frequency" aria-label="filter-words-frequency" placeholder="Filter the output..." class="background-color-verydarkgrey" onkeypress="updateWordsFreqIfPressEnterSimple()"/>
         | 
| 114 | 
             
                                            <ul class="nav navbar-nav display-grid margin5px-top">
         | 
| 115 |  | 
| 116 | 
             
                                                <li class="nav-item" id="words_freq_topbtn_1">
         |