☎️ Web interface for viewing and processing Asterisk call logs (2020)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.6 KiB

2 years ago
extends root
mixin category(categoryName)
.category
h1.header= categoryName
block
mixin subcat()
.subcat
.subcat-line
.content
block
mixin collection(name, id, isMoveable = false)
.collection
span.name= name
.content
.items
.buttons
+button("Добавить", "collection-btn-add")
+button("Изменить", "collection-btn-edit")
if isMoveable
+button("На уровень выше", "collection-btn-moveup")
+button("На уровень ниже", "collection-btn-movedown")
+button("Удалить", "collection-btn-remove")
append styles
link(rel='stylesheet' href='/public/css/settings.css')
append scripts
script(src='/public/js/settings.js')
block data
.settings
+category("Звонки")
+collection("Категории звонков")
+collection("Хорошо известные номера")
+category("Системные настройки")
+checkbox("Включить AMI", "setting-enable-ami")
+textbox("Адрес AMI", "setting-ami-address")
+subcat()
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+subcat()
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+checkbox("Включить Originate API", "setting-enable-originate")
+button("Сохранить", "save-settings", "save")
append windows
+window('call-category-form')
.header Добавить категорию звонков
+textbox("Название", "call-category", 'column')
.buttons
+button("ОК", "call-category-confirm")
+button("Отмена", "call-category-cancel")