[open-ils-commits] r1331 - conifer/branches/rel_2_0/xul/server/admin (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 12 09:37:51 EDT 2011
Author: dbs
Date: 2011-04-12 09:37:49 -0400 (Tue, 12 Apr 2011)
New Revision: 1331
Modified:
conifer/branches/rel_2_0/xul/server/admin/index.xhtml
Log:
Update admin tools list for Robin's Hours of Operation UI
TODO: i18n, and submit to trunk?
Modified: conifer/branches/rel_2_0/xul/server/admin/index.xhtml
===================================================================
--- conifer/branches/rel_2_0/xul/server/admin/index.xhtml 2011-04-12 13:13:16 UTC (rev 1330)
+++ conifer/branches/rel_2_0/xul/server/admin/index.xhtml 2011-04-12 13:37:49 UTC (rev 1331)
@@ -1,16 +1,18 @@
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE html PUBLIC
- "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
- <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
+ "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
+ <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
]>
<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>&staff.server.admin.index.title;</title>
- <script>
- function _l(l,p) {
+ <head>
+ <title>&staff.server.admin.index.title;</title>
+ <script type="text/javascript" src="/js/dojo/dojo/dojo.js"
+ djConfig="parseOnLoad: true, isDebug:false"></script>
+ <script>
+ function _l(l,p) {
var url = l + location.search;
if (p) {
if (location.search) { url += '&'; } else { url += '?'; }
@@ -20,77 +22,85 @@
location.href = url;
}
function getBuildId() { return location.href.match(/\/xul\/(.+?)\/server\//)[1]; }
- </script>
- <style type='text/css'>
- body { background-color: white; }
- </style>
- </head>
- <body>
- <center>
- <div style='height: 40px; margin-top: 20px; font-weight: bold; font-size: 14pt;'>
- &staff.server.admin.index.title;
- </div>
- <img src='../skin/media/images/tools.png'/>
- <style>
- td { text-align: center; }
- </style>
- <br/> <br/>
- <table width='100%'>
- <thead>
- <tr>
- <th width='30%'>&staff.server.admin.index.workstation_configuration;</th>
- <th width='30%'>&staff.server.admin.index.library_configuration;</th>
- <th width='30%'>&staff.server.admin.index.maintenance_reports;</th>
- </tr>
- </thead>
- <tbody>
- <tr valign="top">
- <td>
- <div style='padding: 8px;'>
- <a href='javascript:_l("font_settings.xul");'>&staff.server.admin.index.fonts_and_sounds;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("printer_settings.html");'>&staff.server.admin.index.printer;</a>
- </div>
- </td><td>
- <div style='padding: 8px;'>
- <a href='javascript:_l("closed_dates.xhtml");'>&staff.server.admin.index.closed_dates;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("copy_locations.xhtml");'>&staff.server.admin.index.copy_locations;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("hours.xhtml");'>Hours</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("org_unit_settings.xhtml");'>&staff.server.admin.index.library_settings;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("non_cat_types.xhtml");'>&staff.server.admin.index.non_cataloged_types;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("stat_cat_editor.xhtml");'>&staff.server.admin.index.statistical_categories;</a>
- </div>
- </td><td>
- <div style='padding: 8px;'>
- <a href='javascript:window.xulG.new_tab("/xul/rel_1_6_0_0/server/patron/holds.xul",{"tab_name":"&staff.server.admin.index.hold_pull_list;"},{});'>&staff.server.admin.index.hold_pull_list;</a> <span style="color: red">&staff.server.admin.index.testing;</span>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("hold_pull_list_classic.xhtml");'>&staff.server.admin.index.hold_pull_list_classic;</a> <span style="color: red">&staff.server.admin.index.testing;</span>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l( "/reports/oils_rpt.xhtml","build_id=" + getBuildId() );'>&staff.server.admin.index.reports;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:_l("cash_reports.xhtml");'>&staff.server.admin.index.cash_reports;</a>
- </div>
- <div style='padding: 8px;'>
- <a href='javascript:window.xulG.new_tab("/xul/rel_1_6_0_0/server/admin/transit_list.xul",{"tab_name":"&staff.server.admin.index.transits;"},{});'>&staff.server.admin.index.transit_list;</a>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </center>
- </body>
+
+ function my_init() {
+ ;
+ }
+ </script>
+ <style type='text/css'>
+ body { background-color: white; }
+ </style>
+ </head>
+ <body onload="my_init();">
+ <center>
+ <div style='height: 40px; margin-top: 20px; font-weight: bold; font-size: 14pt;'>
+ &staff.server.admin.index.title;
+ </div>
+ <img src='../skin/media/images/tools.png'/>
+ <style>
+ td { text-align: center; }
+ </style>
+ <br/> <br/>
+ <table width='100%'>
+ <thead>
+ <tr>
+ <th width='25%'>&staff.server.admin.index.workstation_configuration;</th>
+ <th width='25%'>&staff.server.admin.index.library_configuration;</th>
+ <th width='25%'>&staff.server.admin.index.maintenance_reports;</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr valign="top">
+ <td>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("font_settings.xul");'>&staff.server.admin.index.fonts_and_sounds;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("printer_settings.html");'>&staff.server.admin.index.printer;</a>
+ </div>
+ </td><td>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("closed_dates.xhtml");'>&staff.server.admin.index.closed_dates;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("copy_locations.xhtml");'>&staff.server.admin.index.copy_locations;</a>
+ </div>
+
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("hours.xhtml");'>Hours</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("org_unit_settings.xhtml");'>&staff.server.admin.index.library_settings;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("non_cat_types.xhtml");'>&staff.server.admin.index.non_cataloged_types;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("stat_cat_editor.xhtml");'>&staff.server.admin.index.statistical_categories;</a>
+ </div>
+ </td><td>
+ <div style='padding: 8px;'>
+ <a href='javascript:window.xulG.new_tab(window.xulG.url_prefix("/opac/extras/circ/alt_holds_print.html").replace("http","https") + "?do=shelf_expired_holds&chunk_size=25",{"tab_name":"&staff.server.admin.index.expired_holds_shelf;"},{});'>&staff.server.admin.index.expired_holds_shelf;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:window.xulG.new_tab("/xul/server/patron/holds.xul",{"tab_name":"&staff.server.admin.index.hold_pull_list;"},{});'>&staff.server.admin.index.hold_pull_list;</a> <span style="color: red">&staff.server.admin.index.testing;</span>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("hold_pull_list_classic.xhtml");'>&staff.server.admin.index.hold_pull_list_classic;</a> <span style="color: red">&staff.server.admin.index.testing;</span>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l( "/reports/oils_rpt.xhtml","build_id=" + getBuildId() );'>&staff.server.admin.index.reports;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:_l("cash_reports.xhtml");'>&staff.server.admin.index.cash_reports;</a>
+ </div>
+ <div style='padding: 8px;'>
+ <a href='javascript:window.xulG.new_tab("/xul/server/admin/transit_list.xul",{"tab_name":"&staff.server.admin.index.transits;"},{});'>&staff.server.admin.index.transit_list;</a>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+ </body>
</html>
More information about the open-ils-commits
mailing list