2023-02-13 14:45:45 +00:00
{% import 'languages/'+lang|default('en')+'.html' as lang %}
2019-10-11 04:49:55 +00:00
< html lang = "en" >
2018-05-05 12:40:41 +00:00
< head >
2023-02-13 14:45:45 +00:00
< title > {% block title %}{% endblock %}< / title >
2022-10-09 10:23:45 +00:00
< meta charset = "UTF-8" >
2018-08-20 06:39:52 +00:00
< meta http-equiv = "Cache-Control" content = "no-cache, no-store, must-revalidate" / >
< meta http-equiv = "Pragma" content = "no-cache" / >
< meta http-equiv = "Expires" content = "0" / >
2023-02-22 07:36:20 +00:00
< meta id = "translate" style = "display: none;" data-delete = "{{lang.words.delete|title()}}" data-cancel = "{{lang.words.cancel|title()}}" data-add = "{{lang.words.add|title()}}"
2023-02-13 14:45:45 +00:00
data-superAdmin_pass="{{lang.phrases.superAdmin_pass}}" data-superAdmin_services="{{lang.phrases.superAdmin_services}}" data-change="{{lang.words.change|title()}}"
data-change2="{{lang.words.change2|title()}}" data-password="{{lang.words.password}}" data-groups="{{lang.words.groups}}" data-save="{{lang.words.save|title()}}"
data-manage="{{lang.words.manage|title()}}" data-services3="{{lang.words.services3}}" data-logout="{{lang.words.logout|title()}}"
data-something_wrong="{{lang.words.something_wrong}}" data-check_logs="{{lang.words.check_logs}}" data-wait_mess="{{lang.phrases.wait_mess}}"
data-just_save="{{lang.words.just|title()}} {{lang.words.save}}" data-upload_and_restart="{{lang.phrases.upload_and_restart|title()}}"
data-are_you_sure="{{lang.phrases.are_you_sure}}" data-upload_and_reload="{{lang.phrases.upload_and_reload|title()}}" data-select_server="{{lang.errors.select_server}}"
2023-02-17 17:21:19 +00:00
data-empty_name="{{lang.errors.empty_name}}" data-edit="{{lang.words.edit|title()}}" data-close="{{lang.words.close|title()}}" data-server_info="{{lang.phrases.server_info}}"
2023-02-22 07:36:20 +00:00
data-generated_config="{{lang.words.generated|title()}} {{lang.words.config}}" data-restart="{{lang.words.restart|title()}}" data-start="{{lang.words.start|title()}}"
data-stop="{{lang.words.stop|title()}}" data-reload="{{lang.words.reload|title()}}" data-user_groups="{{lang.phrases.user_groups}}" data-settings="{{lang.words.settings|title()}}"
data-for="{{lang.words.for}}" />
2021-01-12 05:05:53 +00:00
{% if title == 'Login page' %}
< meta name = "viewport" content = "width=device-width, user-scalable=1" >
{% endif %}
2019-10-11 04:49:55 +00:00
< link href = "/inc/images/favicon/favicon.ico" rel = "icon" type = "image/png" / >
< link rel = "apple-touch-icon" sizes = "57x57" href = "/inc/images/favicon/inc/images/favicon/apple-icon-57x57.png" >
< link rel = "apple-touch-icon" sizes = "60x60" href = "/inc/images/favicon/apple-icon-60x60.png" >
< link rel = "apple-touch-icon" sizes = "72x72" href = "/inc/images/favicon/apple-icon-72x72.png" >
< link rel = "apple-touch-icon" sizes = "76x76" href = "/inc/images/favicon/apple-icon-76x76.png" >
< link rel = "apple-touch-icon" sizes = "114x114" href = "/inc/images/favicon/apple-icon-114x114.png" >
< link rel = "apple-touch-icon" sizes = "120x120" href = "/inc/images/favicon/apple-icon-120x120.png" >
< link rel = "apple-touch-icon" sizes = "144x144" href = "/inc/images/favicon/apple-icon-144x144.png" >
< link rel = "apple-touch-icon" sizes = "152x152" href = "/inc/images/favicon/apple-icon-152x152.png" >
< link rel = "apple-touch-icon" sizes = "180x180" href = "/inc/images/favicon/apple-icon-180x180.png" >
< link rel = "icon" type = "image/png" sizes = "192x192" href = "/inc/images/favicon/android-icon-192x192.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "/inc/images/favicon/favicon-32x32.png" >
< link rel = "icon" type = "image/png" sizes = "96x96" href = "/inc/images/favicon/favicon-96x96.png" >
< link rel = "icon" type = "image/png" sizes = "16x16" href = "/inc/images/favicon/favicon-16x16.png" >
< link rel = "manifest" href = "/inc/images/favicon/manifest.json" >
< meta name = "msapplication-TileColor" content = "#ffffff" >
< meta name = "msapplication-TileImage" content = "/inc/images/favicon/ms-icon-144x144.png" >
< meta name = "theme-color" content = "#ffffff" >
2018-05-05 12:40:41 +00:00
< script defer src = "/inc/fa-solid.min.js" > < / script >
< script defer src = "/inc/fontawesome.min.js" > < / script >
2021-01-18 16:21:51 +00:00
< script > FontAwesomeConfig = { searchPseudoElements : true , observeMutations : false } ; < / script >
2020-10-02 12:39:00 +00:00
< script defer src = "/inc/ion.sound.min.js" > < / script >
2022-11-28 07:47:18 +00:00
< script defer src = "/inc/intro/introjs.min.js" > < / script >
< link href = "/inc/intro/introjs.min.css" rel = "stylesheet" >
< link href = "/inc/intro/introjs-modern.css" rel = "stylesheet" >
2022-08-15 08:50:29 +00:00
< link href = "/inc/css/awesome.css" rel = "stylesheet" >
< link href = "/inc/css/style.css" rel = "stylesheet" >
< link href = "/inc/css/nprogress.css" rel = "stylesheet" >
< link href = "/inc/css/jquery-ui.min.css" rel = "stylesheet" >
< link href = "/inc/css/jquery-ui.structure.min.css" rel = "stylesheet" >
2022-05-17 09:34:29 +00:00
< script src = "/inc/jquery-3.6.0.min.js" > < / script >
< script src = "/inc/jquery-ui.min.js" > < / script >
2019-11-06 19:56:28 +00:00
< script src = "/inc/js.cookie.min.js" > < / script >
2022-03-15 09:51:03 +00:00
< script src = "/inc/reconnecting-websocket.js" > < / script >
2022-08-15 08:50:29 +00:00
< script src = "/inc/hotkeys.js" > < / script >
< link href = "/inc/css/select2.css" rel = "stylesheet" / >
2022-03-02 20:09:39 +00:00
< script src = "/inc/select2.js" > < / script >
2018-05-05 12:40:41 +00:00
< script src = "/inc/script.js" > < / script >
< script src = "/inc/nprogress.js" > < / script >
2022-08-15 08:50:29 +00:00
< link href = "/inc/css/toastr.css" rel = "stylesheet" / >
2020-07-27 07:11:05 +00:00
< script src = "/inc/toastr.js" > < / script >
2018-05-05 12:40:41 +00:00
< / head >
< body >
2018-06-01 12:27:58 +00:00
< input type = "hidden" id = "token" value = "{{ token }}" >
2022-09-02 14:12:28 +00:00
< script > show _version ( ) ; < / script >
2018-05-05 12:40:41 +00:00
< div class = "top-menu" >
< div class = "LogoText" >
2019-09-29 20:16:24 +00:00
< span id = "logo_text" >
2021-07-01 07:19:23 +00:00
< a href = "https://roxy-wi.org" title = "Roxy-WI site" target = "_blank" >
2022-08-04 09:32:01 +00:00
< img src = "/inc/images/logo_menu.png" alt = "logo" width = "110" / >
2019-09-29 20:16:24 +00:00
< / a >
2022-10-09 10:23:45 +00:00
< / span >
< / div >
2018-09-28 10:35:44 +00:00
< div id = "top-link" class = "top-link" >
2019-01-23 15:38:27 +00:00
< nav id = "menu" >
< ul class = "menu" >
2022-10-09 10:23:45 +00:00
{% if user %}
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/overview.py" title = "{{lang.menu_links.overview.title}}" class = "overview-link " > {{lang.menu_links.overview.link}}< / a > < / li >
2021-08-15 09:02:12 +00:00
{% if '1' in user_services %}
2022-04-29 10:28:48 +00:00
< li class = "p_menu" >
2023-02-13 14:45:45 +00:00
< a href = "/app/hapservers.py?service=haproxy" title = "{{lang.menu_links.hapservers.haproxy.title}}" class = "config-show" > HAProxy< / a >
2019-01-23 15:38:27 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/hapservers.py?service=haproxy" title = "{{lang.menu_links.hapservers.haproxy.title}}" class = "overview-link head-submenu" > {{lang.menu_links.hapservers.link}}< / a > < / li >
< li > < a href = "/app/config.py?service=haproxy" title = "{{lang.menu_links.config.haproxy.title}}" class = "edit head-submenu" > {{lang.menu_links.config.link}}< / a > < / li >
< li > < a href = "/app/statsview.py?service=haproxy" title = "{{lang.menu_links.stats.haproxy.title}}" class = "stats head-submenu" > {{lang.menu_links.stats.link}}< / a > < / li >
< li > < a href = "/app/logs.py?service=haproxy" title = "HAProxy {{lang.menu_links.logs.title}}" class = "logs head-submenu" > {{lang.menu_links.logs.link}}< / a > < / li >
2022-09-02 14:12:28 +00:00
< li > < a href = "/app/runtimeapi.py" title = "Runtime API" class = "runtime head-submenu" > Runtime API< / a > < / li >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/metrics.py?service=haproxy" title = "HAProxy {{lang.menu_links.metrics.title}}" class = "metrics head-submenu" > {{lang.menu_links.metrics.link}}< / a > < / li >
2020-09-17 05:26:54 +00:00
{% if role < = 3 %}
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/add.py#proxy" title = "{{lang.menu_links.add_proxy.title}}" class = "add-proxy head-submenu" id = "add1" > {{lang.menu_links.add_proxy.link}}< / a > < / li >
< li > < a href = "/app/versions.py?service=haproxy" title = "{{lang.menu_links.versions.haproxy.title}}" class = "version head-submenu" > {{lang.menu_links.versions.link}}< / a > < / li >
< li > < a href = "/app/add.py#ssl" title = "{{lang.menu_links.ssl.title}}" class = "cert head-submenu" id = "add3" > {{lang.menu_links.ssl.link}}< / a > < / li >
< li > < a href = "/app/add.py#lists" title = "{{lang.menu_links.lists.title}}" class = "lists head-submenu" id = "add7" > {{lang.menu_links.lists.link}}< / a > < / li >
2022-07-30 17:00:36 +00:00
< li > < a href = "/app/waf.py?service=haproxy" title = "Web application firewall" class = "waf-menu head-submenu" > WAF< / a > < / li >
2018-05-07 19:09:56 +00:00
{% endif %}
2019-01-23 15:38:27 +00:00
< / ul >
2018-05-07 19:09:56 +00:00
< / li >
2021-08-15 09:02:12 +00:00
{% endif %}
{% if '2' in user_services %}
2020-08-08 20:54:53 +00:00
< li class = "p_menu" >
2023-02-13 14:45:45 +00:00
< a href = "/app/hapservers.py?service=nginx" title = "{{lang.menu_links.hapservers.nginx.title}}" class = "nginx-menu" > NGINX< / a >
2020-08-08 20:54:53 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/hapservers.py?service=nginx" title = "{{lang.menu_links.hapservers.nginx.title}}" class = "overview-link head-submenu" > {{lang.menu_links.hapservers.link}}< / a > < / li >
< li > < a href = "/app/config.py?service=nginx" title = "{{lang.menu_links.config.nginx.title}}" class = "edit head-submenu" > {{lang.menu_links.config.link}}< / a > < / li >
< li > < a href = "/app/statsview.py?service=nginx" title = "{{lang.menu_links.stats.nginx.title}}" class = "stats head-submenu" > {{lang.menu_links.stats.link}}< / a > < / li >
< li > < a href = "/app/logs.py?service=nginx" title = "NGINX {{lang.menu_links.logs.title}}" class = "logs head-submenu" > {{lang.menu_links.logs.link}}< / a > < / li >
< li > < a href = "/app/metrics.py?service=nginx" title = "NGINX {{lang.menu_links.metrics.title}}" class = "metrics head-submenu" > {{lang.menu_links.metrics.link}}< / a > < / li >
2020-09-17 05:26:54 +00:00
{% if role < = 3 %}
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/add_nginx.py#proxy" title = "{{lang.menu_links.add_proxy.title}}" class = "add-proxy head-submenu" > {{lang.menu_links.add_proxy.link}}< / a > < / li >
< li > < a href = "/app/versions.py?service=nginx" title = "{{lang.menu_links.versions.nginx.title}}" class = "version head-submenu" > {{lang.menu_links.versions.link}}< / a > < / li >
< li > < a href = "/app/add.py?service=nginx#ssl" title = "{{lang.menu_links.ssl.title}}" class = "cert head-submenu" > {{lang.menu_links.ssl.link}}< / a > < / li >
2022-08-02 08:53:32 +00:00
< li > < a href = "/app/waf.py?service=nginx" title = "Web application firewall" class = "waf-menu head-submenu" > WAF< / a > < / li >
2020-08-08 20:54:53 +00:00
{% endif %}
< / ul >
< / li >
2021-08-15 09:02:12 +00:00
{% endif %}
2022-04-15 09:49:00 +00:00
{% if '4' in user_services %}
< li class = "p_menu" >
2023-02-13 14:45:45 +00:00
< a href = "/app/hapservers.py?service=apache" title = "{{lang.menu_links.hapservers.apache.title}}" class = "apache-menu" > Apache< / a >
2022-04-15 09:49:00 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/hapservers.py?service=apache" title = "{{lang.menu_links.hapservers.apache.title}}" class = "overview-link head-submenu" > {{lang.menu_links.hapservers.link}}< / a > < / li >
< li > < a href = "/app/config.py?service=apache" title = "{{lang.menu_links.config.apache.title}}" class = "edit head-submenu" > {{lang.menu_links.config.link}}< / a > < / li >
< li > < a href = "/app/statsview.py?service=apache" title = "{{lang.menu_links.stats.apache.title}}" class = "stats head-submenu" > {{lang.menu_links.stats.link}}< / a > < / li >
< li > < a href = "/app/logs.py?service=apache" title = "Apache {{lang.menu_links.logs.title}}" class = "logs head-submenu" > {{lang.menu_links.logs.link}}< / a > < / li >
< li > < a href = "/app/metrics.py?service=apache" title = "Apache {{lang.menu_links.metrics.title}}" class = "metrics head-submenu" > {{lang.menu_links.metrics.link}}< / a > < / li >
2022-04-15 09:49:00 +00:00
{% if role < = 3 %}
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/versions.py?service=apache" title = "{{lang.menu_links.versions.apache.title}}" class = "version head-submenu" > {{lang.menu_links.versions.link}}< / a > < / li >
< li > < a href = "/app/add.py?service=apache#ssl" title = "{{lang.menu_links.ssl.title}}" class = "cert head-submenu" id = "add3" > {{lang.menu_links.ssl.link}}< / a > < / li >
2022-04-15 09:49:00 +00:00
{% endif %}
< / ul >
< / li >
{% endif %}
2021-08-15 09:02:12 +00:00
{% if '3' in user_services %}
2018-06-28 05:55:07 +00:00
{% if role < = 2 %}
2020-08-08 20:54:53 +00:00
< li class = "p_menu" >
2023-02-13 14:45:45 +00:00
< a href = "/app/hapservers.py?service=keepalived" title = "{{lang.menu_links.hapservers.keepalived.title}}" class = "ha" > Keepalived< / a >
2020-08-08 20:54:53 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/hapservers.py?service=keepalived" title = "{{lang.menu_links.hapservers.keepalived.title}}" class = "overview-link head-submenu" > {{lang.menu_links.hapservers.link}}< / a > < / li >
< li > < a href = "/app/ha.py" title = "{{lang.menu_links.ha.title}}" class = "keepalived head-submenu" > HA< / a > < / li >
< li > < a href = "/app/config.py?service=keepalived" title = "{{lang.menu_links.config.keepalived.title}}" class = "edit head-submenu" > {{lang.menu_links.config.link}}< / a > < / li >
< li > < a href = "/app/logs.py?service=keepalived" title = "Keepalived {{lang.menu_links.stats.title}}" class = "logs head-submenu" > {{lang.menu_links.logs.link}}< / a > < / li >
< li > < a href = "/app/versions.py?service=keepalived" title = "{{lang.menu_links.versions.keepalived.title}}" class = "version head-submenu keepalived_versions" > {{lang.menu_links.versions.link}}< / a > < / li >
2020-08-08 20:54:53 +00:00
< / ul >
< / li >
{% endif %}
2021-08-15 09:02:12 +00:00
{% endif %}
2020-07-15 04:16:31 +00:00
< li class = "p_menu" >
2023-02-13 14:45:45 +00:00
< a href = "/app/smon.py?action=view" title = "{{lang.menu_links.monitoring.title}}" class = "stats" > {{lang.menu_links.monitoring.link}}< / a >
2020-07-15 04:16:31 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/smon.py?action=view" title = "{{lang.menu_links.monitoring.smon.dashboard}}" class = "overview-link head-submenu" > {{lang.menu_links.monitoring.smon.dashboard}}< / a > < / li >
< li > < a href = "/app/smon.py?action=history" title = "{{lang.menu_links.monitoring.smon.history}}" class = "lists head-submenu" > {{lang.menu_links.monitoring.smon.history}}< / a > < / li >
2020-09-17 05:26:54 +00:00
{% if role < = 3 %}
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/smon.py?action=add" title = "{{lang.menu_links.monitoring.smon.admin}}" class = "edit head-submenu" > {{lang.menu_links.monitoring.smon.admin}}< / a > < / li >
2020-07-15 04:16:31 +00:00
{% endif %}
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/smon.py?action=checker_history" title = "{{lang.menu_links.monitoring.checker_history}}" class = "lists head-submenu" > {{lang.menu_links.monitoring.checker_history}}< / a > < / li >
< li > < a href = "/app/portscanner.py" title = "{{lang.menu_links.monitoring.port_scan}}" class = "port-scanner head-submenu" > {{lang.menu_links.monitoring.port_scan}}< / a > < / li >
< li > < a href = "/app/nettools.py" title = "{{lang.menu_links.monitoring.net_tools}}" class = "net-tools head-submenu" > {{lang.menu_links.monitoring.net_tools}}< / a > < / li >
2020-07-15 04:16:31 +00:00
< / ul >
< / li >
2020-08-08 20:54:53 +00:00
{% if role < = 2 %}
2019-01-23 15:38:27 +00:00
< li class = "p_menu" >
2023-02-13 14:45:45 +00:00
< a href = "/app/servers.py#users" title = "{{lang.menu_links.servers.title}}" class = "runtime" > {{lang.menu_links.servers.link}}< / a >
2019-01-23 15:38:27 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/servers.py#users" title = "{{lang.words.servers|title()}}: {{lang.words.manage|title()}} {{lang.words.users2}}" class = "users head-submenu" > {{lang.words.users|title()}}< / a > < / li >
< li > < a href = "/app/servers.py#servers" title = "{{lang.words.servers|title()}}: {{lang.words.manage|title()}} {{lang.words.servers2}}" class = "runtime servers head-submenu" > {{lang.words.servers|title()}}< / a > < / li >
< li > < a href = "/app/servers.py#ssh" title = "{{lang.words.servers|title()}}: {{lang.words.manage|title()}} SSH {{lang.words.creds2}}" class = "admin ssh head-submenu" > SSH {{lang.words.creds|title()}}< / a > < / li >
< li > < a href = "/app/servers.py#checker" title = "{{lang.words.servers|title()}}: {{lang.words.manage|title()}} Checker" class = "checker head-submenu" > Checker< / a > < / li >
< li > < a href = "/app/servers.py#settings" title = "{{lang.words.servers|title()}}: {{lang.words.manage|title()}} Roxy-WI {{lang.words.settings2}}" class = "settings head-submenu" > {{lang.words.settings|title()}}< / a > < / li >
< li > < a href = "/app/servers.py#installproxy" title = "{{lang.words.servers|title()}}: {{lang.words.proxy|title()}} {{lang.words.services}} {{lang.words.installation}}" class = "hap-menu installproxy head-submenu" > {{lang.words.proxy|title()}} {{lang.words.installation}}< / a > < / li >
< li > < a href = "/app/servers.py#installmon" title = "{{lang.words.servers|title()}}: {{lang.words.monitoring|title()}} {{lang.words.services}} {{lang.words.installation}}" class = "hap1 installmon head-submenu" > {{lang.words.monitoring|title()}} {{lang.words.installation}}< / a > < / li >
< li > < a href = "/app/provisioning.py" title = "{{lang.words.servers|title()}}: {{lang.words.provisioning|title()}}" class = "hap1 head-submenu" > {{lang.words.servers|title()}} {{lang.words.provisioning|title()}}< / a > < / li >
< li > < a href = "/app/servers.py#backup" title = "{{lang.words.servers|title()}}: {{lang.words.backup|title()}} {{lang.words.configs2}}" class = "backup head-submenu" > {{lang.words.backup|title()}}< / a > < / li >
< li > < a href = "/app/viewlogs.py?type=2" title = "{{lang.words.servers|title()}}: {{lang.words.view|title()}} {{lang.words.internal2}} {{lang.words.logs2}}" class = "logs head-submenu" > {{lang.words.internal|title()}} {{lang.words.logs}}< / a > < / li >
2019-01-23 15:38:27 +00:00
< / ul >
2018-06-28 05:55:07 +00:00
< / li >
2018-05-05 12:40:41 +00:00
{% endif %}
{% if role < = 1 %}
2022-11-28 07:47:18 +00:00
< li class = "p_menu" id = "admin-area" >
2023-02-13 14:45:45 +00:00
< a href = "/app/users.py#users" title = "{{lang.menu_links.admin_area.title}}" class = "admin" > {{lang.menu_links.admin_area.link}}< / a >
2019-01-23 15:38:27 +00:00
< ul class = "v_menu" >
2023-02-13 14:45:45 +00:00
< li > < a href = "/app/users.py#users" title = "{{lang.words.admin_area|title()}}: {{lang.words.manage|title()}} {{lang.words.users2}}" class = "users head-submenu" id = "admin-area-users" > {{lang.words.users|title()}}< / a > < / li >
< li > < a href = "/app/users.py#groups" title = "{{lang.words.admin_area|title()}}: {{lang.words.manage|title()}} {{lang.words.groups3}}" class = "group groups head-submenu" id = "admin-area-groups" > {{lang.words.groups|title()}}< / a > < / li >
< li > < a href = "/app/users.py#servers" title = "{{lang.words.admin_area|title()}}: {{lang.words.manage|title()}} {{lang.words.servers2}}" class = "runtime servers head-submenu" id = "admin-area-servers" > {{lang.words.servers|title()}}< / a > < / li >
< li > < a href = "/app/users.py#ssh" title = "{{lang.words.admin_area|title()}}: {{lang.words.manage|title()}} SSH {{lang.words.creds2}}" class = "admin ssh head-submenu" id = "admin-area-ssh" > SSH {{lang.words.creds|title()}}< / a > < / li >
< li > < a href = "/app/users.py#checker" title = "{{lang.words.admin_area|title()}}: Checker" class = "checker head-submenu" id = "admin-area-checker" > Checker< / a > < / li >
< li > < a href = "/app/users.py#settings" title = "{{lang.words.admin_area|title()}}: {{lang.words.manage|title()}} Roxy-WI {{lang.words.settings2}}" class = "settings head-submenu" id = "admin-area-settings" > {{lang.words.settings|title()}}< / a > < / li >
< li > < a href = "/app/users.py#services" title = "{{lang.words.admin_area|title()}}: {{lang.words.manage|title()}} Roxy-WI {{lang.words.services3}}" class = "services head-submenu" id = "admin-area-services" > {{lang.words.services|title()}}< / a > < / li >
< li > < a href = "/app/viewlogs.py" title = "{{lang.words.admin_area|title()}}: {{lang.words.view|title()}} {{lang.words.internal2}} {{lang.words.logs2}}" class = "logs head-submenu" id = "admin-area-logs" > {{lang.words.internal|title()}} {{lang.words.logs}}< / a > < / li >
< li > < a href = "/app/users.py#updatehapwi" title = "{{lang.words.admin_area|title()}}: {{lang.words.w_update|title()}} Roxy-WI" class = "upload updatehapwi head-submenu" id = "admin-area-update" > {{lang.words.w_update|title()}}< / a > < / li >
2019-01-23 15:38:27 +00:00
< / ul >
2018-05-05 12:40:41 +00:00
< / li >
{% endif %}
{% endif %}
< / ul >
< / nav >
< / div >
< / div >
< div class = "container" >
{% if h2 %}
< h2 >
2023-02-13 14:45:45 +00:00
{% block h2 %}{% endblock %}
2019-10-25 07:18:57 +00:00
{% include 'include/login.html' %}
2018-05-05 12:40:41 +00:00
{% if autorefresh %}
< span class = "auto-refresh" >
< a onclick = "pauseAutoRefresh()" class = "auto-refresh-pause" style = "display: none; margin-top: 4px;" > < / a >
< a onclick = "pauseAutoResume()" class = "auto-refresh-resume" style = "display: none; margin-top: 4px;" > < / a >
2023-02-13 14:45:45 +00:00
< span id = "0" class = "auto-refresh-span" >
< span class = "auto-refresh-reload auto-refresh-reload-icon" > < / span >
{{lang.words.auto|title()}}-{{lang.words.refresh}}
< / span >
< span id = "1" style = "display: none;" class = "auto-refresh-span" >
< span class = "auto-refresh-reload auto-refresh-reload-icon" > < / span >
{{lang.words.auto|title()}}-{{lang.words.refresh}}
< / span >
2018-05-05 12:40:41 +00:00
< / span >
{% endif %}
< / h2 >
{% endif %}
{% if autorefresh %}
< div class = "auto-refresh-div" >
< div class = "auto-refresh-head" >
2023-02-13 14:45:45 +00:00
{{lang.words.refresh|title()}} {{lang.words.interval|title()}}
2018-05-05 12:40:41 +00:00
< / div >
< div class = "auto-refresh-interval" >
< div class = "auto-refresh-ul" >
2021-09-14 06:02:05 +00:00
< ul style = "width: 130px;" >
2018-05-05 12:40:41 +00:00
< li >
2023-02-13 14:45:45 +00:00
< a class = "ui-button ui-widget ui-corner-all" onclick = "setRefreshInterval(0)" title = "Turn off auto-refresh" > {{lang.words.no|title()}} {{lang.words.auto}}-{{lang.words.refresh}}< / a >
2018-05-05 12:40:41 +00:00
< / li >
< / ul >
< / div >
< div class = "auto-refresh-ul" id = "secIntervals" >
2020-07-02 14:44:13 +00:00
< ul style = "width: 100px;" >
2023-02-13 14:45:45 +00:00
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 5 {{lang.words.seconds2}}" onclick = "setRefreshInterval(5000)" > 5 {{lang.words.seconds2}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 10 {{lang.words.seconds2}}" onclick = "setRefreshInterval(10000)" > 10 {{lang.words.seconds2}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 30 {{lang.words.seconds2}}" onclick = "setRefreshInterval(30000)" > 30 {{lang.words.seconds2}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 45 {{lang.words.seconds2}}" onclick = "setRefreshInterval(45000)" > 45 {{lang.words.seconds2}}< / a > < / li >
2018-05-05 12:40:41 +00:00
< / ul >
< / div >
< div class = "auto-refresh-ul" >
2020-07-02 14:44:13 +00:00
< ul style = "width: 100px;" >
2023-02-13 14:45:45 +00:00
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every2}} 1 minute" onclick = "setRefreshInterval(60000)" > 1 {{lang.words.minute}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 5 {{lang.words.minutes}}" onclick = "setRefreshInterval(300000)" > 5 {{lang.words.minutes}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 15 {{lang.words.minutes}}" onclick = "setRefreshInterval(900000)" > 15 {{lang.words.minutes}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 30 {{lang.words.minutes}}" onclick = "setRefreshInterval(1800000)" > 30 {{lang.words.minutes}}< / a > < / li >
2018-05-05 12:40:41 +00:00
< / ul >
< / div >
< div class = "auto-refresh-ul" >
2020-07-02 14:44:13 +00:00
< ul style = "width: 100px;" >
2023-02-13 14:45:45 +00:00
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every3}} 1 {{lang.words.hour}}" onclick = "setRefreshInterval(3600000)" > 1 {{lang.words.hour}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 2 {{lang.words.hours}}" onclick = "setRefreshInterval(7200000)" > 2 {{lang.words.hours}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every}} 12 {{lang.words.hours}}" onclick = "setRefreshInterval(43200000)" > 12 {{lang.words.hours2}}< / a > < / li >
< li > < a title = "{{lang.words.auto|title()}}-{{lang.words.refresh}} {{lang.words.every3}} 1 {{lang.words.day}}" onclick = "setRefreshInterval(86400000)" > 1 {{lang.words.day}}< / a > < / li >
2018-05-05 12:40:41 +00:00
< / ul >
< / div >
< / div >
< / div >
{% endif %}
2019-12-01 17:15:09 +00:00
{% if h2 %}
2019-12-04 05:43:03 +00:00
< ul id = 'browse_histroy' > < / ul >
2019-12-01 17:15:09 +00:00
{% endif %}
2018-08-28 10:45:09 +00:00
{% if role %}
{% if role < = 2 %}
< div id = "apply" style = "display: none;" >
< div class = "alert alert-warning" id = "apply_div" > < / div >
< / div >
{% endif %}
{% endif %}
2018-05-05 12:40:41 +00:00
{% block content %}{% endblock %}
< div id = "ajax-compare" > < / div >
2019-10-25 07:18:57 +00:00
< div id = "ajax" > < / div >
2019-09-14 08:13:45 +00:00
< / div >
2019-10-04 06:23:48 +00:00
< div id = "show-updates" style = "display: none;" >
< div >
2023-03-03 20:03:41 +00:00
{{lang.phrases.new_version}} < a href = "/app/users.py#updatehapwi" class = "link" > {{lang.words.w_update|title()}}< / a >
2019-10-04 06:23:48 +00:00
< / div >
< / div >
2019-09-20 06:42:19 +00:00
< div class = "footer" >
2023-02-13 14:45:45 +00:00
< a href = "#" id = "hide_menu" title = "{{lang.words.hide|title()}} {{lang.words.menu}}" style = "float: left;" >
2019-09-20 06:42:19 +00:00
< span class = "ui-state-default ui-corner-all" >
< span class = "ui-icon ui-icon-arrowthick-1-w" id = "arrow" > < / span >
< / span >
< / a >
< div class = "show_menu" style = "display: none; float: left;" >
2023-02-13 14:45:45 +00:00
< a href = "#" id = "show_menu" title = "{{lang.words.show|title()}} {{lang.words.menu}}" >
2019-10-04 06:23:48 +00:00
< span class = "ui-state-default ui-corner-all" >
< span class = "ui-icon ui-icon-arrowthick-1-e" id = "arrow" > < / span >
< / span >
< / a >
< / div >
2021-01-18 16:21:51 +00:00
< div id = "version" > < / div >
2019-10-04 06:23:48 +00:00
< div id = "logo_footer" >
2021-07-01 07:19:23 +00:00
< a href = "https://roxy-wi.org" title = "Roxy-WI official site" target = "_blank" >
2019-10-04 06:23:48 +00:00
< img src = "/inc/images/logo_footer.png" alt = "logo" id = "logo_footer_img" / >
< / a >
< / div >
2019-09-20 06:42:19 +00:00
< div class = "footer-div" >
2022-11-28 07:47:18 +00:00
< div id = "useful-links" >
2023-02-13 14:45:45 +00:00
< a href = "https://roxy-wi.org" class = "footer-link" target = "_blank" title = "{{lang.words.about|title()}} Roxy-WI" > {{lang.words.about|title()}}< / a >
< a href = "https://github.com/hap-wi/roxy-wi/issues" class = "footer-link" target = "_blank" title = "Community help" > {{lang.words.help|title()}}< / a >
2022-11-28 07:47:18 +00:00
< a href = "https://sd.roxy-wi.org" class = "footer-link" target = "_blank" title = "Service Desk" > SD< / a >
2023-02-13 14:45:45 +00:00
< a href = "https://roxy-wi.org/contacts" class = "footer-link" target = "_blank" > {{lang.words.contacts|title()}}< / a >
< a href = "https://roxy-wi.org/cabinet" class = "footer-link" target = "_blank" title = "Private cabinet" > {{lang.words.cabinet|title()}}< / a >
< a href = "https://roxy-wi.org/legal" class = "footer-link" target = "_blank" title = "Legal Note" > {{lang.words.legal|title()}}< / a >
2022-11-28 07:47:18 +00:00
< / div >
2019-09-20 06:42:19 +00:00
< / div >
< / div >
2021-02-02 07:53:19 +00:00
< div id = "show-user-settings" >
2023-02-13 14:45:45 +00:00
< table class = "overview" id = "show-user-settings-table" title = "{{lang.words.user3|title()}} {{lang.words.settings}}" >
2021-02-02 07:53:19 +00:00
< tr >
2023-02-13 14:45:45 +00:00
< td class = "padding20" style = "width: 70%" > {{lang.words.alerts|title()}}< / td >
2021-08-21 18:21:22 +00:00
< td >
< select id = "disable_alerting" >
2023-02-13 14:45:45 +00:00
< option value = "0" title = "{{lang.phrases.all_alerts_enabled}}" > {{lang.phrases.all_alerts_enabled}}< / option >
< option value = "1" > {{lang.phrases.disable_alerts}}< / option >
< / select >
< / td >
< / tr >
< tr class = "padding20" >
< td class = "padding20" > {{lang.words.language|title()}}< / td >
< td >
< select id = "lang_select" >
{% if lang.lang_short == 'ru' %}
< option value = "en" title = "English" > English< / option >
< option value = "ru" title = "Русский" selected > Русский< / option >
2023-03-03 20:03:41 +00:00
< option value = "fr" title = "Français" > Français< / option >
{% elif lang.lang_short == 'fr' %}
< option value = "en" title = "English" > English< / option >
< option value = "ru" title = "Русский" > Русский< / option >
< option value = "fr" title = "Français" selected > Français< / option >
2023-02-13 14:45:45 +00:00
{% else %}
< option value = "en" title = "English" selected > English< / option >
< option value = "ru" title = "Русский" > Русский< / option >
2023-03-03 20:03:41 +00:00
< option value = "fr" title = "Français" > Français< / option >
2023-02-13 14:45:45 +00:00
{% endif %}
2021-08-21 18:21:22 +00:00
< / select >
< / td >
2021-02-02 07:53:19 +00:00
< / tr >
2022-02-16 07:46:30 +00:00
< tr id = "show-user-settings-group" > < / tr >
2021-02-02 07:53:19 +00:00
< / table >
< / div >
2022-11-09 16:47:59 +00:00
< div id = "statistic" style = "display: none;" >
2022-11-09 19:05:47 +00:00
< div style = "font-size: 1em;font-weight: bold;padding-top: 10px;" id = "statistic-body" > < / div >
2020-05-10 06:17:07 +00:00
< / div >
2022-02-16 07:46:30 +00:00
{% include 'include/change_pass_form.html' %}
2018-05-05 12:40:41 +00:00
< / body >
2019-09-11 06:05:57 +00:00
< / html >