-
Notifications
You must be signed in to change notification settings - Fork 0
/
Data & Storage Page update
156 lines (151 loc) · 4.83 KB
/
Data & Storage Page update
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
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Data & Storage</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0; /* Light grey background */
color: #333;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 50px auto;
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
position: relative; /* Ensure bubbles position correctly */
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.setting-option {
margin: 15px 0;
padding: 15px;
background-color: #28a745; /* Green background */
border: 2px solid black; /* Black border */
border-radius: 5px;
text-align: center;
transition: background-color 0.3s;
cursor: pointer;
color: white; /* White text color for green boxes */
}
.setting-option a {
text-decoration: none;
color: white; /* White text color for links in green boxes */
font-size: 18px;
}
.setting-option:hover {
background-color: #218838; /* Darker green on hover */
}
.bubble {
display: none; /* Initially hidden */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
padding: 20px;
background: white;
border: 2px solid #28a745;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
.bubble h2 {
color: #333; /* Darker color for headings inside bubble */
margin-top: 0;
}
.bubble input {
width: 100%;
padding: 10px;
margin: 10px 0;
border-radius: 4px;
border: 1px solid #ccc;
}
.bubble button {
padding: 10px 20px;
border: none;
border-radius: 4px;
background-color: #28a745;
color: white;
cursor: pointer;
font-size: 16px;
}
.bubble button:hover {
background-color: #218838;
}
.bubble .close-btn {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
font-size: 20px;
cursor: pointer;
color: #28a745;
}
.bubble .close-btn:hover {
color: #218838;
}
.back-btn {
position: absolute;
top: 20px;
left: 20px;
background-color: #28a745;
color: white;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
text-decoration: none;
}
.back-btn:hover {
background-color: #218838;
}
</style>
</head>
<body>
<a href="settings.html" class="back-btn">Back</a>
<div class="container">
<h1>Data & Storage</h1>
<div class="setting-option" onclick="showBubble('manage-data')">Manage Data</div>
<div class="setting-option" onclick="showBubble('storage-management')">Storage Management</div>
<div class="setting-option" onclick="showBubble('email-storage')">Email Storage</div>
</div>
<!-- Bubbles for editing settings -->
<div id="manage-data" class="bubble">
<button class="close-btn" onclick="closeBubble('manage-data')">×</button>
<h2>Manage Data</h2>
<input type="text" placeholder="Data management settings...">
<button>Save Changes</button>
</div>
<div id="storage-management" class="bubble">
<button class="close-btn" onclick="closeBubble('storage-management')">×</button>
<h2>Storage Management</h2>
<input type="text" placeholder="Storage management details...">
<button>Save Changes</button>
</div>
<div id="email-storage" class="bubble">
<button class="close-btn" onclick="closeBubble('email-storage')">×</button>
<h2>Email Storage</h2>
<input type="text" placeholder="Email storage settings...">
<button>Save Changes</button>
</div>
<script>
function showBubble(id) {
document.getElementById(id).style.display = 'block';
}
function closeBubble(id) {
document.getElementById(id).style.display = 'none';
}
</script>
</body>
</html>