<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/layout/template.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	xmlns:calli="http://callimachusproject.org/rdf/2009/framework#"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
	<title>Main Menu</title>
	<style>
		span[rel] {
			font-size: small;
		}
	</style>
	<script type="text/javascript" src="menu-edit.js"> </script>
</head>
<body about="?this">
	<ul class="aside">
		<li>To replace the icon or logo, click the × button, then the chevron to open a file upload dialogue</li>
		<li>The icon should be of type PNG, JPEG, GIF, or ICO and should be 16×16 or 32×32 pixels in size</li>
		<li>The logo should be of type PNG, JPEG, or GIF and should be 128x128 pixels in size</li>
	</ul>
	<ul class="aside">
		<li>Click on the menu entry you want to edit</li>
		<li>Use ENTER key to create a new entry at the start or end of a line</li>
		<li>Use TAB key to indent, or shift-TAB to outdent</li>
		<li>Use SPACE to separate a label from a full URL</li>
		<li>Drag links or text to an empty list item to insert, then click outside of the edit area</li>
	</ul>
	<h1>Main Menu</h1>
	<form id='form' about="?this">
		<div class="hbox">
			<div>
				<label for="favicon-image">Icon</label>
				<div id="favicon-image" rel="calli:favicon" data-prompt="/callimachus/Image?create">
					<span about="?favicon">
						<span property="rdfs:label"/>
					</span>
				</div>
			</div>
			<div>
				<label for="logo-image">Logo</label>
				<div id="logo-image" rel="calli:logo" data-prompt="/callimachus/Image?create">
					<span about="?logo">
						<span property="rdfs:label"/>
					</span>
				</div>
			</div>
		</div>
		<div>
			<ol id="items" rel="calli:item" class="sorted textarea" contenteditable="true">
				<li typeof="">
					<span class="asc" property="calli:position" style="display:none"/>
					<label property="rdfs:label"/>
					<span rel="calli:link" resource="?link1" />
					<ol rel="calli:item" class="sorted">
						<li typeof="">
							<span class="asc" property="calli:position" style="display:none" />
							<label property="rdfs:label" />
							<span rel="calli:link" resource="?link2" />
							<ol rel="calli:item" class="sorted">
								<li typeof="">
									<span class="asc" property="calli:position" style="display:none" />
									<label property="rdfs:label" />
									<span rel="calli:link" resource="?link3" /><commit_msg>Fixed favicon/logo upload in menu-edit.xhtml<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/layout/template.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	xmlns:calli="http://callimachusproject.org/rdf/2009/framework#"
	xmlns:foaf="http://xmlns.com/foaf/0.1/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<head>
	<title>Main Menu</title>
	<style>
		span[rel] {
			font-size: small;
		}
	</style>
	<script type="text/javascript" src="menu-edit.js"> </script>
</head>
<body about="?this">
	<ul class="aside">
		<li>To replace the icon or logo, click the × button, then the chevron to open a file upload dialogue</li>
		<li>The icon should be of type PNG, JPEG, GIF, or ICO and should be 16×16 or 32×32 pixels in size</li>
		<li>The logo should be of type PNG, JPEG, or GIF and should be 128x128 pixels in size</li>
	</ul>
	<ul class="aside">
		<li>Click on the menu entry you want to edit</li>
		<li>Use ENTER key to create a new entry at the start or end of a line</li>
		<li>Use TAB key to indent, or shift-TAB to outdent</li>
		<li>Use SPACE to separate a label from a full URL</li>
		<li>Drag links or text to an empty list item to insert, then click outside of the edit area</li>
	</ul>
	<h1>Main Menu</h1>
	<form id='form' about="?this">
		<div class="hbox">
			<div>
				<label for="favicon-image">Icon</label>
				<div id="favicon-image" rel="calli:favicon" class="droppable">
					<div class="watermark">Drag uploaded favicon here</div> 
					<span about="?favicon" typeof="">
						<span property="rdfs:label"/>
						<button type="button" class="remove" />
					</span>
					<button type="button" class="dialog" data-dialog="/callimachus/Image?create" />
				</div>
			</div>
			<div>
				<label for="logo-image">Logo</label>
				<div id="logo-image" rel="calli:logo" class="droppable">
					<div class="watermark">Drag uploaded logo here</div> 
					<span about="?logo" typeof="">
						<span property="rdfs:label"/>
						<button type="button" class="remove" />
					</span>
					<button type="button" class="dialog" data-dialog="/callimachus/Image?create" />
				</div>
			</div>
		</div>
		<div>
			<ol id="items" rel="calli:item" class="sorted textarea" contenteditable="true">
				<li typeof="">
					<span class="asc" property="calli:position" style="display:none"/>
					<label property="rdfs:label"/>
					<span rel="calli:link" resource="?link1" />
					<ol rel="calli:item" class="sorted">
						<li typeof="">
							<span class="asc" property="calli:position" style="display:none" />
							<label property="rdfs:label" />
							<span rel="calli:link" resource="?link2" />
							<ol rel="calli:item" class="sorted">
								<li typeof="">
									<span class="asc" property="calli:position" style="display:none" />
									<label property="rdfs:label" />
									<span rel="calli:link" resource="?link3" />
{'fraction_non_alphanumeric': 0.18510523475445223, 'fraction_numerical': 0.01906817772980752, 'mean_word_length': 3.748078565328779, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 2, '>': 153, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5280610', 'n_tokens_mistral': 2412, 'n_tokens_neox': 1977, 'n_words': 497}