From fc89ff35a508264aab61ee0ec036c6ba9ed879d0 Mon Sep 17 00:00:00 2001 From: lsces Date: Sun, 7 Feb 2016 22:08:21 +0000 Subject: Bootstrap form class --- templates/admin_quota.tpl | 20 ++++++++++---------- templates/quota_inc.tpl | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/admin_quota.tpl b/templates/admin_quota.tpl index fc20233..d3d994c 100644 --- a/templates/admin_quota.tpl +++ b/templates/admin_quota.tpl @@ -5,14 +5,14 @@ {formfeedback error=$errors.group} -
+
{formlabel label="Group" for=""} {forminput} {tr}Quota{/tr} {/forminput}
{foreach item=grp key=groupId from=$systemGroups} -
+
{formlabel label=$grp.group_name for=""} {forminput} {$groupQuota.$groupId} @@ -20,8 +20,8 @@
{/foreach} -
- +
+
{/form} @@ -46,7 +46,7 @@ {form legend="Edit `$editLabel`"} -
+
{formfeedback error=$errors.title} {formlabel label="Quota Title" for="title"} {forminput} @@ -54,7 +54,7 @@ {formhelp note="This title is used to identify the quota limitations when you assign them to users and groups."} {/forminput}
-
+
{formfeedback error=$errors.disk_usage} {formlabel label="Disk Usage" for="disk_usage"} {forminput} @@ -62,7 +62,7 @@ {formhelp note="Please enter the desired value in MegaBytes."} {/forminput}
-
+
{formfeedback error=$errors.monthly_transfer} {formlabel label="Monthly Transfer" for="monthly_transfer"} {forminput} @@ -71,9 +71,9 @@ {/forminput}
-
-   - +
+   +
{/form} {/if} diff --git a/templates/quota_inc.tpl b/templates/quota_inc.tpl index f991629..79075a2 100644 --- a/templates/quota_inc.tpl +++ b/templates/quota_inc.tpl @@ -5,21 +5,21 @@ {else} {formfeedback error=$errors.disk_quota} -
+
{formlabel label="Your disk quota"} {forminput} {formfeedback note="$quota MB"} {/forminput}
-
+
{formlabel label="Your current usage"} {forminput} {formfeedback note="$usage MB ( `$quotaPercent`% )"} {/forminput}
-
+
{$quotaPercent}%
-- cgit v1.3