Skip to content

Commit bd8aeb4

Browse files
committed
1
1 parent 2ca0387 commit bd8aeb4

37 files changed

+1966
-0
lines changed

calendar.html

+143
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
<!DOCTYPE html>
2+
<html lang="en" dir="ltr">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Calender-edit</title>
6+
<link rel="stylesheet" href="style.css">
7+
<link rel="stylesheet" href="evo-calendar.min.css">
8+
<link rel="stylesheet" href="evo-calendar.midnight-blue.min.css">
9+
<link rel="preconnect" href="https://fonts.googleapis.com">
10+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap" rel="stylesheet">
12+
<link rel = "icon" href ="logo.png" type = "image/x-icon">
13+
<!-- Boxicons CDN Link -->
14+
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
</head>
17+
<body>
18+
<div class="sidebar">
19+
<div class="logo-details">
20+
<i class='bx bxl-slack icon'></i>
21+
<div class="logo_name">Flippy</div>
22+
<i class='bx bx-menu' id="btn" ></i>
23+
</div>
24+
<ul class="nav-list">
25+
<li>
26+
<i class='bx bx-search' ></i>
27+
<input type="text" placeholder="Search...">
28+
<span class="tooltip">Search</span>
29+
</li>
30+
<li>
31+
<a href="main.html">
32+
<i class='bx bx-grid-alt'></i>
33+
<span class="links_name">Dashboard</span>
34+
</a>
35+
<span class="tooltip">Dashboard</span>
36+
</li>
37+
<li>
38+
<a href="#">
39+
<i class='bx bx-user' ></i>
40+
<span class="links_name">Profile</span>
41+
</a>
42+
<span class="tooltip">Profile</span>
43+
</li>
44+
<li>
45+
<a href="C:\Users\dell\Desktop\web hackthon\calender\calendar.html">
46+
<i class='bx bx-calendar-event'></i>
47+
<span class="links_name">Calendar</span>
48+
</a>
49+
<span class="tooltip">Calendar</span>
50+
</li>
51+
<li>
52+
<a href="teacher.html">
53+
<i class='bx bx-task'></i>
54+
<span class="links_name">Assignment</span>
55+
</a>
56+
<span class="tooltip">Assignment</span>
57+
</li>
58+
<li>
59+
<a href="#">
60+
<i class='bx bxs-pencil'></i>
61+
<span class="links_name">Examination</span>
62+
</a>
63+
<span class="tooltip">Examination</span>
64+
</li>
65+
<li>
66+
<a href="#">
67+
<i class='bx bxs-folder-open'></i>
68+
<span class="links_name">File Manager</span>
69+
</a>
70+
<span class="tooltip">Files</span>
71+
</li>
72+
<li>
73+
<a href="#">
74+
<i class='bx bx-cog' ></i>
75+
<span class="links_name">Setting</span>
76+
</a>
77+
<span class="tooltip">Setting</span>
78+
</li>
79+
<li class="profile">
80+
<div class="profile-details">
81+
<img src="prof.jpg" alt="profileImg">
82+
<div class="name_job">
83+
<div class="name">Mani</div>
84+
<div class="job">Fake Web designer</div>
85+
</div>
86+
</div>
87+
<a href="https://www.google.com/">
88+
<i class='bx bx-log-out' id="log_out" ></i>
89+
</a>
90+
</li>
91+
</ul>
92+
</div>
93+
<section class="home-section">
94+
<div class="text">Calendar</div>
95+
<div class="dat">
96+
<div id="calendar"></div>
97+
</div>
98+
99+
</section>
100+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
101+
<script src="evo-calendar.min.js"></script>
102+
<script >
103+
104+
$(document).ready(function() {
105+
$('#calendar').evoCalendar({
106+
theme:"Midnight Blue",
107+
calendarEvents: [
108+
{
109+
id: 'event1', // Event's ID (required)
110+
name: "New Year", // Event name (required)
111+
date: "January/1/2020", // Event date (required)
112+
description:"happy new year ",
113+
type: "holiday", // Event type (required)
114+
everyYear: true // Same event every year (optional)
115+
},
116+
{
117+
id: 'event2', // Event's ID (required)
118+
name: "Project submition", // Event name (required)
119+
date: "August/31/2021", // Event date (required)
120+
description:"please submit the project Topper team members:Dev,Deepak,Levin ",
121+
type: "holiday", // Event type (required)
122+
everyYear: false // Same event every year (optional)
123+
},
124+
{
125+
name: "Vacation Leave",
126+
badge: "02/13 - 02/15", // Event badge (optional)
127+
date: ["February/13/2020", "February/15/2020"], // Date range
128+
description: "Vacation leave for 3 days.", // Event description (optional)
129+
type: "event",
130+
color: "#63d867" // Event custom color (optional)
131+
}
132+
]
133+
134+
135+
136+
})
137+
})
138+
139+
</script>
140+
<script src="scriptcalender.js"></script>
141+
142+
</body>
143+
</html>

evo-calendar.midnight-blue.min.css

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

evo-calendar.min.css

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

evo-calendar.min.js

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

firebase.js

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
var user;
2+
3+
function signUp(){
4+
var mail = document.getElementById("mail").value
5+
var pwd = document.getElementById("password").value
6+
var type = document.getElementById("type").value
7+
8+
firebase.auth().createUserWithEmailAndPassword(mail,pwd).then((userCredential) => {
9+
var user = firebase.auth().currentUser;
10+
var uid;
11+
if (user != null) {
12+
uid = user.uid;
13+
}
14+
var firebaseRef = firebase.database().ref();
15+
var userData = {
16+
userEmail: mail,
17+
userPassword: pwd,
18+
userType:type,
19+
20+
}
21+
firebaseRef.child(uid).set(userData);
22+
if(type == "Teacher"){
23+
window.location = "main.html";
24+
}
25+
else{
26+
//
27+
}
28+
}).catch((error) => {
29+
// Handle Errors here.
30+
var errorCode = error.code;
31+
var errorMessage = error.message;
32+
33+
34+
});
35+
36+
37+
}
38+
39+
function logIn(){
40+
var mail = document.getElementById("mail").value
41+
var pwd = document.getElementById("password").value
42+
var type = document.getElementById("type").value
43+
44+
firebase.auth().signInWithEmailAndPassword(mail,pwd).then((userCredential) => {
45+
const user = userCredential.user;
46+
if(type == "Teacher"){
47+
window.location = "main.html";
48+
}
49+
else{
50+
//
51+
}
52+
}).catch((error)=>{
53+
54+
var errorCode = error.code;
55+
var errorMessage = error.message;
56+
57+
});
58+
}
59+
60+
function google(){
61+
var provider = new firebase.auth.GoogleAuthProvider();
62+
63+
firebase.auth().signInWithPopup(provider).then(function(result) {
64+
// This gives you a Google Access Token. You can use it to access the Google API.
65+
var token = result.credential.accessToken;
66+
// The signed-in user info.
67+
var user = result.user;
68+
if(type == "Teacher"){
69+
window.location = "main.html";
70+
}
71+
else{
72+
//
73+
}
74+
}).catch(function(error) {
75+
// Handle Errors here.
76+
var errorCode = error.code;
77+
var errorMessage = error.message;
78+
// The email of the user's account used.
79+
var email = error.email;
80+
// The firebase.auth.AuthCredential type that was used.
81+
var credential = error.credential;
82+
// ...
83+
});
84+
}

images/JAVA.png

32.6 KB
Loading

images/ML.png

27.4 KB
Loading

images/Python.png

30.2 KB
Loading

images/Rectangle 32.png

24.1 KB
Loading

images/desktop_1.png

8.49 MB
Loading

images/ellipse_2.png

6.63 KB
Loading

images/ellipse_3.png

5 KB
Loading

images/git.png

7.43 KB
Loading

images/image_1.png

6.29 KB
Loading

images/loading.gif

26.1 KB
Loading

index.html

+113
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
5+
6+
<title>Html Generated</title>
7+
<meta name="description" content="Figma htmlGenerator">
8+
<meta name="author" content="htmlGenerator">
9+
<link rel = "icon" href ="logo.png" type = "image/x-icon">
10+
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
11+
12+
<link rel="stylesheet" href="styles.css">
13+
14+
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
15+
16+
17+
18+
19+
20+
</head>
21+
22+
<body>
23+
<div id="loading">
24+
<img src="images/loading.gif" alt="" />
25+
</div>
26+
<div class=e3_30>
27+
<div class=e25_4>
28+
<div class="e3_32"></div>
29+
<div class=e40_28>
30+
<div class="e13_4"></div>
31+
<button class="e40_37" type="button" onclick ="logIn()">LOG IN</button>
32+
</div>
33+
<div class=e40_35>
34+
<div class="e40_36"></div>
35+
<button class="e40_37" type="button" onclick ="signUp()">SIGN UP</button>
36+
</div>
37+
<div class=e25_6>
38+
<div class="e40_26"></div>
39+
<input class ="e11_10" type ="password" id ="password" placeholder="Password">
40+
</div>
41+
<div class=e70_2>
42+
<div class="e70_3"></div>
43+
<select class ="e11_10" id ="type" name="type">
44+
<option value="Teacher">Teacher</option>
45+
<option value="Student">Student</option>
46+
</select>
47+
</div>
48+
<div class=e25_5>
49+
<div class="e3_36">
50+
</div>
51+
<input class ="e11_10" type ="email" id ="mail" placeholder="Email">
52+
</div>
53+
<span class="e3_35">Login</span>
54+
<div class="e61_2"></div>
55+
56+
<div class="e40_30" onclick="google()"></div>
57+
</div>
58+
</div>
59+
60+
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
61+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
62+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
63+
64+
<!-- Firebase -->
65+
66+
<script src="https://www.gstatic.com/firebasejs/5.9.4/firebase.js"></script>
67+
<!-- The core Firebase JS SDK is always required and must be listed first -->
68+
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-app.js"></script>
69+
70+
<!-- TODO: Add SDKs for Firebase products that you want to use
71+
https://firebase.google.com/docs/web/setup#available-libraries -->
72+
<script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-analytics.js"></script>
73+
<!-- Add Firebase products that you want to use -->
74+
<script src="https://www.gstatic.com/firebasejs/6.1.1/firebase-auth.js"></script>
75+
76+
<script src="https://www.gstatic.com/firebasejs/6.1.1/firebase-database.js"></script>
77+
78+
79+
80+
81+
82+
<!--script src=”/__/firebase/7.14.4/firebase-app.js”></script-->
83+
84+
85+
86+
<!--script src=”/__/firebase/7.14.4/firebase-auth.js”></script-->
87+
88+
<script>
89+
// Your web app's Firebase configuration
90+
const firebaseConfig = {
91+
apiKey: "AIzaSyCr35Yp2pJO6iR6cbzPpoioA_2EYj6uwEc",
92+
authDomain: "flipr---web-development.firebaseapp.com",
93+
projectId: "flipr---web-development",
94+
storageBucket: "flipr---web-development.appspot.com",
95+
messagingSenderId: "176247173838",
96+
appId: "1:176247173838:web:8b6e1e27b40040519dd69f",
97+
measurementId: "G-42SLJL1YCL",
98+
databaseURL: "https://flipr---web-development-default-rtdb.firebaseio.com/"
99+
};
100+
// Initialize Firebase
101+
firebase.initializeApp(firebaseConfig);
102+
firebase.analytics();
103+
firebase.database();
104+
</script>
105+
<script src="firebase.js"></script>
106+
<script type="text/javascript">
107+
window.onload = function(){
108+
document.getElementById("loading").style.display="none";
109+
}
110+
</script>
111+
112+
</body>
113+
</html>

logo.png

468 Bytes
Loading

0 commit comments

Comments
 (0)