[vhffs-dev] [1831] Ooops forgot to add stats template

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1831
Author:   beuss
Date:     2011-05-31 22:04:07 +0200 (Tue, 31 May 2011)
Log Message:
-----------
Ooops forgot to add stats template

Added Paths:
-----------
    trunk/vhffs-panel/templates/admin/misc/stats.tt

Added: trunk/vhffs-panel/templates/admin/misc/stats.tt
===================================================================
--- trunk/vhffs-panel/templates/admin/misc/stats.tt	                        (rev 0)
+++ trunk/vhffs-panel/templates/admin/misc/stats.tt	2011-05-31 20:04:07 UTC (rev 1831)
@@ -0,0 +1,100 @@
+<h1>[% 'Platform statistics' | i18n | html %]</h1>
+
+<h2>[% 'Users' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Total users count:' | i18n | html %] [% users_count %]</li>
+	<li>[% 'Administrators:' | i18n | html %] [% administrators_count %]</li>
+	<li>[% 'Moderators:' | i18n | html %] [% moderators_count %]</li>
+</ul>
+
+
+<h2>[% 'Groups' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Total groups count:' | i18n | html %] [% groups_count %]</li>
+	<li>[% 'Activated groups:' | i18n | html %] [% activated_groups_count %]</li>
+</ul>
+
+
+<h2>[% 'Webareas' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Webarea waiting for moderation:' | i18n | html %] [% waiting_web_count %]</li>
+	<li>[% 'Activated webareas:' | i18n | html %] [% activated_web_count %]</li>
+</ul>
+
+
+<h2>[% 'DNS' | i18n | html %]</h2>
+<ul>
+	<li>[% 'DNS waiting for moderation:' | i18n | html %] [% waiting_dns_count %]</li>
+	<li>[% 'Activated DNS:' | i18n | html %] [% activated_dns_count %]</li>
+</ul>
+
+
+<h2>[% 'CVS repositories' | i18n | html %]</h2>
+<ul>
+	<li>[% 'CVS waiting for moderation:' | i18n | html %] [% waiting_cvs_count %]</li>
+	<li>[% 'Activated CVS:' | i18n | html %] [% activated_cvs_count %]</li>
+</ul>
+
+
+<h2>[% 'Subversion repositories' | i18n | html %]</h2>
+<ul>
+	<li>[% 'SVN waiting for moderation:' | i18n | html %] [% waiting_svn_count %]</li>
+	<li>[% 'Activated SVN:' | i18n | html %] [% activated_svn_count %]</li>
+</ul>
+
+<h2>[% 'Git repositories' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Git waiting for moderation:' | i18n | html %] [% waiting_git_count %]</li>
+	<li>[% 'Activated Git:' | i18n | html %] [% activated_git_count %]</li>
+</ul>
+
+<h2>[% 'Mercurial repositories' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Mercurial waiting for moderation:' | i18n | html %] [% waiting_mercurial_count %]</li>
+	<li>[% 'Activated Mercurial:' | i18n | html %] [% activated_mercurial_count %]</li>
+</ul>
+
+<h2>[% 'Bazaar repositories' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Bazaar waiting for moderation:' | i18n | html %] [% waiting_bazaar_count %]</li>
+	<li>[% 'Activated Bazaar:' | i18n | html %] [% activated_bazaar_count %]</li>
+</ul>
+
+<h2>[% 'Mail domains' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Mail domains waiting for moderation:' | i18n | html %] [% waiting_mail_domains_count %]</li>
+	<li>[% 'Activated mail domains:' | i18n | html %] [% activated_mail_domains_count %]</li>
+	<li>[% 'Mail boxes:' | i18n | html %] [% mail_boxes_count %]</li>
+	<li>[% 'Forwards:' | i18n | html %] [% mail_forwards_count %]</li>
+</ul>
+
+<h2>[% 'MySQL databases' | i18n | html %]</h2>
+<ul>
+	<li>[% 'MySQL DBs waiting for moderation:' | i18n | html %] [% waiting_mysql_count %]</li>
+	<li>[% 'Activated MySQL DBs:' | i18n | html %] [% activated_mysql_count %]</li>
+</ul>
+
+<h2>[% 'PostgreSQL databases' | i18n | html %]</h2>
+<ul>
+	<li>[% 'PostgreSQL DBs waiting for moderation:' | i18n | html %] [% waiting_pgsql_count %]</li>
+	<li>[% 'Activated PostgreSQL DBs:' | i18n | html %] [% activated_pgsql_count %]</li>
+</ul>
+
+<h2>[% 'Mailing lists' | i18n | html %]</h2>
+<ul>
+	<li>[% 'Lists waiting for moderation:' | i18n | html %] [% waiting_ml_count %]</li>
+    <li>[% 'Activated lists:' | i18n | html %] [% activated_ml_count %]</li>
+    <li>[% 'Overall subscribers count:' | i18n | html %] [% ml_subscribers_count %]</li>
+</ul>
+
+<h2>[% 'Tags' | i18n | html %]</h2>
+<ul>
+        <li>[% 'Categories:' | i18n | html %] [% tag_categories_count %]</li>
+        <li>[% 'Used tags/existing:' | i18n | html %] [% used_tags_count %]/[% total_tags_count %]</li>
+        <li>[% 'Tagged groups:' | i18n | html %] [% tagged_groups_count %]/[% activated_groups_count %]</li>
+        <li>[% 'Max tags for a group:' | i18n | html %] [% max_tags_count %]</li>
+[% IF top10_tags.size() > 0 %]
+        <li>[% '10 most used tags:' | i18n | html %]: [% FOREACH t IN top10_tags %][% t.category %]::[% t.tag_label %] ([% t.nb_groups %])[% ', ' UNLESS loop.last() %][% END %]</li>
+[% END %]
+</ul>
+


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/