Bug 7953 - add opacuserjs to the sco template
To test:
add some jquery to opacuserjs that would change the screen
a la: $(".checkout label[for='patronid']").css("border","3px solid red");
verify you see a red box on the sco-main page.
Also adds the ability to use opacusercss to style sco-main.tt
to test:
Add some css to opacusercss that would change the screen:
.checkout { background: grey; }
verify you see a grey box around the checkout div.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
daca73c96a
commit
0d2bf47a8a
|
|
@ -59,8 +59,14 @@ $(document).ready(function() {
|
|||
});
|
||||
});
|
||||
//]]>
|
||||
|
||||
</script>
|
||||
[% IF ( opacuserjs ) %]<script type="text/javascript">[% opacuserjs %]</script>[% END %]
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/sco.css" />
|
||||
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
|
||||
|
||||
</head>
|
||||
<body onload="dofocus();">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue