adjust html for notes

This commit is contained in:
Hylke Bons 2011-06-20 01:05:32 +01:00
parent b8154415c9
commit 43354e585f
4 changed files with 16 additions and 2 deletions

View file

@ -219,7 +219,8 @@ namespace SparkleShare {
public override void DecidePolicyForNavigation (WebView web_view, NSDictionary action_info,
NSUrlRequest request, WebFrame frame, NSObject decision_token)
{
{Console.WriteLine ("fffffffffffff");
Console.WriteLine (request.Url.ToString ());
string file_path = request.Url.ToString ();
file_path = file_path.Replace ("%20", " ");

View file

@ -396,6 +396,7 @@ namespace SparkleShare {
.Replace ("<!-- $event-avatar-url -->", "file://" + GetAvatar (change_set.UserEmail, 36))
.Replace ("<!-- $event-time -->", change_set.Timestamp.ToString ("H:mm"))
.Replace ("<!-- $event-folder -->", change_set.Folder)
.Replace ("<!-- $event-revision -->", change_set.Revision)
.Replace ("<!-- $event-folder-color -->", AssignColor (change_set.Folder));
}

View file

@ -12,5 +12,17 @@
</div>
<!-- $event-entry-content -->
<div style='clear: both'></div>
<div style='border-top: 1px red solid;box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing: border-box; margin-top: 3px;width:100%;padding:12px;'>
<textarea style="box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing: border-box;
width: 100%;height: 40px" id="message-<!-- $event-revision -->"></textarea>
<input style="float:right" type="button" onclick="location=document.getElementById('message-<!-- $event-revision -->').value" value="Add note">
</div>
<div style='clear: both'></div>
</div>
</div>

View file

@ -62,7 +62,7 @@
}
.wrapper {
margin: 15px;
margin: 9px;
float: left;
}