From patchwork Tue Oct 27 13:19:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= X-Patchwork-Id: 301855 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 155CAC55179 for ; Tue, 27 Oct 2020 13:22:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4132220719 for ; Tue, 27 Oct 2020 13:22:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QTNGM7km" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4132220719 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXOve-00041h-1N for qemu-devel@archiver.kernel.org; Tue, 27 Oct 2020 09:22:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXOtq-0002Ae-9R for qemu-devel@nongnu.org; Tue, 27 Oct 2020 09:20:30 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:30808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kXOtl-0005te-S7 for qemu-devel@nongnu.org; Tue, 27 Oct 2020 09:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603804823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zI3QNdOQDTTCPpFRlUjcyHB+JuN00F8a4KDfDydPSaY=; b=QTNGM7km7PLJyZP42DqPsXLmwYvOSUkCdeQgAXiuVHEYoqc8dYEBgqJXYguAJtWo1f/G4g ap+LfWv7VLtM+H7DaKGi3m2id8lKCJEiZx/Pzmpooli5xLarEM+3yy6trlVqjsss8Mb7jC WCqv/ogL0QPQioXVeg9MG2CT6vgDJO0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-250-zjPaGq4eP-qrtMTlmckgvA-1; Tue, 27 Oct 2020 09:20:18 -0400 X-MC-Unique: zjPaGq4eP-qrtMTlmckgvA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 80EB61084D69 for ; Tue, 27 Oct 2020 13:20:17 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-115-46.ams2.redhat.com [10.36.115.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id 428C21992F; Tue, 27 Oct 2020 13:20:16 +0000 (UTC) From: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= To: qemu-devel@nongnu.org Subject: [qemu-web PATCH v2 00/16] Re-design the QEMU home page to better present information Date: Tue, 27 Oct 2020 13:19:59 +0000 Message-Id: <20201027132015.621733-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=berrange@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=63.128.21.124; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/27 01:06:07 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Thomas Huth , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This is a v2 of: https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg07025.html This series started off as a desire to add an "Edit page" link to every page on the site. In doing this I felt that the footer would benefit from simplication so that it was not a massive wall of links, duplicating links elsewhere in the navigation or content pages. Then after response to v1, I realized that the home page actually needed alot more design work to better present information to contributors immediately. The key theme was to ensure that the home page of the website has all the important information available on screen without requiring the user to scroll down or otherwise search for it. I also add gitlab CI jobs so that users can push a branch to gitlab and then browse the rendered result. eg see this pipeline: https://gitlab.com/berrange/qemu-web/-/pipelines/208194087 and the rendered result of this series: https://berrange.gitlab.io/qemu-web/ Or browsable at https://gitlab.com/berrange/qemu-web/-/jobs/814392582/artifacts/browse/publ= ic/ Or download ZIP at https://gitlab.com/berrange/qemu-web/-/jobs/814392582/artifacts/download notice how the resulting content needs to cope with being used from a variety of different paths. IOW, we cannot use absolute hyperlinks that assume the root is "/". Jekyll doesn't make this easy, so we use a hack with a custom template that sets a variable we can then reference. The logical next step for this would be to accept merge requests, so that once the user saves their edits in gitlab, they can directly submit a MR, instead of sending via email. I noticed we don't currently have a CONTRIBUTING.md file in qemu-web.git telling people how to submit. So this series includes such a file directing people to send patches via email for now. Daniel P. Berrang=C3=A9 (16): Convert files to UNIX line endings gitlab: introduce a CI job to publish the site content make all links be relative to the root Make page header nav narrower Introduce support for "bxslider" jquery add on Rework display of screenshots to use a carousel slider Compress the two front page headings into one Simplify copyright and integrate into footer Put a full SFC membership blurb in footer of every page Use two column layout to display screenshots and releases Bring contribution links out of the footer into the home page Add recent blog posts to the front page featured content Move wiki link from footer into the header navbar Simplify and restructure the page footer Add link to "page source" for all pages Add a CONTRIBUTING.md file as guidance for contributors .gitlab-ci.yml | 16 + CONTRIBUTING.md | 32 + _config.yml | 1 + _data/screenshots.yml | 14 +- _includes/assets.html | 32 +- _includes/copyright.html | 8 - _includes/footer.html | 33 +- _includes/nav.html | 13 +- _includes/relative_root.html | 12 + _includes/screenshot.html | 8 +- _includes/sidebar.html | 6 +- _layouts/archive.html | 4 +- _layouts/blog.html | 4 +- _layouts/home.html | 2 +- _layouts/page.html | 2 +- assets/css/jquery.bxslider.css | 179 ++++ assets/css/style-desktop.css | 581 ++++++------ assets/css/style-mobile.css | 720 +++++++------- assets/css/style.css | 1252 +++++++++++++------------ assets/js/jquery.bxslider.js | 1607 ++++++++++++++++++++++++++++++++ blog/index.html | 4 +- index.html | 195 ++-- 22 files changed, 3312 insertions(+), 1413 deletions(-) create mode 100644 .gitlab-ci.yml create mode 100644 CONTRIBUTING.md delete mode 100644 _includes/copyright.html create mode 100644 _includes/relative_root.html create mode 100644 assets/css/jquery.bxslider.css create mode 100644 assets/js/jquery.bxslider.js --=20 2.26.2