-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (78 loc) · 1.91 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
<html>
<head>
<title>FusionApps-Bookmarklets</title>
<style>
body {
font-family: "Arial";
}
/*
#00688c base blue
#00758f blue
#bde6ee light blue
#cad9de light slate
#3a913f green
#942645 burgundy
*/
#wrapper {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#jsBuffer {
display:none;
}
.button {
display: inline-block;
text-align: center;
text-decoration: none;
vertical-align: middle;
padding: 0.5em;
margin: 0;
font-size: 1em;
/*line-height: 5em;*/
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color: #942645;
box-shadow: 0 0 0 1px #00758f;
border: 0;
background: #bde6ee;
cursor: alias;
position: relative;
}
p {
width: 600px;
padding-bottom: 0.1em;
font-size: 1em;
color: black;
}
#instructionsHeader {
font-weight:bold;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
</head>
<body>
<div id="wrapper">
<p id="instructionsHeader">Instructions</p>
<p id="instructions">Drag each of the buttons below onto you browser's bookmarks bar.<br/>
Open a session on a HCM Cloud environment<br/>
Click chosen newly added bookmark to open a new window that redirects to the named part of the application.
</p>
<p>
<a class="button" id="homeBtn" href="coucou">Home</a>
</p>
</div>
<div id="jsBuffer"></div>
<script>
$(function(){
$('#jsBuffer').load('https://cdn.jsdelivr.net/gh/masebu/FusionApps-Bookmarklets/Home.js', function(){
document.getElementById('homeBtn').href=document.getElementById('jsBuffer').innerHTML;
});
});
</script>
</body>
</html>