Explorar o código

Add spellcheck off in <textarea>

DSR! %!s(int64=2) %!d(string=hai) anos
pai
achega
6b2c8b16b6

+ 2 - 2
src/pineapple/html/hook-modal.html

@@ -60,7 +60,7 @@
                     <br>
                     <div class="alert well-sm alert-success" ng-show="probesAdded">All probes added to the PineAP Pool</div>
                     <div class="alert alert-danger text-center" ng-show="probeError">{{ probeError }}</div>
-                    <textarea class="form-control" rows="10" ng-model="probes" ng-show="probes" readonly></textarea>
+                    <textarea class="form-control" rows="10" ng-model="probes" ng-show="probes" spellcheck="false" readonly></textarea>
                 </div>
                 <div ng-if="hook == 'mac'">
                     <hr>
@@ -77,7 +77,7 @@
                     <hr>
                     <h4>Notes</h4>
                     <input class="form-control" type="text" name="name" ng-model="noteData.name" placeholder="Nickname">
-                    <textarea class="form-control" id="notes" rows="6" placeholder="Add notes..." ng-model="noteData.note">
+                    <textarea class="form-control" id="notes" rows="6" placeholder="Add notes..." ng-model="noteData.note" spellcheck="false">
                     </textarea>
                     <button class="btn btn-lg btn-default btn-block" type="button" ng-click="setNoteData()">
                         Save Notes

+ 2 - 2
src/pineapple/modules/Advanced/module.html

@@ -68,7 +68,7 @@
                         <div class="alert well-sm alert-success ng-hide" ng-show="formatSuccess">Successfully formatted SD Card</div>
                         <pre class="scrollable-pre" ng-show="lsusb">{{ lsusb }}</pre>
                         <p>
-                            <textarea class="form-control" rows="8" ng-model="fstab"></textarea>
+                            <textarea class="form-control" rows="8" ng-model="fstab" spellcheck="false"></textarea>
                         </p>
                         <p class="alert well-sm alert-success" ng-show="fstabSaved">Fstab saved successfully</p>
                         <button type="submit" class="btn btn-default" ng-click="saveFstab()">Save Fstab</button>
@@ -134,7 +134,7 @@
                     </div>
                     <div class="panel-body">
                         <p>
-                            <textarea class="form-control" rows="13" ng-model="css"></textarea>
+                            <textarea class="form-control" rows="13" ng-model="css" spellcheck="false"></textarea>
                         </p>
                         <p class="alert well-sm alert-success" ng-show="cssSaved">CSS saved successfully</p>
                         <button type="submit" class="btn btn-default" ng-click="saveCSS()">Save CSS</button>

+ 2 - 2
src/pineapple/modules/Configuration/module.html

@@ -105,7 +105,7 @@
                 </div>
                 <br/>
                 <form class="form-horizontal">
-                    <textarea class="form-control" rows="18" ng-model="landingPage"></textarea>
+                    <textarea class="form-control" rows="18" ng-model="landingPage" spellcheck="false"></textarea>
                     <br/>
                     <p class="alert well-sm alert-success" ng-show="pageSaved">Landing Page saved successfully</p>
                     <button type="submit" class="btn btn-default" ng-click="saveLandingPage()">Save</button>
@@ -124,7 +124,7 @@
             <div class="panel-body">
                 <form class="form-horizontal">
                     <p class="text-muted text-sm">This script executes when the reset button is pressed for less than 5 seconds.</p>
-                    <textarea class="form-control" rows="10" ng-model="buttonScript"></textarea>
+                    <textarea class="form-control" rows="10" ng-model="buttonScript" spellcheck="false"></textarea>
                     <br/>
                     <p class="alert well-sm alert-success" ng-show="scriptSaved">Button Script saved successfully</p>
                     <p class="alert well-sm alert-danger" ng-show="scriptError">{{ scriptError }}</p>

+ 2 - 2
src/pineapple/modules/Filters/module.html

@@ -25,7 +25,7 @@
                 <br/>
                 <p>
                     <textarea class="form-control" rows="15" onmouseup="getClientLineNumber(this);"
