Skip to content

Commit

Permalink
Merge pull request #187 from T-Rahul-prabhu-38/main
Browse files Browse the repository at this point in the history
✨the multi language support has been added to all the pages.✨
  • Loading branch information
Harshdev098 authored Oct 18, 2024
2 parents ef515ee + d6c7fc5 commit 561e7d9
Show file tree
Hide file tree
Showing 24 changed files with 246 additions and 5 deletions.
15 changes: 15 additions & 0 deletions public/allotment.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,25 @@
.btn button {
margin: 5px;
}

</style>
</head>

<body>
<div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>

<p id="result1"><i class="fa-solid fa-check" style="padding: 0px 12px;font-size: 26px;"></i>Paper Alloted! Refreshing
</p>
<p id="result2"><i class="fa-solid fa-xmark" style="padding: 0px 12px;font-size: 26px;"></i>An error occured during
Expand Down
13 changes: 13 additions & 0 deletions public/choose-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@
</head>

<body>
<div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<img src="images/moon.webp" id="icon">

<div class="container">
Expand Down
13 changes: 13 additions & 0 deletions public/contact-us.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@
</head>

<body>
<div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<img src="images/moon.webp" id="icon">
<div class="maindiv">
<div class="imgdiv">
Expand Down
1 change: 1 addition & 0 deletions public/css/contact-us.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
font-family: 'Poppins', sans-serif;
}


.formdiv {
display: flex;
justify-content: center;
Expand Down
1 change: 1 addition & 0 deletions public/css/form.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ body {
pointer-events: none;
}


.circles li {
position: absolute;
display: block;
Expand Down
1 change: 1 addition & 0 deletions public/css/login_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ body {
color: #333;
}


#icon{
width: 30px;
cursor: pointer;
Expand Down
15 changes: 15 additions & 0 deletions public/css/main_page_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,22 @@
.search-bar {
display: flex;
align-items: center;

flex-wrap: wrap;
padding: 12px;
background-color: rgb(43 43 43);
}


#icon{
width: 30px;
cursor: pointer;
position: absolute;
top: 30px;
right: 90px;

margin-top: 5px;

}

.search-bar input {
Expand Down
1 change: 1 addition & 0 deletions public/css/profile.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ section{
--forth-color: #f0f8ff;

}


.dark-theme{
--primary-color: #0e0e0e;
Expand Down
1 change: 1 addition & 0 deletions public/css/stk_mainstyling.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ body{
width: 50%;
margin: 30px;
}

@media (max-width:1296px){
.main{
width: 56vw;
Expand Down
1 change: 1 addition & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ body {
background-color: rgb(241 241 244);
}


/* navbar styling */

.navbar {
Expand Down
1 change: 1 addition & 0 deletions public/css/uploadfile.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ section h2 {
padding: 30px 0px;
}


.form {
width: 40vw;
font-size: 20px;
Expand Down
16 changes: 16 additions & 0 deletions public/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
</head>


<body>
<section>
<div class="container">
Expand All @@ -28,6 +29,21 @@
<li><i class="fa-solid fa-code" style="padding: 0px 14px;"></i>About Us</li>
<li onclick="view_result()"><i class="fa-solid fa-code" style="padding: 0px 14px;"></i>View Result</li>
<li id="logoutBtn"><i class="fa-solid fa-code" style="padding: 0px 14px;"></i>Log Out</li>
<li>
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
</li>
</ul>
</div>
<div class="largesection">
Expand Down
14 changes: 13 additions & 1 deletion public/fac_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@
<link rel="stylesheet" href="css/login_style.css">
</head>

<body>
<body> <div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<img src="images/moon.webp" id="icon">
<div class="container">
<div class="image">
Expand Down
14 changes: 13 additions & 1 deletion public/faculty.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,19 @@
<link rel="stylesheet" href="css/faculty_styling.css">
</head>

<body>
<body> <div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<p id="result1"><i class="fa-solid fa-check" style="padding: 0px 12px;font-size: 26px;"></i>Rating Saved
</p>
<p id="result2"><i class="fa-solid fa-xmark" style="padding: 0px 12px;font-size: 26px;"></i>An error occured</p>
Expand Down
14 changes: 13 additions & 1 deletion public/form_filling.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@
</head>

<body>

<div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<ul class="circles">
<li></li>
<li></li>
Expand Down
15 changes: 15 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@
<li title="Our Services"><a href="#services">Services</a></li>
<li title="About Us"><a href="#about_show">About</a></li>
<li title="Main Page"><a href="#">Home</a></li>
<li>
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
</li>
</ul>
</nav>
</div>
Expand Down
17 changes: 16 additions & 1 deletion public/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,21 @@
<title>Login</title>
</head>

<body>
<body>

<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>

<img src="images/moon.webp" id="icon">
<div class="container">
<div class="image">
Expand All @@ -35,6 +49,7 @@ <h4 style="text-align: center; margin: 10px 0px 6px 0px;font-size: 22px;">(for R
<button type="button" onclick="login()">Login</button>
<div class="register">
<p style="display: inline;">Haven't Register?&nbsp;</p><a href="signup.html">Register Now</a>
<div class="gtranslate_wrapper"></div>
</div>
</form>
</div>
Expand Down
17 changes: 17 additions & 0 deletions public/main_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,24 @@
</head>

<body>

<div style="position: absolute; bottom:30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<header>

<!-- <header>
<div class="head">
<div class="logo"><img src="images/logo.webp" alt="" width="160px"></div>
<div id="heading" style="font-size: 34px;color: white;">Research Nexas</div>
Expand Down
14 changes: 14 additions & 0 deletions public/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,24 @@
.criteria li.valid {
color: green;
}

</style>
</head>

<body>
<div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<img src="images/moon.webp" id="icon">
<div class="container">
<div class="image">
Expand Down
15 changes: 14 additions & 1 deletion public/stk_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

<body>
<header>
<div class="dark-mode-toggle" style="cursor: pointer; position: absolute; top: 10px; right: 10px;">
<div class="dark-mode-toggle" style="cursor: pointer; position: absolute; bottom: 10px; right: 10px;">
<i id="darkModeIcon" class="fa-solid fa-moon"
style="color: white; font-size: 26px;margin:3px;padding:6px;"></i>
</div>
Expand Down Expand Up @@ -212,6 +212,19 @@ <h2 class="mb-0">
</div>
</section>

<div style="position: absolute; top: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
Expand Down
13 changes: 13 additions & 0 deletions public/stk_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
</head>

<body>
<div style="position: absolute; bottom: 30px; left: 30px;" class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
detect_browser_language: true,
wrapper_selector: ".gtranslate_wrapper",
font_size: 100,
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/popup.js"
defer
></script>
<img src="images/moon.webp" id="icon">
<div class="container">
<div class="image">
Expand Down
Loading

0 comments on commit 561e7d9

Please sign in to comment.