Bugzilla – Attachment 96168 Details for
Bug 24181
Improve the display of our datepickers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24181: Make our datepicker inputs sexy
Bug-24181-Make-our-datepicker-inputs-sexy.patch (text/plain), 2.43 KB, created by
Lucas Gass (lukeg)
on 2019-12-10 17:19:58 UTC
(
hide
)
Description:
Bug 24181: Make our datepicker inputs sexy
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2019-12-10 17:19:58 UTC
Size:
2.43 KB
patch
obsolete
>From a32ab5e5c1cb709271cdfe26a7761660f165627b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 5 Dec 2019 16:27:35 +0100 >Subject: [PATCH] Bug 24181: Make our datepicker inputs sexy > >They are skinny and different from others. >Not that a problem, I am too. >But I do not think it is what they need. > >Test plan: >Edit a patron and take a look at the input for "Date of birth" >=> Before this patch they are not looking great >=> After this patch they are beautiful > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 10 ---------- > koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 5 ++++- > 2 files changed, 4 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index 9530716ec6..e96f37118f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -385,16 +385,6 @@ input { > } > } > >- &.hasDatepicker { >- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAT0lEQVQ4jWNgoAZYd/LVf3IwigGkAuwGLE4hDg9eA4il8RqADVdtLYVjZLVEuwDZAKJcgKxh+zkyXIBuI8lhgG4jOqZdLJACMAygKDNRAgBj9qOB+rWnhAAAAABJRU5ErkJggg=="); >- background-position-x: right; >- background-position-y: center; >- background-repeat: no-repeat; >- border-style: inset outset outset inset; >- border-width: 1px; >- padding-right: 18px; >- } >- > &.submit { > @include default-button; > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >index e6f12ddce0..1cd41e2961 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >@@ -160,7 +160,10 @@ function(value, element, params) { > $(document).ready(function(){ > > $.datepicker.setDefaults({ >- showOn: "focus", >+ showOn: "both", >+ buttonImage: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAT0lEQVQ4jWNgoAZYd/LVf3IwigGkAuwGLE4hDg9eA4il8RqADVdtLYVjZLVEuwDZAKJcgKxh+zkyXIBuI8lhgG4jOqZdLJACMAygKDNRAgBj9qOB+rWnhAAAAABJRU5ErkJggg==", >+ buttonImageOnly: true, >+ buttonText: _("Select date"), > changeMonth: true, > changeYear: true, > showButtonPanel: true, >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24181
:
96044
|
96045
|
96143
|
96144
|
96168
|
96169
|
96581
|
96582