make jquery work
This commit is contained in:
parent
155a93f924
commit
f44d26321c
Notes:
Hylke Bons
2011-06-20 22:25:27 +01:00
test
|
@ -138,7 +138,10 @@ namespace SparkleShare {
|
|||
StreamReader reader = new StreamReader (html_path);
|
||||
string html = reader.ReadToEnd ();
|
||||
reader.Close ();
|
||||
|
||||
|
||||
html = html.Replace ("<!-- $jquery-url -->", "file://" +
|
||||
Path.Combine (NSBundle.MainBundle.ResourcePath, "HTML", "jquery.js"));
|
||||
Console.WriteLine (html);
|
||||
return html;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\bin\Meebey.SmartIrc4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SparkleLib, Version=0.2.1.0, Culture=neutral, PublicKeyToken=null">
|
||||
<Reference Include="SparkleLib, Version=0.2.2.0, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\bin\SparkleLib.dll</HintPath>
|
||||
</Reference>
|
||||
|
@ -170,6 +170,9 @@
|
|||
<Content Include="..\..\data\icons\document-moved-12.png">
|
||||
<Link>Pixmaps\document-moved-12.png</Link>
|
||||
</Content>
|
||||
<Content Include="..\..\data\html\jquery.js">
|
||||
<Link>HTML\jquery.js</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Pixmaps\" />
|
||||
|
|
|
@ -15,18 +15,15 @@
|
|||
<div style='margin-top: 9px;border-top: 1px #ccc solid;box-sizing: border-box;
|
||||
-webkit-box-sizing:border-box;
|
||||
-moz-box-sizing: border-box; margin-top: 3px;width:100%;padding:12px;'>
|
||||
<table>
|
||||
<tr><td><b>Hylke Bons</b><br>
|
||||
<small>2 days ago</small></td>
|
||||
<td>this looks awesome!</td></tr>
|
||||
<tr><td><b>Garrett LeSage</b><br>
|
||||
<small>yesterday</small></td>
|
||||
<td>i am batman</td></tr>
|
||||
|
||||
<tr><td width="25%"><b>Jakub Steiner</b><br>
|
||||
<small>yesterday</small</td>
|
||||
<td>you need to align to the pixel grid. select Grid from the View menu. then enable box snapping
|
||||
</td></tr>
|
||||
<table class="comments-<!-- $event-revision -->">
|
||||
|
||||
<tr><td class="comment-author">Hylke Bons</td><td class="comment-text" rowspan="2">this looks awesome!</td></tr>
|
||||
<tr><td class="comment-timestamp">date</td><td></td></tr>
|
||||
|
||||
<tr><td class="comment-author">Hylke Bons</td><td class="comment-text" rowspan="2">this looks awesome!</td></tr>
|
||||
<tr><td class="comment-timestamp">date</td><td></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
<textarea style="margin-top: 12px;box-sizing: border-box;
|
||||
|
|
|
@ -2,6 +2,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>SparkleShare Event Log</title>
|
||||
<script type="text/javascript" src="<!-- $jquery-url -->"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("input").click(function () {
|
||||
alert('ff');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-color: #dedede;
|
||||
|
|
Loading…
Reference in a new issue