-                              ng-model="clientFilters" readonly></textarea>
+                              ng-model="clientFilters" spellcheck="false" readonly></textarea>
                 </p>
                 <div class="input-group">
                     <input type="text" class="form-control" placeholder="MAC Address" name="mac" ng-model="mac">
@@ -71,7 +71,7 @@
                 <br/>
                 <p>
                     <textarea class="form-control" rows="15" onmouseup="getSSIDLineNumber(this);" ng-model="ssidFilters"
-                              readonly></textarea>
+                              spellcheck="false" readonly></textarea>
                 </p>
                 <div class="input-group">
                     <input type="text" class="form-control" placeholder="SSID" name="ssid" ng-model="ssid">

+ 1 - 1
src/pineapple/modules/Help/module.html

@@ -43,7 +43,7 @@
                     </div>
                     <h5 class="panel-title" ng-show="debugStarted">Progress</h5>
                     <p>
-                        <textarea id="output" ng-show="debugStarted" class="form-control autoselect" rows="15" ng-model="output" readonly></textarea>
+                        <textarea id="output" ng-show="debugStarted" class="form-control autoselect" rows="15" ng-model="output" spellcheck="false" readonly></textarea>
                     </p>
                 </p>
             </div>

+ 1 - 1
src/pineapple/modules/Networking/module.html

@@ -489,7 +489,7 @@
                             The Wireless Configuration has been reset. The Network will now restart.
                         </div>
                         <p>
-                            <textarea class="form-control" rows="12" ng-model="data['wireless']"></textarea>
+                            <textarea class="form-control" rows="12" ng-model="data['wireless']" spellcheck="false"></textarea>
                         </p>
                         <p class="alert well-sm alert-success" ng-show="wirelessUpdated">Config saved successfully</p>
                         <button type="submit" class="btn btn-default" ng-click="saveWirelessConfig()">Save config</button>

+ 2 - 2
src/pineapple/modules/PineAP/module.html

@@ -139,7 +139,7 @@
             <div class="panel-body">
                 <p>
                     <textarea id="ssidPool" class="form-control" rows="15" ng-mouseup="getSSIDLineNumber()"
-                              ng-model="ssidPool" readonly></textarea>
+                              ng-model="ssidPool" spellcheck="false" readonly></textarea>
                 </p>
                 <div class="input-group">
                     <input type="text" class="form-control" placeholder="SSID" name="ssid" ng-model="ssid">
@@ -436,7 +436,7 @@
                     <div class="col-md-12">
                         <div class="form-group">
                             <textarea class="form-control uppercase" id="payload" rows="6"
-                                      placeholder="Hex Encoded Payload..." ng-model="payload"></textarea>
+                                      placeholder="Hex Encoded Payload..." ng-model="payload" spellcheck="false"></textarea>
                         </div>
                         <br/>
                         <div class="input-group">

+ 2 - 2
src/pineapple/modules/Tracking/module.html

@@ -17,7 +17,7 @@
             </div>
             <div class="panel-body">
                 <p>
-                    <textarea class="form-control" rows="15" onmouseup="getLineNumber(this);" ng-model="trackingList" readonly></textarea>
+                    <textarea class="form-control" rows="15" onmouseup="getLineNumber(this);" ng-model="trackingList" spellcheck="false" readonly></textarea>
                 </p>
                 <div class="input-group">
                     <input type="text" class="form-control" placeholder="MAC Address" name="mac" ng-model="mac">
@@ -41,7 +41,7 @@
             </div>
             <div class="panel-body">
                 <p>
-                    <textarea class="form-control" rows="15" ng-model="trackingScript"></textarea>
+                    <textarea class="form-control" rows="15" ng-model="trackingScript" spellcheck="false"></textarea>
                 </p>
                 <p class="alert well-sm alert-success" ng-show="scriptSaved">Script saved successfully</p>
                 <button type="submit" class="btn btn-default" ng-click="saveScript()">Save Script</button>