Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cand docket with attachments #719

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
276 changes: 276 additions & 0 deletions tests/examples/pacer/dockets/district/cand_7.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
<html><head><link rel="shortcut icon" href="/favicon.ico"/><title>CAND-ECF</title>
<script type="text/javascript">var default_base_path = "/"; </script><script type="text/javascript">if (top!=self) {top.location.replace(location.href);}</script><link rel="stylesheet" type="text/css" href="/css/default.css"><script type="text/javascript" src="/lib/core.js"></script><link rel="stylesheet" type="text/css" href="/css/print.css" media="print"><script type="text/javascript" src="/cgi-bin/menu.pl?id=-1"></script></head><body BGCOLOR=CCFFFF TEXT=000000 > <div id="topmenu" class="yuimenubar">
<div class="bd"><img src="/graphics/logo-cmecf-sm.png" class="cmecfLogo" id="cmecfLogo" alt="CM/ECF" title="" />
<ul class="first-of-type">
<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href='/cgi-bin/iquery.pl'><u>Q</u>uery</a></li>
<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href='/cgi-bin/DisplayMenu.pl?Reports'>Reports <div class='spritedownarrow'></div></a></li>
<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href='/cgi-bin/DisplayMenu.pl?Utilities'><u>U</u>tilities <div class='spritedownarrow'></div></a></li>
<li class="yuimenubaritem">
<a class="yuimenubaritemlabel" onClick="CMECF.MainMenu.showHelpPage(); return false" >Help</a></li>

<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href='/cgi-bin/login.pl?logout'>Log Out</a></li></ul><hr class="hrmenuseparator"></div></div></div><script type="text/javascript">if (navigator.appVersion.indexOf("MSIE")==-1){window.setTimeout(CMECF.MainMenu.createMenu, 0);}else{CMECF.util.Event.addListener(window, "load", CMECF.MainMenu.createMenu);}</script> <div id="cmecfMainContent"><input type="hidden" id="cmecfMainContentScroll" value="0">
<table border=0 cellspacing=0 width="100%">
<tr><td align=right><SPAN >ADRMOP</SPAN></td></tr>
</table>
<h3 align=center>U.S. District Court<BR>
California Northern District (San Francisco)<BR>
CIVIL DOCKET FOR CASE #: 3:23-cv-04557-JCS</h3>
<TABLE width='100%' border=0 CELLSPACING=5><tr>
<td valign=top width="60%"><br>T. et al v. OpenAI LP et al<br>
Assigned to: Magistrate Judge Joseph C. Spero<br>
Demand: $5,000,000,000<br>
Cause: 28:1331 Fed. Question</td>
<td valign=top width="40%"><br>Date Filed: 09/05/2023<br>
Jury Demand: Plaintiff<br>
Nature of Suit: 890 Other Statutory Actions<br>
Jurisdiction: Federal Question</td>
</tr></table>
<style>.show_filesize{visibility:hidden;font-size: x-small;}</style>
<script>
function size_mb_or_kb(size){
if(size < 1024){return size + ' B'}
if(size < 1024000){return (size/1024).toFixed(1) + ' KB'}
return (size/1024000).toFixed(1) + ' MB';
}

// Code used by a Document Link:
// Reset checkboxes if page is refreshed.
function SetFocus(){//overwrite existing function
}

// Code used by Docket Sheet

function select_all_documents(checked){
var elements = document.forms[0].elements;
for (var i = 0; i < elements.length; i++) {
var checkbox = elements[i];
if (checkbox.name == 'all_documents') {
checkbox.checked = checked;
select_all_attachments(checkbox);
}
}
if(checked == false){
clear_totals();
}
}

