Skip to content

Commit

Permalink
[Add] Added "NTPD Client" configuration to the web interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCrypt0 committed Mar 23, 2019
1 parent 47c3eee commit 64856e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/www/httpd/cgi-bin/get_configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ printf "\"%s\":\"%s\",\n" "SSHD" "$(get_config SSHD)"
printf "\"%s\":\"%s\",\n" "FTPD" "$(get_config FTPD)"
printf "\"%s\":\"%s\",\n" "PROXYCHAINSNG" "$(get_config PROXYCHAINSNG)"
printf "\"%s\":\"%s\",\n" "CHECK_UPDATES" "$(get_config CHECK_UPDATES)"
printf "\"%s\":\"%s\"\n" "DISABLE_CLOUD" "$(get_config DISABLE_CLOUD)"
printf "\"%s\":\"%s\",\n" "DISABLE_CLOUD" "$(get_config DISABLE_CLOUD)"
printf "\"%s\":\"%s\"\n" "NTPD" "$(get_config NTPD)"

printf "}"
7 changes: 7 additions & 0 deletions src/www/httpd/htdocs/pages/configurations.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ <h3 class="no-margin" id="header">Configurations</h3>
<span class="switch-text">Disable&#160;Cloud</span>
</label>
</div>
<div>
<label class="switch small">
<input type="checkbox" data-key="NTPD"/>
<span class="slider round"></span>
<span class="switch-text">NTPD&#160;Client</span>
</label>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 64856e4

Please sign in to comment.