Bot-BasicBot-Pluggable-Module-Notes
view release on metacpan or search on metacpan
root/css/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png
root/css/excite-bike/images/ui-icons_0a82eb_256x240.png
root/css/excite-bike/images/ui-icons_0b54d5_256x240.png
root/css/excite-bike/images/ui-icons_5fa5e3_256x240.png
root/css/excite-bike/images/ui-icons_fcdd4a_256x240.png
root/css/excite-bike/images/ui-icons_ffffff_256x240.png
root/css/excite-bike/jquery-ui-1.7.2.custom.css
root/css/ui.jqgrid.css
root/index.html
root/js/Changes.txt
root/js/i18n/grid.locale-bg.js
root/js/i18n/grid.locale-bg1251.js
root/js/i18n/grid.locale-cat.js
root/js/i18n/grid.locale-cn.js
root/js/i18n/grid.locale-cs.js
root/js/i18n/grid.locale-de.js
root/js/i18n/grid.locale-dk.js
root/js/i18n/grid.locale-el.js
root/js/i18n/grid.locale-en.js
root/js/i18n/grid.locale-fa.js
root/js/i18n/grid.locale-fi.js
root/js/i18n/grid.locale-fr.js
root/js/i18n/grid.locale-he.js
root/js/i18n/grid.locale-is.js
root/js/i18n/grid.locale-it.js
root/js/i18n/grid.locale-ja.js
root/js/i18n/grid.locale-nl.js
root/js/i18n/grid.locale-no.js
root/js/i18n/grid.locale-pl.js
root/js/i18n/grid.locale-pt-br.js
root/js/i18n/grid.locale-pt.js
root/js/i18n/grid.locale-ro.js
root/js/i18n/grid.locale-ru.js
root/js/i18n/grid.locale-sp.js
root/js/i18n/grid.locale-sv.js
root/js/i18n/grid.locale-tr.js
root/js/i18n/grid.locale-ua.js
root/js/install.txt
root/js/jquery-1.3.2.min.js
root/js/jquery-ui-1.7.2.custom.min.js
root/js/jquery.jqGrid.min.js
root/js/notes.js
t/01notes_store.t
t/02notes.t
META.yml Module meta-data (added by MakeMaker)
lib/Bot/BasicBot/Pluggable/Module/Notes/Store/SQLite.pm view on Meta::CPAN
) or croak "Error: can't prepare db query for select: " . $dbh->errstr;
$sth->execute( @select_vals );
my $notes = $sth->fetchall_arrayref({});
# warn "Notes: ", Dumper($notes);
## hack to fake date/time fields:
my $dt_formatter = DateTime::Format::Strptime->new( pattern => '%F %T',
locale => 'en_GB',
time_zone => 'UTC'
);
foreach my $row (@$notes){
my $dt = $dt_formatter->parse_datetime( $row->{timestamp} )
or die "Badly formatted timestamp: $row->{timestamp}";
$row->{date} = $dt->ymd;
$row->{time} = $dt->hms;
}
# warn "Notes: ", Dumper($notes);
root/index.html view on Meta::CPAN
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NotesBot - Data dump</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/excite-bike/jquery-ui-1.7.2.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/ui.jqgrid.css" />
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
<script src="js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="js/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="js/notes.js" type="text/javascript"></script>
</head>
<body>
<h1>NotesBot - Data dump</h1>
<table id="notesgrid"></table>
root/js/install.txt view on Meta::CPAN
<link rel="stylesheet" type="text/css" media="screen" href="path_to_jqgrid_css_file/ui.jqgrid.css" />
Starting with this version, jqGrid does not use a loader (which loads the
needed files one by one), but all the needed code is contained in one file.
The desired modules can be built using the jqGrid download manager from the
site pointed above. In order to use this, first a language file should be
loaded and then the jqgrid file.
Copy the desired language file from js/i18n directory to your web server
directory where you store the java script files. Every language file is
named grid.locale-XX.js, where XX is a two-letter code for the language.
Copy the jquery.jqGid.min.js file to the same or other valid directory in
your web server
Include both the files in script tags in the head section
<script src="path_to_js_files/grid.locale-en.js" type="text/javascript"></script>
<script src="path_to_js_files/jquery.jqGrid.min.js" type="text/javascript"></script>
For debugging purposes, I have created a grid.loader.js which does the same
loading of the files as in previous versions. The location of the file is in
src directory of the package. In order to use this, the variable pathojsfiles
should be adjusted to point to the appropriate folder - see 3.4.x docs.
( run in 0.436 second using v1.01-cache-2.11-cpan-a5162978ef8 )