function select_all_attachments(all){
attachments = all.value.split('_');

var elements = document.forms[0].elements;
for(var i=0; i < elements.length; i++){
var checkbox = elements[i];
if(checkbox.name.match('document_' + attachments[0] + '_' + attachments[1] + '_')){
if (checkbox.type == "checkbox") {
if(checkbox.checked != all.checked){
checkbox.checked = all.checked;
update_sizes(checkbox);
}
}
else {
// Handle things when it is a type = "hidden"
update_sizes(checkbox, all.checked);
}
}
}

// If ROA, and checkbox is cleared, then also clear the sort order
if("" != ""){
if(all.checked == false){
document.getElementById('de_'+attachments[1]+'_sort').value = '';
}
}
}

function update_sizes(checkbox, all_checked_value){
var total_size_counter = document.getElementById('total_size_counter');
var total_page_counter = document.getElementById('total_page_counter');
var total_size_display = document.getElementById('total_size_display');
var total_page_display = document.getElementById('total_page_display');

var total_size = parseInt(total_size_counter.value);
var total_page = parseInt(total_page_counter.value);

var info = checkbox.value.split('-');//dm_dls_id - file_size - page_size
var size = parseInt(info[1]);
var page = parseInt(info[2]);

var checked = all_checked_value;
if (checkbox.type == "checkbox") {
checked = checkbox.checked;
}
if(checked == true){
total_size += size;
total_page += page;
}else{
total_size -= size;
total_page -= page;
}

var buttons_disabled = true;
var file_too_big = true;
if(total_size <= 53477376){
file_too_big = false;
if(total_size > 0){
buttons_disabled = false;
}
}

document.getElementById('view_button').disabled = buttons_disabled;
document.getElementById('download_button').disabled = buttons_disabled;
document.getElementById('file_too_big').style.display = file_too_big ? 'block':'none';

//alert(total_size + ':' + total_page);
total_size_counter.value = total_size;
total_page_counter.value = total_page;
if(total_size_display.type == 'text'){
total_size_display.value = Number((total_size/1024000).toFixed(5));
total_page_display.value = total_page + ((total_page == 1) ? ' page':' pages');
}else{
total_size_display.innerHTML = size_mb_or_kb(total_size);
total_page_display.innerHTML = total_page + ((total_page == 1) ? ' page':' pages');
}
}

function clear_totals(){
document.getElementById('total_size_counter').value = 0;
document.getElementById('total_page_counter').value = 0;
document.getElementById('total_size_display').value = 0;
document.getElementById('total_page_display').value = 0;

document.getElementById('view_button').disabled = true;
document.getElementById('download_button').disabled = true;
}

function select_link_documents(){ // When selected by a link, check all documents.
clear_totals();

elements = document.forms[0].elements;
for(i=0; i < elements.length; i++){
checkbox = elements[i];
if(checkbox.type == 'checkbox'){
checkbox.checked = true;
update_sizes(checkbox);
}
};
}

function submit_form(zip,url){
var include=[];//Docket
var exclude=[];//Link
var elements = document.forms[0].elements;

// create a hash of "all_documents" values to "checked" status for dealing with hidden inputs
var ad_checked = {};
for (var i = 0; i < elements.length; i++) {
var checkbox = elements[i];
if (checkbox.name == "all_documents") {
ad_checked[checkbox.value] = checkbox.checked;
}
}

for(var i=0; i < elements.length; i++){
var checkbox = elements[i];
if(checkbox.name.match(/document_/)){
var info = checkbox.value.split('-');//dm_dls_id - file_size - page_size
if (checkbox.type == "hidden") {
var values = checkbox.name.split('_');
var ad_key = values[1] + '_' + values[2];
if (ad_checked[ad_key]) {
include.push(info[0]);
}
else {
exclude.push(info[0]);
}
}
else {
if(checkbox.checked == true){
include.push(info[0]);
}else{
exclude.push(info[0]);
}
}
}
};

if(url){//Link
url += '&exclude_attachments=' + exclude.join(',');
document.location.href = url+'&zipit='+zip;// 0 = Show on screen, 1 = Zip PDF, 2 = Download PDF
}else{
document.getElementsByName('zipit')[0].value = zip;
document.getElementsByName('download_documents')[0].value = include.join(',');
document.view_multi_docs.submit();
}
}

