This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
index.html
87 lines (83 loc) · 4.22 KB
/
index.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
<!--
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html>
<head>
<title>Ballista Cloud Demo</title>
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.5/material.min.js"></script>
<script type="text/javascript" src="polyfill/ballista-polyfill.js"></script>
<script type="text/javascript" src="common/common.js"></script>
<script type="text/javascript" src="index.js"></script>
<link rel="icon" sizes="32x32" href="icon/32.png">
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.5/material.indigo-pink.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" type="text/css" href="common/common.css">
</head>
<body class="ballista requester">
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="ballista mdl-layout__header-row">
<h1 class="mdl-layout-title">Ballista Cloud Demo</span>
</div>
</header>
<main class="mdl-layout__content">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
Test out the <a href="https://github.com/chromium/ballista">Ballista
API</a> by creating a file, then editing it in an external
editor.<br /><strong>Note: These files are not saved anywhere; this
is just a demo.</strong>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell--12-col">
<table class="mdl-data-table mdl-js-data-table mdl-data-table--selectable mdl-shadow--2dp" id="file_table">
<thead>
<tr>
<th class="mdl-data-table__cell--non-numeric">Filename</th>
<th class="mdl-data-table__cell--non-numeric"></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="mdl-cell mdl-cell--1-col">
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored" id="delete_files" disabled>
<i class="material-icons">delete</i>
</button>
<div class="mdl-tooltip" for="delete_files">Delete selected files</div>
</div>
<div class="mdl-cell mdl-cell--1-col">
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-js-ripple-effect mdl-button--colored" id="new_file">
<i class="material-icons">add</i>
</button>
<div class="mdl-tooltip" for="new_file">Add new file</div>
</div>
</div>
<div class="mdl-grid" id="preview_label" style="display: none">
<div class="mdl-cell mdl-cell--12-col">
Preview of selected file:
</div>
</div>
<div class="mdl-grid" id="preview_box" style="display: none">
<div class="mdl-cell mdl-cell--4-col">
<div class="mdl-textfield mdl-js-textfield">
<textarea id="contents_textfield" class="mdl-textfield__input" type="text" rows="15" readonly></textarea>
</div>
</div>
</div>
</main>
</div>
<a href="https://github.com/chromium/ballista"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 1000" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
</body>
</html>