{% import 'monitoring/utils.html' as utils %} {% macro organization(hint, title) -%} {{ hint }} {{ title }} {% endmacro %} {% macro camera(hint, title) -%} {{ title }} {% endmacro %} {% macro user(hint, title) -%} {{ hint }} {{ title }} {% endmacro %} {% macro agent_serial(serial) -%} {{ serial }} {% endmacro %} {% macro agent_model(model) -%} {{ model }} {% endmacro %} {% macro streamer(hint, title) -%} {{ hint }} {{ title }} {% endmacro %} {% macro preset(hint, title) -%} {{ hint }} {{ title }} {% endmacro %} {% macro folder(hint, title) -%} {{ hint }} {{ title }} {% endmacro %} {% macro domain(hint, title) -%} {{ hint }} {{ title }} {% endmacro %} {% macro dvr_info(dvr_depth, dvr_space, real_dvr_depth, real_dvr_space) -%} {{ utils.s2d(real_dvr_depth) }} / {{ dvr_depth }} days {{ utils.kMGT(real_dvr_space) }} / {{ dvr_space }} G {% endmacro %}