</script>
<form enctype='multipart/form-data' method='post' name='view_multi_docs' action='show_multidocs.pl?caseid=417880&pdf_header=1&pdf_toggle_possible=1'><input type='hidden' name='caseid' value='417880' /><input type='hidden' name='docket_caseid' value='417880' /><input type='hidden' name='download_documents' value='' /><input type='hidden' name='sort1' value='oldest date first'><input type='hidden' name='date_range_type' value='Filed'><br><table align=center width='99%' border=1 rules=all cellpadding=5 cellspacing=0>
<tr><td style='font-weight:bold; width=94; white-space:nowrap'>Date Filed</td>
<th>#</th><td style='font-weight:bold; white-space:nowrap'><SMALL>Select<br><a href='#' onClick="select_all_documents(true, false)"'>all</a> / <a href='#' onClick="select_all_documents(false, false)"'>clear</SMALL></a></td><td style='font-weight:bold'>Docket Text</td></tr>
<tr><td width='94' valign=top nowrap>09/05/2023</td><td style='white-space:nowrap' valign='top' align='right'><a href="https://ecf.cand.uscourts.gov/doc1/035023513538" onClick="goDLS('/doc1/035023513538','417880','10','','1','1','','','');return(false);">1</a>&nbsp;</td><td valign='top' align=center><input type=checkbox name='all_documents' value='417880_10' onclick='select_all_attachments(this);'></td><td valign=top><!--SB-->COMPLAINT <i></i> against Microsoft Corporation, OpenAI GP, OpenAI Incorporated, OpenAI LP, OpenAI Startup Fund GP I, LLC, OpenAI Startup Fund I, LP, OpenAI Startup Fund Mangement, LLC ( Filing fee &#036; 402, receipt number ACANDC-18615816.). Filed byJ. H., A. T.. (Attachments: # <a href="https://ecf.cand.uscourts.gov/doc1/035123513539" onClick="goDLS('/doc1/035123513539','417880','10','','1','1','','','');return(false);">1</a> Civil Cover Sheet)(Ram, Michael) (Filed on 9/5/2023) (Entered: 09/05/2023)</td></tr>
<tr><td></td><td></td><td></td><td><table style="margin:10px;width:500px"> <tr>
<td style="width:20px"><input name="document_417880_10_0" type="checkbox" value="23513538-1034443-121" autocomplete="off" onchange="update_sizes(this)" /></td>
<td>0</td><td>Main Document</td>
<td>121 pages</td>
<td> 1.0 MB</td>
</tr> <tr>
<td style="width:20px"><input name="document_417880_10_1" type="checkbox" value="23513539-254755-2" autocomplete="off" onchange="update_sizes(this)" /></td>
<td>1</td><td>Civil Cover Sheet</td>
<td>2 pages</td>
<td>248.8 KB</td>
</tr></table></td></tr>
<tr><td width='94' valign=top nowrap>09/06/2023</td><td style='white-space:nowrap' valign='top' align='right'>2&nbsp;</td><td align='center'>&nbsp;</td><td valign=top><!--SB-->Case assigned to Magistrate Judge Joseph C. Spero. <p><p>Counsel for plaintiff or the removing party is responsible for serving the Complaint or Notice of Removal, Summons and the assigned judge&#039;s standing orders and all other new case documents upon the opposing parties. For information, visit <i>E-Filing A New Civil Case</i> at http://cand.uscourts.gov/ecf/caseopening.<p>Standing orders can be downloaded from the court&#039;s web page at www.cand.uscourts.gov/judges. Upon receipt, the summons will be issued and returned electronically. A scheduling order will be sent by Notice of Electronic Filing (NEF) within two business days. Consent/Declination due by 9/20/2023. (as, COURT STAFF) (Filed on 9/6/2023) (Entered: 09/06/2023)</td></tr>
<tr><td width='94' valign=top nowrap>09/06/2023</td><td style='white-space:nowrap' valign='top' align='right'><a href="https://ecf.cand.uscourts.gov/doc1/035123515222" onClick="goDLS('/doc1/035123515222','417880','17','','1','1','','','');return(false);">3</a>&nbsp;</td><td valign='top' align=center><input type=checkbox name='all_documents' value='417880_17' onclick='select_all_attachments(this);'></td><td valign=top><!--SB-->Proposed Summons. (Ram, Michael) (Filed on 9/6/2023) (Entered: 09/06/2023)</td></tr>
<input name="document_417880_17_0" type="hidden" value="23515222-934747-14" autocomplete="off" onchange="update_sizes(this)" /><tr><td width='94' valign=top nowrap>09/06/2023</td><td style='white-space:nowrap' valign='top' align='right'><a href="https://ecf.cand.uscourts.gov/doc1/035023515598" onClick="goDLS('/doc1/035023515598','417880','19','','1','1','','','');return(false);">4</a>&nbsp;</td><td valign='top' align=center><input type=checkbox name='all_documents' value='417880_19' onclick='select_all_attachments(this);'></td><td valign=top><!--SB--> MOTION for leave to appear in Pro Hac Vice <i></i> ( Filing fee &#036; 317, receipt number ACANDC-18617738.) filed by J. H., A. T.. (Attachments: # <a href="https://ecf.cand.uscourts.gov/doc1/035123515599" onClick="goDLS('/doc1/035123515599','417880','19','','1','1','','','');return(false);">1</a> Exhibit Certificate of Good Standing)(Yanchunis, John) (Filed on 9/6/2023) (Entered: 09/06/2023)</td></tr>
<tr><td></td><td></td><td></td><td><table style="margin:10px;width:500px"> <tr>
<td style="width:20px"><input name="document_417880_19_0" type="checkbox" value="23515598-90548-2" autocomplete="off" onchange="update_sizes(this)" /></td>
<td>0</td><td>Main Document</td>
<td>2 pages</td>
<td>88.4 KB</td>
</tr> <tr>
<td style="width:20px"><input name="document_417880_19_1" type="checkbox" value="23515599-4721924-1" autocomplete="off" onchange="update_sizes(this)" /></td>
<td>1</td><td>Exhibit Certificate of Good Standing</td>
<td>1 page</td>
<td> 4.6 MB</td>
</tr></table></td></tr>
<tr><td width='94' valign=top nowrap>09/06/2023</td><td style='white-space:nowrap' valign='top' align='right'><a href="https://ecf.cand.uscourts.gov/doc1/035023515655" onClick="goDLS('/doc1/035023515655','417880','23','','1','1','','','');return(false);">5</a>&nbsp;</td><td valign='top' align=center><input type=checkbox name='all_documents' value='417880_23' onclick='select_all_attachments(this);'></td><td valign=top><!--SB--> MOTION for leave to appear in Pro Hac Vice <i></i> ( Filing fee &#036; 317, receipt number ACANDC-18617813.) filed by J. H., A. T.. (Attachments: # <a href="https://ecf.cand.uscourts.gov/doc1/035123515656" onClick="goDLS('/doc1/035123515656','417880','23','','1','1','','','');return(false);">1</a> Exhibit Certificate of Good Standing)(McGee, Ryan) (Filed on 9/6/2023) (Entered: 09/06/2023)</td></tr>
<tr><td></td><td></td><td></td><td><table style="margin:10px;width:500px"> <tr>
<td style="width:20px"><input name="document_417880_23_0" type="checkbox" value="23515655-90555-2" autocomplete="off" onchange="update_sizes(this)" /></td>
<td>0</td><td>Main Document</td>
<td>2 pages</td>
<td>88.4 KB</td>
</tr> <tr>
<td style="width:20px"><input name="document_417880_23_1" type="checkbox" value="23515656-659971-1" autocomplete="off" onchange="update_sizes(this)" /></td>
<td>1</td><td>Exhibit Certificate of Good Standing</td>
<td>1 page</td>
<td>644.5 KB</td>
</tr></table></td></tr>
<tr><td width='94' valign=top nowrap>09/06/2023</td><td style='white-space:nowrap' valign='top' align='right'><a href="https://ecf.cand.uscourts.gov/doc1/035123516439" onClick="goDLS('/doc1/035123516439','417880','27','','1','1','','','');return(false);">6</a>&nbsp;</td><td valign='top' align=center><input type=checkbox name='all_documents' value='417880_27' onclick='select_all_attachments(this);'></td><td valign=top><!--SB--><b>Initial Case Management Scheduling Order with ADR Deadlines: Case Management Statement due by 12/1/2023. Initial Case Management Conference set for 12/8/2023 02:00 PM in San Francisco, Courtroom D, 15th Floor. (sec, COURT STAFF) (Filed on 9/6/2023) (Entered: 09/06/2023)</td></tr>
<input name="document_417880_27_0" type="hidden" value="23516439-106760-2" autocomplete="off" onchange="update_sizes(this)" /></table><br>
<input type='hidden' name='zipit' value='0'>
<input type='hidden' name='terminated_parties' value=''>
<input type='hidden' name='list_of_member_cases' value=''>
<input type='hidden' name='show_related_docs' value=''>
<input type='hidden' name='show_related_summary_text' value=''>
<input type='hidden' name='list_of_parties_and_counsel' value=''>

<table>
<tr><td>
<input type="button" value="View Selected" id="view_button" onclick="submit_form(0)" disabled />
<br /> or <br />
<input type="button" value="Download Selected" id="download_button" onclick="submit_form(1);" disabled />
</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><div id="file_too_big" style="display:none"><strong><font color="red">You must select fewer
documents because the combined PDF would be over the 51 MB size limit.</font></strong><br />
</div><div style="display:none">
Total filesize of selected documents (MB):
<input type="hidden" id="total_size_counter" value="0" />
<input type="hidden" id="total_page_counter" value="0" />
<input type="text" id="total_size_display" autocomplete="off" value="0" onfocus="this.blur();"><br />
Maximum filesize allowed: 51 MB<br>
<input type="hidden" id="total_page_display" value="0" onfocus="this.blur();"><br />
</div>
</td></tr>
</table>
<script>CMECF.util.Event.addListener(window, 'pageshow', select_all_documents(false));</script>
<HR><CENTER><TABLE BORDER=1 BGCOLOR=white width="400"><TR><TH COLSPAN=4><FONT SIZE=+1 COLOR=DARKRED>PACER Service Center </FONT></TH></TR><TR><TH COLSPAN=4><FONT COLOR=DARKBLUE>Transaction Receipt </FONT></TH></TR><TR></TR><TR></TR><TR><TD COLSPAN=4 ALIGN=CENTER><FONT SIZE=-1 COLOR=DARKBLUE>09/06/2023 21:14:32</FONT></TD></TR><TR><TH ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> PACER Login: </FONT></TH><TD ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> mlissner.flp </FONT></TH></TD><TH ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> Client Code: </FONT></TH><TD ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> </FONT></TD></TR><TR><TH ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> Description: </FONT></TH><TD ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> Docket Report </FONT></TD><TH ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> Search Criteria: </FONT></TH><TD ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> 3:23-cv-04557-JCS </FONT></TD></TR><TR><TH ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> Billable Pages: </FONT></TH><TD ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> 1 </FONT></TD><TH ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> Cost: </FONT></TH><TD ALIGN=LEFT><FONT SIZE=-1 COLOR=DARKBLUE> 0.10 </FONT></TD></TR><TR></TR><TR></TR></TABLE></CENTER></HR></div></body></html>
Loading