Bugzilla – Attachment 2480 Details for
Bug 2122
Grayed out Fields not always visible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-2122-Grayed-out-Fields-not-always-visibl.patch (text/plain), 3.37 KB, created by
Owen Leonard
on 2010-08-06 19:17:07 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-08-06 19:17:07 UTC
Size:
3.37 KB
patch
obsolete
>From c5d04b122a6ce358234d8bc18035ff1939101fe7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 5 Aug 2010 09:49:32 -0400 >Subject: [PATCH] Fix for Bug 2122, Grayed out Fields not always visible > >- Adding "readonly" class to readonly fields to guarantee > that readonly state is indicated visually >- Adding "locked" icon to the background of readonly > fields for additional visual feedback >--- > cataloguing/addbiblio.pl | 6 +++--- > koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 3 ++- > koha-tmpl/intranet-tmpl/prog/img/locked.png | Bin 0 -> 230 bytes > 3 files changed, 5 insertions(+), 4 deletions(-) > create mode 100644 koha-tmpl/intranet-tmpl/prog/img/locked.png > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index fc56047..2cfd99e 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -364,7 +364,7 @@ sub create_input { > id=\"".$subfield_data{id}."\" > name=\"".$subfield_data{id}."\" > value=\"$value\" >- class=\"input_marceditor\" >+ class=\"input_marceditor readonly\" > tabindex=\"1\" > size=\"5\" > maxlength=\"$max_length\" >@@ -380,7 +380,7 @@ sub create_input { > id=\"".$subfield_data{id}."\" > name=\"".$subfield_data{id}."\" > value=\"$value\" >- class=\"input_marceditor\" >+ class=\"input_marceditor readonly\" > tabindex=\"1\" > size=\"67\" > maxlength=\"$max_length\" >@@ -394,7 +394,7 @@ sub create_input { > id=\"".$subfield_data{id}."\" > name=\"".$subfield_data{id}."\" > value=\"$value\" >- class=\"input_marceditor\" >+ class=\"input_marceditor readonly\" > tabindex=\"1\" > size=\"67\" > maxlength=\"$max_length\" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css >index f763ad2..26a8066 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css >@@ -132,4 +132,5 @@ a.tagnum { > .linktools a {margin:0 2px;padding:2px;background-color:#FFF;text-align:center; } > .linktools a:first-child { border-bottom: 1px solid #DDD; } > .linktools a:hover { background-color: #FFC; } >-.subfield_controls { margin : 0 .5em; } >\ No newline at end of file >+.subfield_controls { margin : 0 .5em; } >+.readonly { border-width : 1px; border-style: inset; padding-left : 15px; background: #EEE url(../../img/locked.png) center left no-repeat; width:29em; } >\ No newline at end of file >diff --git a/koha-tmpl/intranet-tmpl/prog/img/locked.png b/koha-tmpl/intranet-tmpl/prog/img/locked.png >new file mode 100644 >index 0000000000000000000000000000000000000000..fd1b95cdf0cafa8c59e372ef9753d2c5026ca56e >GIT binary patch >literal 230 >zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$3?vg*uel1OSkfJR9T^zbpD<_bdI{u9mbgZg >z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-&P4DbnYojG%6T3Xuw|NkqWC4L7A >zGM5DT1^@rgaQzf7&_IR|PZ!6Kid#tuPD~7pM;gvBawu@LPZacFWD%Hgn8VG-hk>!> >z5Kxe9gOUJ)5d#y)nM4LA0d|E3i5UyL99SF}7M@^W5$KX@U~t+fqR<dv!NADI;K#u5 >UQ>$ps7ohnJp00i_>zopr0PN*KegFUf > >literal 0 >HcmV?d00001 > >-- >1.7.0.4 >
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 2122
:
507
|
508
|
2470
| 2480 |
2756