<TMPL_INCLUDE NAME="partial/head.tmpl">
<body>
<TMPL_INCLUDE NAME="partial/logo_navigation.tmpl">
<div id="main">
	<TMPL_INCLUDE NAME="partial/navigation.tmpl">
	<div id="content">
		<div class="page-head">
			<div>
				<h2><TMPL_VAR NAME></h2>

				<TMPL_IF COMPARE>
					<div class="subtitle">
						Compare
						<a href="comparison-day.html">day</a>
						<a href="comparison-week.html">week</a>
						<a href="comparison-month.html">month</a>
						<a href="comparison-year.html">year</a>
					</div>
				</TMPL_IF>

				<div class="subtitle">
					<a id="reduce-all" href="#"><i class="mdi mdi-chevron-double-right"></i> Reduce all</a>
					<a id="expand-all" href="#"><i class="mdi mdi-chevron-double-down"></i> Expand all</a>
				</div>
			</div>
		</div>

		<!-- Domain view -->
		<ul class="domainview treeview-root">
			<TMPL_LOOP GROUPS>
				<li>
					<div class="domain">
						<i class="toggle mdi mdi-chevron-down"></i>
						<a href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
					</div>
					<ul>
						<!-- In each group there are N categories -->
						<TMPL_IF NCATEGORIES>
							<TMPL_LOOP CATEGORIES>
								<li>
									<div class="host">
										<span class="toggle mdi mdi-chevron-down"></span>
										<a href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
									</div>
									<ul>
										<!-- And in each categroy there are M services -->
										<TMPL_LOOP SERVICES>
											<li>
												<div class="service">
													<a
														<TMPL_IF STATE_WARNING>class="warn"</TMPL_IF>
														<TMPL_IF STATE_CRITICAL>class="crit"</TMPL_IF>
														href="<TMPL_VAR URLX>"
													>
														<TMPL_VAR ESCAPE="HTML" NAME>
													</a>
												</div>
											</li>
										</TMPL_LOOP><!-- SERVICES -->
									</ul>
								</li>
							</TMPL_LOOP><!--CATEGORIES -->
						</TMPL_IF><!-- NCATEGORIES -->
						<TMPL_IF NGROUPS>
							<!-- GROUPS Listing level 2 -->
							<TMPL_LOOP GROUPS>
								<li>
									<div class="domain">
										<span class="toggle mdi mdi-chevron-down"></span>
										<a href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
									</div>
									<ul>
										<TMPL_IF NCATEGORIES>
											<TMPL_LOOP CATEGORIES>
												<li>
													<div class="host">
														<span class="toggle mdi mdi-chevron-down"></span>
														<a href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
													</div>
													<ul>
														<TMPL_LOOP SERVICES>
															<li>
																<div class="service">
																	<a <TMPL_IF STATE_WARNING>class="warn"</TMPL_IF> <TMPL_IF STATE_CRITICAL>class="crit"</TMPL_IF> href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
																</div>
															</li>
														</TMPL_LOOP>
													</ul>
												</li>
											</TMPL_LOOP>
										</TMPL_IF>
										<TMPL_IF NGROUPS><!-- NGROUPS level 3 -->
											<TMPL_LOOP GROUPS><!-- GROUPS Listing level 3 -->
												<li>
													<div class="domain">
														<span class="toggle mdi mdi-chevron-down"></span>
														<a href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
													</div>
													<ul>
														<!-- In each group N categories and so on -->
														<TMPL_IF NCATEGORIES>
															<TMPL_LOOP CATEGORIES>
																<li>
																	<div class="host">
																		<span class="toggle mdi mdi-chevron-down"></span>
																		<a href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
																	</div>
																	<ul>
																		<!-- And in each catrgory there are services -->
																		<TMPL_LOOP SERVICES>
																			<li>
																				<div class="service">
																					<a <TMPL_IF STATE_WARNING>class="warn"</TMPL_IF> <TMPL_IF STATE_CRITICAL>class="crit"</TMPL_IF> href="<TMPL_VAR URLX>"><TMPL_VAR ESCAPE="HTML" NAME></a>
																				</div>
																			</li>
																		</TMPL_LOOP><!-- END SERVICES -->
																	</ul>
																</li>
															</TMPL_LOOP><!-- END CATEGORIES -->
														</TMPL_IF>
														<TMPL_IF NGROUPS>
														</TMPL_IF>
													</ul>
												</li>
											</TMPL_LOOP><!-- END GROUPS Listing level 3 -->
										</TMPL_IF><!-- END NGROUPS level 3 -->
									</ul>
								</li>
							</TMPL_LOOP><!-- END GROUPS Listing level 2 -->
						</TMPL_IF><!-- END NGROUPS level 2 -->
					</ul>
				</li>
			</TMPL_LOOP><!--END GROUPS Listing level 1 -->
		</ul>
		<div class="clear"></div>
	</div>
</div>
<a href="#" id="backToTop"><i class="mdi mdi-arrow-up"></i></a>
<TMPL_INCLUDE NAME="partial/footer.tmpl">
<script src="/static/js/munin-domainview.js"></script>
<script src="/static/js/component-treeview.js"></script>
</body>
</html>
