mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 03:29:01 +08:00
fix trailing spaces thanks @patrickelectric
This commit is contained in:
parent
f5051e3335
commit
d30ddc4ecf
@ -1,39 +1,39 @@
|
|||||||
* Change STA SSID
|
* Change STA SSID
|
||||||
[ESP100]<SSID>
|
[ESP100]<SSID>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP100]<SSID>pwd=<admin password>
|
[ESP100]<SSID>pwd=<admin password>
|
||||||
|
|
||||||
* Change STA Password
|
* Change STA Password
|
||||||
[ESP101]<Password>
|
[ESP101]<Password>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP101]<Password>pwd=<admin password>
|
[ESP101]<Password>pwd=<admin password>
|
||||||
|
|
||||||
* Change Hostname
|
* Change Hostname
|
||||||
[ESP102]<hostname>
|
[ESP102]<hostname>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP102]<hostname>pwd=<admin password>
|
[ESP102]<hostname>pwd=<admin password>
|
||||||
|
|
||||||
* Change Wifi mode (STA/AP)
|
* Change Wifi mode (STA/AP)
|
||||||
[ESP103]<mode>
|
[ESP103]<mode>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP103]<mode>pwd=<admin password>
|
[ESP103]<mode>pwd=<admin password>
|
||||||
|
|
||||||
* Change STA IP mode (DHCP/STATIC)
|
* Change STA IP mode (DHCP/STATIC)
|
||||||
[ESP104]<mode>
|
[ESP104]<mode>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP104]<mode>pwd=<admin password>
|
[ESP104]<mode>pwd=<admin password>
|
||||||
|
|
||||||
* Change AP SSID
|
* Change AP SSID
|
||||||
[ESP105]<SSID>
|
[ESP105]<SSID>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP105]<SSID>pwd=<admin password>
|
[ESP105]<SSID>pwd=<admin password>
|
||||||
|
|
||||||
* Change AP Password
|
* Change AP Password
|
||||||
[ESP106]<Password>
|
[ESP106]<Password>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP106]<Password>pwd=<admin password>
|
[ESP106]<Password>pwd=<admin password>
|
||||||
|
|
||||||
* Change AP IP mode (DHCP/STATIC)
|
* Change AP IP mode (DHCP/STATIC)
|
||||||
[ESP107]<mode>
|
[ESP107]<mode>
|
||||||
if authentication is on, need admin password
|
if authentication is on, need admin password
|
||||||
[ESP107]<mode>pwd=<admin password>
|
[ESP107]<mode>pwd=<admin password>
|
||||||
@ -69,6 +69,6 @@ if no password set it use default one
|
|||||||
[ESP800]<header answer>
|
[ESP800]<header answer>
|
||||||
|
|
||||||
* Clear status/error/info list
|
* Clear status/error/info list
|
||||||
cmd can be ALL, ERROR, INFO, STATUS
|
cmd can be ALL, ERROR, INFO, STATUS
|
||||||
[ESP999]<cmd>
|
[ESP999]<cmd>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[COMMON]
|
[COMMON]
|
||||||
$INCLUDE[<filename>] : only one per line and alone, others will be ignored
|
$INCLUDE[<filename>] : only one per line and alone, others will be ignored
|
||||||
$IP$ : current active ip
|
$IP$ : current active ip
|
||||||
$WEB_ADDRESS$: current active ip , if port is not 80 it will add port like xxx.xxx.xxxx.xxx:XX
|
$WEB_ADDRESS$: current active ip , if port is not 80 it will add port like xxx.xxx.xxxx.xxx:XX
|
||||||
$MENU_HOME$/$MENU_SYSTEM$/$MENU_AP$/$MENU_STA$/$MENU_PRINTER$/$MENU_SETTINGS$: to highlight menu of active page (css use class active for active menu)
|
$MENU_HOME$/$MENU_SYSTEM$/$MENU_AP$/$MENU_STA$/$MENU_PRINTER$/$MENU_SETTINGS$: to highlight menu of active page (css use class active for active menu)
|
||||||
$SERVICE_PAGE$ : to add extra code like redirection or anything not managed by page
|
$SERVICE_PAGE$ : to add extra code like redirection or anything not managed by page
|
||||||
@ -22,7 +22,7 @@ $MDNS_NAME$ : mDNS name if enabled or "Not enabled" if not enabled
|
|||||||
$SSDP_VISIBLE$ : set to hidden if no MDNS and visible if present
|
$SSDP_VISIBLE$ : set to hidden if no MDNS and visible if present
|
||||||
$SSDP_STATUS$ : set to Enabled / Not enabled according compilation settings
|
$SSDP_STATUS$ : set to Enabled / Not enabled according compilation settings
|
||||||
$CAPTIVE_PORTAL_VISIBLE$: set to hidden if no Captive portal and visible if present
|
$CAPTIVE_PORTAL_VISIBLE$: set to hidden if no Captive portal and visible if present
|
||||||
$CAPTIVE_PORTAL_STATUS$: set to Enabled / Not enabled according compilation settings
|
$CAPTIVE_PORTAL_STATUS$: set to Enabled / Not enabled according compilation settings
|
||||||
$NET_PHY$ : Network type (b/g/n)
|
$NET_PHY$ : Network type (b/g/n)
|
||||||
$SLEEP_MODE$ : Sleep Mode
|
$SLEEP_MODE$ : Sleep Mode
|
||||||
$BOOT_VER$ : Boot version
|
$BOOT_VER$ : Boot version
|
||||||
@ -32,7 +32,7 @@ $DATA_PORT$ : Port for tcp ip connection
|
|||||||
$DATA_PORT_VISIBILITY$ : set to hidden if no enabled and visible if enabled
|
$DATA_PORT_VISIBILITY$ : set to hidden if no enabled and visible if enabled
|
||||||
|
|
||||||
$AP_STATUS_ENABLED$ : is Access Point enabled or disabled
|
$AP_STATUS_ENABLED$ : is Access Point enabled or disabled
|
||||||
$AP_VISIBILITY$ : if Access Point is enabled set visible, else set to hidden
|
$AP_VISIBILITY$ : if Access Point is enabled set visible, else set to hidden
|
||||||
$AP_MAC$ : Mac address of AP
|
$AP_MAC$ : Mac address of AP
|
||||||
$AP_SSID$ : SSID of AP
|
$AP_SSID$ : SSID of AP
|
||||||
$AP_IS_VISIBLE$ : Is AP visible
|
$AP_IS_VISIBLE$ : Is AP visible
|
||||||
@ -56,8 +56,8 @@ $CONNECTED_STATIONS_NB_ITEMS$ : number of item for connected stations list
|
|||||||
$IP_CONNECTED[$CONNECTED_STATIONS_NB_ITEMS$ -1]$
|
$IP_CONNECTED[$CONNECTED_STATIONS_NB_ITEMS$ -1]$
|
||||||
|
|
||||||
$STA_STATUS_ENABLED$ : is Station enabled or disabled
|
$STA_STATUS_ENABLED$ : is Station enabled or disabled
|
||||||
$STA_VISIBILITY$ : if Station is enabled set visible, else set to hidden
|
$STA_VISIBILITY$ : if Station is enabled set visible, else set to hidden
|
||||||
$STA_MAC$ : Mac address of Station
|
$STA_MAC$ : Mac address of Station
|
||||||
$STA_SSID$ : SSID used by STA
|
$STA_SSID$ : SSID used by STA
|
||||||
$STA_CHANNEL$ : Channel
|
$STA_CHANNEL$ : Channel
|
||||||
$STA_STATUS$ : Connection Status
|
$STA_STATUS$ : Connection Status
|
||||||
@ -145,6 +145,6 @@ $XY_FEEDRATE$ : XY axis feedrate
|
|||||||
$Z_FEEDRATE$ : Z axis feedrate
|
$Z_FEEDRATE$ : Z axis feedrate
|
||||||
$E_FEEDRATE$ : Extruder feedrate
|
$E_FEEDRATE$ : Extruder feedrate
|
||||||
$REFRESH_PAGE_STATUS$ : change to has-error if issue, or has-success if ok
|
$REFRESH_PAGE_STATUS$ : change to has-error if issue, or has-success if ok
|
||||||
$XY_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok
|
$XY_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok
|
||||||
$Z_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok
|
$Z_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok
|
||||||
$E_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok
|
$E_FEEDRATE_STATUS$ : change to has-error if issue, or has-success if ok
|
||||||
|
@ -39,9 +39,9 @@ class MyHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||||||
s = s.lower()+".tpl"
|
s = s.lower()+".tpl"
|
||||||
|
|
||||||
#these do not exactly match, so let's make them!
|
#these do not exactly match, so let's make them!
|
||||||
s = s.replace("configsta","config_sta")
|
s = s.replace("configsta","config_sta")
|
||||||
s = s.replace("configap","config_ap")
|
s = s.replace("configap","config_ap")
|
||||||
s = s.replace("configsys","system")
|
s = s.replace("configsys","system")
|
||||||
|
|
||||||
if os.path.exists(os.path.join(base_path,s)):
|
if os.path.exists(os.path.join(base_path,s)):
|
||||||
ret = True,s
|
ret = True,s
|
||||||
@ -96,7 +96,7 @@ if __name__ == '__main__':
|
|||||||
print "\ntags.json is located at:"
|
print "\ntags.json is located at:"
|
||||||
print tools_path
|
print tools_path
|
||||||
print "\nOpen your browser at http://localhost:" + str(server_port)
|
print "\nOpen your browser at http://localhost:" + str(server_port)
|
||||||
|
|
||||||
os.chdir(base_path)
|
os.chdir(base_path)
|
||||||
print "="*60
|
print "="*60
|
||||||
handler = MyHandler
|
handler = MyHandler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user