make jquery work
This commit is contained in:
parent
de2a4bafaa
commit
5c6d6c00b6
|
@ -139,6 +139,9 @@ namespace SparkleShare {
|
||||||
string html = reader.ReadToEnd ();
|
string html = reader.ReadToEnd ();
|
||||||
reader.Close ();
|
reader.Close ();
|
||||||
|
|
||||||
|
html = html.Replace ("<!-- $jquery-url -->", "file://" +
|
||||||
|
Path.Combine (NSBundle.MainBundle.ResourcePath, "HTML", "jquery.js"));
|
||||||
|
Console.WriteLine (html);
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\bin\Meebey.SmartIrc4net.dll</HintPath>
|
<HintPath>..\..\bin\Meebey.SmartIrc4net.dll</HintPath>
|
||||||
</Reference>
|
</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>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\bin\SparkleLib.dll</HintPath>
|
<HintPath>..\..\bin\SparkleLib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
@ -170,6 +170,9 @@
|
||||||
<Content Include="..\..\data\icons\document-moved-12.png">
|
<Content Include="..\..\data\icons\document-moved-12.png">
|
||||||
<Link>Pixmaps\document-moved-12.png</Link>
|
<Link>Pixmaps\document-moved-12.png</Link>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="..\..\data\html\jquery.js">
|
||||||
|
<Link>HTML\jquery.js</Link>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Pixmaps\" />
|
<Folder Include="Pixmaps\" />
|
||||||
|
|
|
@ -15,18 +15,15 @@
|
||||||
<div style='margin-top: 9px;border-top: 1px #ccc solid;box-sizing: border-box;
|
<div style='margin-top: 9px;border-top: 1px #ccc solid;box-sizing: border-box;
|
||||||
-webkit-box-sizing:border-box;
|
-webkit-box-sizing:border-box;
|
||||||
-moz-box-sizing: border-box; margin-top: 3px;width:100%;padding:12px;'>
|
-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>
|
<table class="comments-<!-- $event-revision -->">
|
||||||
<small>yesterday</small</td>
|
|
||||||
<td>you need to align to the pixel grid. select Grid from the View menu. then enable box snapping
|
<tr><td class="comment-author">Hylke Bons</td><td class="comment-text" rowspan="2">this looks awesome!</td></tr>
|
||||||
</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>
|
</table>
|
||||||
|
|
||||||
<textarea style="margin-top: 12px;box-sizing: border-box;
|
<textarea style="margin-top: 12px;box-sizing: border-box;
|
||||||
|
|
|
@ -2,6 +2,15 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>SparkleShare Event Log</title>
|
<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>
|
<style>
|
||||||
body {
|
body {
|
||||||
background-color: #dedede;
|
background-color: #dedede;
|
||||||
|
|
Loading…
Reference in a new issue