From patchwork Thu Dec 2 12:37:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 4884 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4J4b8S64V9z3wtP for ; Thu, 2 Dec 2021 12:38:00 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4J4b8Q12G8z3p6; Thu, 2 Dec 2021 12:37:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4J4b8P3G82z30J3; Thu, 2 Dec 2021 12:37:57 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4J4b8M5vG6z2xSB for ; Thu, 2 Dec 2021 12:37:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4J4b8M4xHmz1X5; Thu, 2 Dec 2021 12:37:55 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1638448675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gXpQ6GyM53hIgXs8HLMumgWzs13AkZ++bP9z2sVd8n8=; b=Fja6wW5PAO34SPFNqS9i1DAUwqku7Er9aGtbI+cCR1/ScsiL4xUiOObQ5WQ6QI4f8H4zrB znb1TgMUNVQiupBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1638448675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gXpQ6GyM53hIgXs8HLMumgWzs13AkZ++bP9z2sVd8n8=; b=TjIzbmL5y6b8uo68O9ZVgcrkUpA8Vme91z3+w/+76N+8BLNuTGhYepcUBnMIrELbz/4NT6 lvOGe9fr/IfTMMsRWqubKJwHx385FrCfhBLxAZJzl5rYowfvzU5ImsoL19keEWKRqPnLlF TnghKStbK5s5DyeOVPPr0+RjY8dzOKfIwtkm1c6RH8ywPDw8HyQGTNRXOK4N7YT4Hr/58W jUQM48zKMxmfPQKSZJHe49iX5D9SfE2q+Hds353oOtDlyik+CFK6xhQ2a1x6QFlDUQ+e1i MwY9+ce1DADB4otiYb1AHyaQ97K9jO7vGe9qaYhQl4AMFQnIusHOZfOpUH1RXQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [RFC PATCH 5/8] qos.cgi: Reindent change bandwidth window Date: Thu, 2 Dec 2021 12:37:45 +0000 Message-Id: <20211202123748.2525617-5-michael.tremer@ipfire.org> In-Reply-To: <20211202123748.2525617-1-michael.tremer@ipfire.org> References: <20211202123748.2525617-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- html/cgi-bin/qos.cgi | 45 ++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi index eb4b2e637..a26617edd 100644 --- a/html/cgi-bin/qos.cgi +++ b/html/cgi-bin/qos.cgi @@ -749,26 +749,43 @@ END sub changebandwidth { &Header::openbox('100%', 'center', $Lang::tr{'bandwidthsettings'}); + if ($qossettings{'ENABLED'} eq 'on') { print "$Lang::tr{'bandwidtherror'}"; print "$Lang::tr{'back'}"; } else { - print < - - - - - - - - -
$Lang::tr{'down and up speed'}
$Lang::tr{'downlink speed'}:

$Lang::tr{'uplink speed'}:
- - $Lang::tr{'template warning'} + print < + + + + + + + + + + + + + + +
$Lang::tr{'down and up speed'}
$Lang::tr{'downlink speed'}: + + + +
+ +
+ +
$Lang::tr{'uplink speed'}: + +
+ + $Lang::tr{'template warning'} END -; } + &Header::closebox(); }