-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault.aspx
25 lines (23 loc) · 946 Bytes
/
Default.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />
<meta name="viewport" content="width=device-width,user-scalable=no" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title></title>
</head>
<body>
<%foreach (var fileName in System.IO.Directory.GetDirectories(HttpContext.Current.Server.MapPath("."))){
var f = System.IO.Path.GetFileName(fileName);
%>
<div>
<a href="<%=f%>"><%=f%></a>
</div>
<%}%>
</body>
</html>