-
Notifications
You must be signed in to change notification settings - Fork 11
/
header.html
executable file
·145 lines (132 loc) · 7.21 KB
/
header.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>File ...</title>
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="/fancyindex/images/android-desktop.png">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Material Design Lite">
<link rel="apple-touch-icon-precomposed" href="/fancyindex/images/ios-desktop.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="/fancyindex/images/touch/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#3372DF">
<link rel="shortcut icon" href="/fancyindex/images/favicon.png">
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
<!--
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
-->
<link rel="stylesheet" href="/fancyindex/roboto.css">
<link rel="stylesheet" href="/fancyindex/material-icons.css">
<link rel="stylesheet" type="text/css" href="/fancyindex/dialog-polyfill.css" />
<script src="/fancyindex/mdl/material.min.js"></script>
<link rel="stylesheet" href="/fancyindex/mdl/material.min.css">
<link rel="stylesheet" href="/fancyindex/fancyindex.css">
</head>
<body>
<!-- Always shows a header, even in smaller screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
<!-- waterfall for second row hidden if scroll-->
<header class="mdl-layout__header mdl-layout__header--waterfall">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title" id="currentTitle">Title</span>
<div class="mdl-layout-spacer"></div>
<!-- Add spacer, to align navigation to the right -->
<a id="homebtn" href="" class="no-mobile">
<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">home</i>
</button>
</a>
<button id="sortbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">sort</i>
</button>
<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect mdl-list" for="sortbtn">
<li class="mdl-list__item mdl-menu__item">
<a id="sortByDate" href="?C=M&O=D">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">date_range</i>
By Date
</span>
</a>
</li>
<li class="mdl-list__item mdl-menu__item">
<a id="sortByName" href="?C=N&O=D">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">sort_by_alpha</i>
By Name
</span>
</a>
</li>
<li class="mdl-list__item mdl-menu__item">
<a id="sortBySize" href="?C=S&O=D">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">filter_list</i>
By Size
</span>
</a>
</li>
</ul>
<a id="logOut" href="">
<button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons" role="presentation">lock_open</i>
</button>
</a>
</div>
<div class="mdl-layout__header-row">
<div class="no-search mdl-typography--title" id="currentPathTitle">/path/path/path</div>
<div class="no-search mdl-layout-spacer"></div>
<label class="no-search mdl-button mdl-js-button mdl-button--icon" onclick="clickSearch()">
<i class="material-icons">search</i>
</label>
<div class="search search-novisible mdl-textfieldno-search fullwidth">
<input class="mdl-textfield__input fullwidth" type="text" id="search-field">
</div>
<div class="search search-novisible mdl-layout-spacer"></div>
<label class="search search-novisible mdl-button mdl-js-button mdl-button--icon" for="search-field" onclick="clickResetSearch()">
<i class="material-icons">clear</i>
</label>
</div>
</header>
<div class="mdl-layout__drawer">
<ul class="mdl-list">
<li class="mdl-layout-title mdl-list__item mdl-navigation__link">
<span class="mdl-color-text--primary mdl-list__item-primary-content">
<i class="mdl-color-text--primary material-icons mdl-list__item-icon">filter_drama</i>
FancyIndex
</span>
</li>
</ul>
<nav class="mdl-navigation">
<ul class="mdl-list " id="menuNav">
<li class="mdl-list__item mdl-navigation__link">
<a id="homelink" href="">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">home</i>
Home
</span>
</a>
</li>
</ul>
</nav>
</div>
<dialog class="mdl-dialog">
<div id="templateDialog">
</div>
<div class="mdl-dialog__actions">
<button type="button" class="mdl-button" onclick="clickCloseInfo()">Close</button>
<button id="btnCopyURL" type="button" class="mdl-button">Copy URL</button>
</div>
</dialog>
<main class="mdl-layout__content">
<div class="content_fancyindex">
<ul class="mdl-list" id="listItems">
</ul>
<div id="original_fancyindex">