adjust html for notes
This commit is contained in:
parent
113b7a942b
commit
3235fa27d9
|
@ -213,7 +213,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", " ");
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
|
||||
.wrapper {
|
||||
margin: 15px;
|
||||
margin: 9px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue