-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
68 lines (65 loc) · 2.39 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Yammer Block Settings</title>
<style>
body
{
font-size: 0.85em;
font-family: "Segoe UI", Tahoma;
}
.section
{
padding: 8px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #dcdcdc;
border-radius: 4px;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.05),0 1px 0 rgba(255,255,255,0.1);
}
.header
{
display: block;
font-weight: bold;
}
.error
{
margin: 2px 0px 2px 0px;
padding: 4px;
border: 2px solid #a00000;
background-color: #fff0f0;
}
</style>
</head>
<body>
<h3>Yammer Block Settings</h3>
<div class="section">
<span class="header">Users (comma separated)</span>
<textarea id="optionBlockedUsers" rows="3" cols="43"></textarea>
<div class="error" style="display:none">Each item must be a numeric value and separated by a comma.</div>
<div>
<label>Block Method</label>
<select id="optionBlockedUsersMethod">
<option value="0" selected>Hide post</option>
<option value="1">Mark as [hidden]</option>
</select>
</div>
</div>
<div class="section">
<span class="header">Phrases (comma separated)</span>
<textarea id="optionBlockedPhrases" rows="3" cols="43"></textarea>
</div>
<div class="section">
<span class="header">Posts & Groups</span>
<label><input type="checkbox" id="optionAllCo" checked />Group: Hide "All Company"</label><br />
<label><input type="checkbox" id="optionPrivateMessages" checked />Group: Hide Private Messages list</label><br />
<label><input type="checkbox" id="optionGroups" checked />Post: Hide Group Creates</label><br />
<label><input type="checkbox" id="optionJoins" checked />Post: Hide Group Joins</label><br />
<label><input type="checkbox" id="optionPraises" checked />Post: Hide Praises</label><br />
<label><input type="checkbox" id="optionRead" checked />Post: Hide Old Topics in "New Conversations"</label>
</div>
<button id="saveOptions">Save</button>
<script src="scripts/jquery-3.1.0.min.js"></script>
<script src="scripts/options.js"></script>
</body>
</html>