Bugzilla – Attachment 8492 Details for
Bug 7760
Add ids and classes to every staff page to help with customizaton
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7760 - Add ids and classes to every staff page to help with customization (patroncard, labels)
Bug-7760---Add-ids-and-classes-to-every-staff-page.patch (text/plain), 14.56 KB, created by
Katrin Fischer
on 2012-03-22 10:55:13 UTC
(
hide
)
Description:
Bug 7760 - Add ids and classes to every staff page to help with customization (patroncard, labels)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2012-03-22 10:55:13 UTC
Size:
14.56 KB
patch
obsolete
>From e5230afd2cd26eae56dbf5744f5c0bcc5f5c3cc0 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Thu, 22 Mar 2012 11:53:48 +0100 >Subject: [PATCH] Bug 7760 - Add ids and classes to every staff page to help > with customization (patroncard, labels) > >After talking to Owen we decided to use 2 classes for those modules. I decided on: > >patroncard: tools, pcard >labels: tools, labels >--- > .../prog/en/modules/labels/label-bib-search.tt | 2 +- > .../prog/en/modules/labels/label-edit-batch.tt | 2 +- > .../prog/en/modules/labels/label-edit-layout.tt | 2 +- > .../prog/en/modules/labels/label-edit-profile.tt | 2 +- > .../prog/en/modules/labels/label-edit-template.tt | 2 +- > .../prog/en/modules/labels/label-home.tt | 2 +- > .../prog/en/modules/labels/label-manage.tt | 2 +- > .../prog/en/modules/labels/label-print.tt | 2 +- > .../intranet-tmpl/prog/en/modules/labels/result.tt | 2 +- > .../intranet-tmpl/prog/en/modules/labels/search.tt | 2 +- > .../prog/en/modules/labels/spinelabel-home.tt | 2 +- > .../prog/en/modules/labels/spinelabel-print.tt | 4 ++-- > .../prog/en/modules/patroncards/card-print.tt | 2 +- > .../prog/en/modules/patroncards/edit-batch.tt | 2 +- > .../prog/en/modules/patroncards/edit-layout.tt | 2 +- > .../prog/en/modules/patroncards/edit-profile.tt | 2 +- > .../prog/en/modules/patroncards/edit-template.tt | 2 +- > .../prog/en/modules/patroncards/home.tt | 2 +- > .../prog/en/modules/patroncards/image-manage.tt | 2 +- > .../prog/en/modules/patroncards/manage.tt | 2 +- > .../prog/en/modules/patroncards/members-search.tt | 2 +- > .../prog/en/modules/patroncards/print.tt | 2 +- > 22 files changed, 23 insertions(+), 23 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt >index fdfc71d..131f085 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt >@@ -1,6 +1,6 @@ > [% INCLUDE 'doc-head-open.inc' %]Koha › Tools › Labels ›: Search[% INCLUDE 'doc-head-close.inc' %] > </head> >-<body> >+<body id="labels_label-bib-search" class="tools labels"> > <div id="main-compact"> > > <h1>Search</h1> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >index 1da5830..2ef4aec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt >@@ -20,7 +20,7 @@ > //]]> > </script> > </head> >-<body onload="dofocus();"> >+<body id="labels_label-edit-batch" class="tools labels" onload="dofocus();"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >index cd799a8..9b8a57a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt >@@ -19,7 +19,7 @@ > //]]> > </script> > </head> >-<body> >+<body id="labels_label-edit-layout" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >index d9576e7..88243b2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt >@@ -36,7 +36,7 @@ > //]]> > </script> > </head> >-<body> >+<body id="labels_label-edit-profile" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >index feefe53..6c96bab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt >@@ -36,7 +36,7 @@ > //]]> > </script> > </head> >-<body> >+<body id="labels_label-edit-template" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >index 2f9fa69..5c21837 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt >@@ -3,7 +3,7 @@ > [% INCLUDE 'doc-head-close.inc' %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/label.css" /> > </head> >-<body> >+<body id="labels_label-home" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >index 2e6bbd7..3f88920 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >@@ -79,7 +79,7 @@ > //]]> > </script> > </head> >-<body> >+<body id="labels_label-manage" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >index 91f5d41..59c1fed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >@@ -11,7 +11,7 @@ > <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style> > <style type="text/css">table {border-collapse: separate; border-spacing: 0; border: hidden none;} .header {cursor: auto; background-position: center center; background-repeat: repeat;}</style> > </head> >-<body> >+<body id="labels_label-print" class="tools labels"> > <div id="custom-doc" class="yui-t2"> > <div id="bd"> > [% IF ( batches ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt >index f8d7286..d272f01 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt >@@ -41,7 +41,7 @@ > //]]> > </script> > </head> >-<body> >+<body id="labels_result" class="tools labels"> > <div id="custom-doc" class="yui-t7"> > <div id="bd"> > <h1>Search results</h1> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >index 1cd7aef..1d9d45d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt >@@ -3,7 +3,7 @@ > [% INCLUDE 'calendar.inc' %] > <style type="text/css">#custom-doc { width:47.23em;*width:46.04em;min-width:610px; margin:auto;margin-top: .4em; text-align:left; }</style> > </head> >-<body> >+<body id="labels_search" class="tools labels"> > > <div id="custom-doc" class="yui-t7"> > <div id="bd"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt >index 3384af5..e324db5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt >@@ -1,7 +1,7 @@ > [% INCLUDE 'doc-head-open.inc' %]<title>Koha › Tools › Quick spine label creator</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> >-<body> >+<body id="labels_spinelabel-home" class="tools labels"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >index 598eed8..3df9cd0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt >@@ -17,13 +17,13 @@ > </style> > </head> > [% IF ( BarcodeNotFound ) %] >- <body> >+ <body id="labels_spinelabel-print" class="tools labels"> > <p>The barcode [% Barcode %] was not found.</p> > <p><a href="spinelabel-home.pl">Return To Spine Label Printer</a></p> > </body> > [% ELSE %] > [% IF ( autoprint ) %] >- <body onLoad="window.print()"> >+ <body id="labels_spinelabel-print" class="tools labels" onLoad="window.print()"> > [% ELSE %] > <body> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/card-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/card-print.tt >index a7422cc..2c48f36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/card-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/card-print.tt >@@ -11,7 +11,7 @@ > <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style> > <style type="text/css">table {border-collapse: separate; border-spacing: 0; border: hidden none;} .header {cursor: auto; background-position: center center; background-repeat: repeat;}</style> > </head> >-<body> >+<body id="pcard_card-print" class="tools pcard"> > <div id="custom-doc" class="yui-t2"> > <div id="bd"> > [% IF ( batches ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt >index 4eab7b2..0767628 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt >@@ -19,7 +19,7 @@ > }; > </script> > </head> >-<body> >+<body id="pcard_edit-batch" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt >index b8b0942..0a5fcde 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt >@@ -133,7 +133,7 @@ > }; > </script> > </head> >-<body> >+<body id="pcard_edit-layout" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt >index 7060146..b5a3997 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt >@@ -63,7 +63,7 @@ > }; > </script> > </head> >-<body> >+<body id="pcard_edit-profile" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt >index 0532b26..e568204 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-template.tt >@@ -63,7 +63,7 @@ > }; > </script> > </head> >-<body> >+<body id="pcard_edit-template" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt >index 25c0e13..459f71e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/home.tt >@@ -3,7 +3,7 @@ > [% INCLUDE 'doc-head-close.inc' %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/card.css" /> > </head> >-<body> >+<body id="pcard_home" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt >index 642de1d..fb7b6bc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt >@@ -89,7 +89,7 @@ > } > </script> > </head> >-<body> >+<body id="pcard_image-manage" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >index 0185d47..c8edf68 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt >@@ -116,7 +116,7 @@ > }; > </script> > </head> >-<body> >+<body id="pcard_manage" class="tools pcard"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > <div id="breadcrumbs"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/members-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/members-search.tt >index cbd1db5..2412c2b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/members-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/members-search.tt >@@ -40,7 +40,7 @@ function add_item(borrowernum,batch_id,type_id){ > //]]> > </script> > </head> >-<body> >+<body id="pcard_members-search" class="tools pcard"> > > <div id="custom-doc" class="yui-t7"> > <div id="bd"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt >index e7ca17a..74f0dd0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt >@@ -10,7 +10,7 @@ > </script> > <style type="text/css">#custom-doc {width:47.23em; *width:46.04em; min-width:610px; margin:auto; margin-top:0.4em;}</style> > </head> >-<body> >+<body id="pcard_print" class="tools pcard"> > <div id="custom-doc" class="yui-t2"> > <div id="bd"> > [% IF ( batches ) %] >-- >1.7.5.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 7760
:
8364
|
8366
|
8367
|
8368
|
8374
|
8401
|
8402
|
8432
|
8433
|
8434
|
8448
|
8450
|
8456
|
8457
|
8479
|
8480
|
8482
|
8484
|
8486
|
8487
|
8491
|
8492
|
8493
|
8495
|
8496
|
8500
|
8508
|
8515
|
8517
|
8518
|
8554
|
8565