-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
65 lines (58 loc) · 2.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Composer UI</title>
<style>
body {
margin: 20px auto;
max-width: 650px;
line-height: 1.6;
font-size: 18px;
color: #444;
padding: 10px;
font-family: sans-serif;
}
</style>
</head>
<body>
<h1>Composer UI.</h1>
<p>Select a project to start.</p>
<div id="actions__composer" class="actions actions__composer visually-hidden">
<button id="action__install" class="action action--composer action--install">Install all dependencies</button>
<button id="action__update" class="action action--composer action--update">Update all dependencies</button>
</div>
<div id="actions__drupal" class="actions actions__drupal visually-hidden">
<button id="action__update_drupal" class="action action--drupal action--update">Update drupal</button>
</div>
<div id="actions_select" class="actions actions__select">
<button id="action__select" class="action action--select">Select project</button>
</div>
<div id="actions_remove" class="actions actions__remove visually-hidden">
<button id="action__remove_settings" class="action action--remove">Remove settings</button>
</div>
<div id="log" class="log">
<svg id="throbber" class="throbber visually-hidden" viewBox="0 0 300 300"
xmlns="http://www.w3.org/2000/svg" version="1.1" width="24" height="24">
<path d="M 150,0
a 150,150 0 0,1 106.066,256.066
l -35.355,-35.355
a -100,-100 0 0,0 -70.711,-170.711 z"
fill="#3d7fe6">
<animateTransform attributeName="transform" attributeType="XML"
type="rotate" from="0 150 150" to="360 150 150"
begin="0s" dur="1s" fill="freeze" repeatCount="indefinite" />
</path>
</svg>
</div>
</body>
<script type="text/javascript">
// Add main stylesheet.
var link = document.createElement('link')
link.setAttribute('rel', 'stylesheet')
link.setAttribute('href', require('path').join(__dirname, 'assets', 'style.css'))
document.head.appendChild(link)
// You can also require other files to run in this process
require('./renderer.js');
</script>
</html>