File: index.html

package info (click to toggle)
mediawiki 1%3A1.43.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 417,464 kB
  • sloc: php: 1,062,949; javascript: 664,290; sql: 9,714; python: 5,458; xml: 3,489; sh: 1,131; makefile: 64
file content (108 lines) | stat: -rw-r--r-- 2,217 bytes parent folder | download | duplicates (2)
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
<!--
/*!
 * VisualEditor trigger demo
 *
 * @copyright See AUTHORS.txt
 */
-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>VisualEditor Trigger Demo</title>
		<style>
			body {
				font-size: 1em;
				font-family: sans-serif;
				cursor: default;
			}
			ul {
				margin: 0;
				padding: 0;
				list-style: none;
			}
			.flow li {
				display: inline-block;
			}
			.stack li {
				display: inline-block;
				white-space: nowrap;
				padding: 0.75em;
				margin: 0.125em;
				border: 1px solid #ccc;
				background-color: #eee;
				border-radius: 3px;
			}
			.key {
				display: inline-block;
				cursor: pointer;
				color: #fff;
				background-color: #555;
				margin: 0.125em;
				padding: 0.75em;
				border-radius: 0.25em;
				border: 2px outset #555;
				-moz-user-select: none;
				-webkit-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}
			.alias {
				color: #bbb;
			}
			.active {
				border: inset 2px #444;
				background-color: #333;
				text-shadow: 0 0 0.5em #fff
			}
			table {
				width: 100%;
			}
			td {
				padding: 3em;
				vertical-align: top;
			}
			h1 {
				padding: 1.5em;
				padding-bottom: 0;
				margin: 0;
			}
			h2 {
				font-weight: normal;
			}
			.title {
				color: #777;
			}
		</style>
	</head>
	<body>
		<h1><span class="title">Key sequence: </span><span id="trigger"></span></h1>
		<table>
			<tr>
				<td>
					<h2 class="title">Modifiers</h2>
					<ul id="modifiers" class="flow"></ul>
				</td>
				<td>
					<h2 class="title">Primary</h2>
					<ul id="primary" class="flow"></ul>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<h2 class="title">Aliases</h2>
					<ul id="aliases" class="stack"></ul>
				</td>
			</tr>
		</table>
		<script src="../../lib/jquery/jquery.js"></script>
		<script src="../../lib/oojs/oojs.js"></script>
		<script src="../../lib/oojs-ui/oojs-ui-core.js"></script>
		<script src="../../lib/oojs-ui/oojs-ui-windows.js"></script>
		<script src="../../lib/unicodejs/unicodejs.js"></script>
		<script src="../../src/ve.js"></script>
		<script src="../../src/ui/ve.ui.js"></script>
		<script src="../../src/ui/ve.ui.Trigger.js"></script>
		<script src="trigger.js"></script>
	</body>
</html>