From 70df5e63122cf38d15ec1e35f213261e91890ebb Mon Sep 17 00:00:00 2001 From: Tyson Whitehead Date: Thu, 8 Apr 2021 10:58:02 -0400 Subject: [PATCH] Update button styles as btn-mini is no more --- src/root/build.tt | 6 +++--- src/root/news.tt | 2 +- src/root/overview.tt | 2 +- src/root/product-list.tt | 14 +++++++------- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/root/build.tt b/src/root/build.tt index f6db4fbe..8925e6a1 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -236,9 +236,9 @@ END; Logfile: [% actualLog = cachedBuildStep ? c.uri_for('/build' cachedBuild.id 'nixlog' cachedBuildStep.stepnr) : c.uri_for('/build' build.id 'log') %] - pretty - raw - tail + pretty + raw + tail [% END %] diff --git a/src/root/news.tt b/src/root/news.tt index 1380f48c..c76b8cb2 100644 --- a/src/root/news.tt +++ b/src/root/news.tt @@ -14,7 +14,7 @@ [% INCLUDE renderDateTime timestamp=i.createtime %] [% contents.replace('\n','
\n') %] - [% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('news_delete') i.id) content = "Delete" confirmmsg = "Are you sure you want to delete this news item?" class = "btn btn-mini btn-danger" %] + [% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('news_delete') i.id) content = "Delete" confirmmsg = "Are you sure you want to delete this news item?" class = "btn btn-sm btn-danger" %] [% END %] diff --git a/src/root/overview.tt b/src/root/overview.tt index 0e1a90c1..6042c7bf 100644 --- a/src/root/overview.tt +++ b/src/root/overview.tt @@ -40,7 +40,7 @@

The following projects are hosted on this server: - +

diff --git a/src/root/product-list.tt b/src/root/product-list.tt index efb3043b..37a4273c 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -54,7 +54,7 @@ @@ -105,7 +105,7 @@ @@ -254,7 +254,7 @@
- [% WRAPPER makePopover title="Help" classes="btn-mini" %] + [% WRAPPER makePopover title="Help" classes="btn-secondary btn-sm" %]

If you have Nix installed on your machine, this failed build output and all its dependencies can be unpacked into your local Nix store by doing:

@@ -77,14 +77,14 @@ [% HTML.escape(build.nixname) %]
- [% WRAPPER makePopover title="Help" classes="btn-mini" + [% WRAPPER makePopover title="Help" classes="btn-secondary btn-sm" %]

You can install this package using the Nix package manager from the command-line:

$ nix-env -i [%HTML.escape(product.path)%][% IF binaryCachePublicUri %] --option binary-caches [% HTML.escape(binaryCachePublicUri) %][% END %]
[% END %] [% IF localStore %] - Contents + Contents [% END %]
- [% WRAPPER makePopover title="Help" classes="btn-mini" %] + [% WRAPPER makePopover title="Help" classes="btn-secondary btn-sm" %]

If you have Nix installed on your machine, this build and all its dependencies can be unpacked into your local Nix store by doing:

@@ -187,7 +187,7 @@
- [% WRAPPER makePopover title="Details" classes="btn-mini" %] + [% WRAPPER makePopover title="Details" classes="btn-secondary btn-sm" %] [% INCLUDE renderProductLinks %] @@ -196,7 +196,7 @@
File size:[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)
[% END %] [% IF localStore %] - Contents + Contents [% END %]
- [% WRAPPER makePopover title="Details" classes="btn-mini" %] + [% WRAPPER makePopover title="Details" classes="btn-secondary btn-sm" %] [% INCLUDE renderProductLinks %]