Fixes some part of the hallo ui

* App.master: Use local copies for jquery & jquery-ui

* BlogsController.cs: Defines a search method targeting blog attached
  files and other user files.
main
Paul Schneider 10 years ago
parent 848cee0190
commit c10a78841b
3 changed files with 14 additions and 2 deletions

@ -124,6 +124,11 @@ namespace Yavsc.ApiControllers
return Request.CreateResponse(HttpStatusCode.InternalServerError, e); return Request.CreateResponse(HttpStatusCode.InternalServerError, e);
} }
} }
[Authorize,HttpGet]
public async Task<HttpResponseMessage> SearchFile(long postid, string terms) {
throw new NotImplementedException ();
}
/// <summary> /// <summary>
/// Import the specified id. /// Import the specified id.
/// </summary> /// </summary>

@ -1,3 +1,10 @@
2015-09-28 Paul Schneider <paul@pschneider.fr>
* App.master: Use local copies for jquery & jquery-ui
* BlogsController.cs: Defines a search method targeting blog
attached files and other user files.
2015-09-28 Paul Schneider <paul@pschneider.fr> 2015-09-28 Paul Schneider <paul@pschneider.fr>
* FontAwesome.otf: * FontAwesome.otf:

@ -13,8 +13,8 @@
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/font-awesome.css")%>" /> <link rel="stylesheet" href="<%=Url.Content("~/App_Themes/font-awesome.css")%>" />
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/jquery-ui.css")%>" /> <link rel="stylesheet" href="<%=Url.Content("~/App_Themes/jquery-ui.css")%>" />
<link rel="icon" type="image/png" href="/favicon.png?v=3" /> <link rel="icon" type="image/png" href="/favicon.png?v=3" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="<%=Url.Content("~/Scripts/jquery-2.1.4.min.js")%>"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script> <script src="<%=Url.Content("~/Scripts/jquery-ui-1.11.4.min.js")%>"></script>
<script type="text/javascript"> <script type="text/javascript">
var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>'; var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>';
</script> </script>

Loading…