-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
147 lines (141 loc) · 4.86 KB
/
options.html
File metadata and controls
147 lines (141 loc) · 4.86 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html dir="rtl" lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>تنظیمات افزونه Abdal Reverse Type</title>
<style>
body {
font-family: Tahoma, Arial, sans-serif;
direction: rtl;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
color: #333;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
h1 {
color: #2c3e50;
margin-top: 0;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
select, input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
direction: rtl;
}
.radio-group {
margin-top: 10px;
}
.radio-option {
margin-bottom: 10px;
}
.radio-option input {
width: auto;
margin-left: 10px;
}
button {
background-color: #3498db;
color: white;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: bold;
}
button:hover {
background-color: #2980b9;
}
.status {
margin-top: 15px;
padding: 10px;
border-radius: 4px;
display: none;
text-align: center;
}
.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.key-example {
display: inline-block;
background-color: #eee;
border: 1px solid #ddd;
border-radius: 3px;
padding: 2px 6px;
margin: 0 3px;
font-family: monospace;
}
.info-text {
font-size: 13px;
color: #666;
margin-top: 5px;
line-height: 1.5;
}
</style>
</head>
<body>
<div class="container">
<h1>تنظیمات افزونه Abdal Reverse Type</h1>
<div class="form-group">
<label for="peKeyMapping">حالت کلید «پ» در کیبورد:</label>
<div class="radio-group">
<div class="radio-option">
<input type="radio" id="pe-m" name="peKeyMapping" value="m">
<label for="pe-m">کلید <span class="key-example">m</span> (حالت استاندارد)</label>
</div>
<div class="radio-option">
<input type="radio" id="pe-backslash" name="peKeyMapping" value="\">
<label for="pe-backslash">کلید <span class="key-example">\</span> (بکاسلش)</label>
</div>
<div class="radio-option">
<input type="radio" id="pe-backtick" name="peKeyMapping" value="`">
<label for="pe-backtick">کلید <span class="key-example">`</span> (بکتیک)</label>
</div>
</div>
<p class="info-text">
بسته به نوع کیبورد و سیستمعامل شما، ممکن است حرف «پ» با کلیدهای مختلفی نمایش داده شود. تنظیمات بالا به شما امکان میدهد کلید مناسب برای کیبورد خود را انتخاب کنید.
</p>
</div>
<div class="form-group">
<label for="shortcut">میانبر صفحه کلید:</label>
<input type="text" id="shortcut" placeholder="مثال: Alt+Shift+L">
<p class="info-text">
میانبری برای تبدیل سریع متن بدون نیاز به کلیک راست.
</p>
<p class="info-text">
توجه: در صورتی که بامشکلی مواجه شدید از طریق ایمیل <a href="mailto:prof.shafiei@gmail.com">prof.shafiei@gmail.com</a> پیام بگذارید.
</p>
</div>
<button id="save">ذخیره تنظیمات</button>
<div id="status" class="status"></div>
</div>
<script src="options.js"></script>
</body>
</html>