This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
index.template.html
211 lines (184 loc) · 9.41 KB
/
index.template.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!doctype html>
<html ng-app="docsApp" ng-controller="DocsCtrl" lang="en" ng-strict-di>
<head>
<meta charset="utf-8">
<base href="/">
<title ng-bind="'AngularJS Material - ' + menu.currentSection.name +
(menu.currentSection === menu.currentPage ? '' : ' > ' + menu.currentPage.name)">
AngularJS Material
</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic">
<link rel="stylesheet" href="angular-material.min.css">
<link rel="stylesheet" href="docs.css">
</head>
<body class="docs-body" layout="row" ng-cloak aria-label="AngularJS Material Docs">
<md-sidenav class="site-sidenav md-sidenav-left md-whiteframe-z2"
md-component-id="left" hide-print
md-is-locked-open="$mdMedia('gt-sm')">
<header class="nav-header">
<a ng-href="/" class="docs-logo">
<img src="img/logo.svg" alt="AngularJS Logo" />
<h1 class="docs-logotype md-heading">AngularJS Material</h1>
</a>
</header>
<ul class="skip-links">
<li>
<md-button class="md-icon-button" ng-click="focusMainContent($event)" href="#"
aria-label="Skip to main content">
<md-tooltip>Focus main content header</md-tooltip>
<md-icon md-svg-src="img/icons/ic_chevron_right_24px.svg"></md-icon>
</md-button>
</li>
</ul>
<md-content flex role="navigation">
<ul class="docs-menu">
<li ng-repeat="section in menu.sections" class="parent-list-item {{section.className || ''}}">
<h2 class="menu-heading md-subhead" ng-if="section.type === 'heading'" id="heading_{{ section.name | nospace }}">
{{section.name}}
</h2>
<menu-link section="section" ng-if="section.type === 'link' && !section.hidden"></menu-link>
<menu-toggle section="section" ng-if="section.type === 'toggle' && !section.hidden"></menu-toggle>
<ul ng-if="section.children" class="menu-nested-list">
<li ng-repeat="child in section.children">
<menu-link section="child" ng-if="child.type === 'link'"></menu-link>
<menu-toggle section="child" ng-if="child.type === 'toggle'"></menu-toggle>
</li>
</ul>
</li>
</ul>
</md-content>
</md-sidenav>
<main layout="column" flex>
<md-toolbar class="md-whiteframe-glow-z1 site-content-toolbar" md-theme="site-toolbar">
<div class="md-toolbar-tools docs-toolbar-tools" tabIndex="-1">
<md-button class="md-icon-button" ng-click="openMenu()" hide-gt-sm aria-label="Toggle Menu">
<md-icon md-svg-src="img/icons/ic_menu_24px.svg"></md-icon>
</md-button>
<div layout="row" flex class="fill-height">
<h2 class="md-toolbar-item md-breadcrumb md-headline" tabindex="-1">
<span ng-if="menu.currentPage.name !== menu.currentSection.name">
<span hide-sm hide-md>{{menu.currentSection.name}}</span>
<span class="docs-menu-separator-icon" hide-sm hide-md style="transform: translate3d(0, 1px, 0)">
<span class="md-visually-hidden">-</span>
<md-icon
aria-hidden="true"
md-svg-src="img/icons/ic_chevron_right_24px.svg"
style="margin-top: -2px"></md-icon>
</span>
</span>
<span class="md-breadcrumb-page">{{menu.currentPage | humanizeDoc}}</span>
</h2>
<span flex></span> <!-- use up the empty space -->
<div class="md-toolbar-item docs-tools" layout="row">
<md-button class="md-icon-button"
aria-label="Install with NPM"
ng-if="!currentComponent.docs.length && !currentComponent.isService"
target="_blank"
ng-href="https://www.npmjs.com/package/angular-material">
<md-tooltip md-autohide>Install with NPM</md-tooltip>
<md-icon md-svg-src="img/icons/npm-logo.svg"></md-icon>
</md-button>
<md-button class="md-icon-button"
aria-label="View Source on Github"
ng-if="!currentComponent.docs.length && !currentComponent.isService"
target="_blank"
ng-href="{{BUILDCONFIG.repository}}/{{menu.version.current.github}}">
<md-tooltip md-autohide>View Source on Github</md-tooltip>
<md-icon md-svg-src="img/icons/github-icon.svg" style="color: black;"></md-icon>
</md-button>
<md-select
ng-if="currentComponent.docs.length"
ng-class="{ hide: path().indexOf('demo') == -1 }"
ng-model="relatedPage"
placeholder="API Reference"
class="md-body-1">
<md-optgroup label="Directives" ng-if="(currentComponent.docs | filter: { type: 'directive' }).length">
<md-option
ng-repeat="doc in currentComponent.docs | filter: { type: 'directive' }"
ng-value="doc.url"
ng-click="redirectToUrl(doc.url)"
aria-label="{{ doc | humanizeDoc }}">
{{doc | humanizeDoc | directiveBrackets:doc.restrict}}
</md-option>
</md-optgroup>
<md-optgroup label="Services" ng-if="(currentComponent.docs | filter: { type: 'service' }).length">
<md-option
ng-repeat="doc in currentComponent.docs | filter: { type: 'service' }"
ng-value="doc.url"
ng-click="redirectToUrl(doc.url)"
aria-label="{{ doc | humanizeDoc }}">
{{doc | humanizeDoc | directiveBrackets}}
</md-option>
</md-optgroup>
</md-select>
<md-button
class="md-icon-button"
aria-label="View Demo"
ng-class="{hide: !currentDoc || !currentDoc.hasDemo || !currentComponent.demoUrl}"
ng-href="{{currentComponent.demoUrl}}">
<md-icon md-svg-src="img/icons/ic_play_circle_fill_24px.svg" style="fill: #666666">
</md-icon>
<md-tooltip>View Demo</md-tooltip>
</md-button>
<md-button
aria-label="View Source on Github"
class="md-icon-button"
ng-class="{hide: !currentDoc}"
ng-href="{{currentDoc.githubUrl}}"
hide-sm hide-md>
<md-icon md-svg-src="img/icons/github-icon.svg"></md-icon>
<md-tooltip>View Source on Github</md-tooltip>
</md-button>
</div>
</div>
</div>
<div class="eol-notice">
<div>
AngularJS Material <a ng-href="https://docs.angularjs.org/misc/version-support-status">Long Term Support</a>
has officially ended as of January 2022. Read the
<a href="https://goo.gle/angularjs-end-of-life">End-Of-Life announcement</a>.
</div>
</div>
</md-toolbar>
<md-content md-scroll-y flex>
<div ng-view layout-padding flex="noshrink" class="docs-ng-view" cache-scroll-position></div>
<div layout="row" flex="noshrink" layout-align="center center">
<div id="license-footer" flex>
Powered by Google ©2014–{{thisYear}}.
Code licensed under the <a ng-href="./license">MIT License</a>.
Documentation licensed under
<a href="http://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a>.
</div>
</div>
<md-button class="md-fab md-fab-bottom-right docs-scroll-fab"
docs-scroll-class="scrolling"
ng-click="scrollTop()"
aria-label="Back to Top">
<md-tooltip md-direction="top">Back to Top</md-tooltip>
<md-icon md-svg-src="img/icons/ic_arrow_up_24px.svg"></md-icon>
</md-button>
</md-content>
</main>
<!-- Preload is (currently) only used for testing jQuery -->
<script src="preload.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/{$ doc.buildConfig.ngVersion $}/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/{$ doc.buildConfig.ngVersion $}/angular-animate.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/{$ doc.buildConfig.ngVersion $}/angular-route.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/{$ doc.buildConfig.ngVersion $}/angular-aria.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/{$ doc.buildConfig.ngVersion $}/angular-messages.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.js"></script>
<script src="angular-material.min.js"></script>
<script src="docs.js"></script>
<script src="docs-demo-scripts.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-8594346-14', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>