change_logo_and_other : RV

This commit is contained in:
VENKATESHWARAN 2024-01-29 13:28:07 +05:30
parent 567694928a
commit e0944e65ba
8 changed files with 61 additions and 27 deletions

View File

@ -3,10 +3,8 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <title>Project-B</title> -->
<title id="dynamicTitle"></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
@ -483,7 +481,7 @@ math {
<div class="col-lg-12">
<div class="nav-menu">
<div class="header-logo">
<a href="dashboard.html" ><img class="logo-d" src="assets/images/project-b-logo.png" alt=""></a>
<a href="dashboard.html" ><img class="logo-d" src="assets/images/Nexa_Author Logo.png" alt="" style="position: relative !important; bottom: 11px !important;"></a>
</div>
<div class="heder-menu">
<ul>
@ -509,7 +507,7 @@ math {
<div class="copy-right-area">
<div class="copy-left">
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span>
<span id="copyright" style="color: #1D3557;"></span>
</div>
</div>
@ -559,6 +557,17 @@ math {
<script>
document.addEventListener('DOMContentLoaded', function() {
var currentYear = new Date().getFullYear();
var copyrightElement = document.getElementById('copyright');
if (copyrightElement) {
// Update the year in the copyright notice
var notice = "© " + currentYear + " Nexa Author. All rights reserved.";
copyrightElement.innerHTML = notice;
}
});
$("#overlay").show();
const fs = require('fs');
const path =require('path');
@ -808,7 +817,7 @@ try {
<!-- Start this is Add TItle Dynamic -->
<script>
var dynamicTitleValue = configObject.TITLE;
var dynamicTitleValue = 'NexaAuther';
document.getElementById("dynamicTitle").innerText = dynamicTitleValue;
</script>
<!-- End this is Add TItle Dynamic -->

View File

@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <title>Project-</title> -->
<title id="dynamicTitle"></title>
@ -469,14 +468,16 @@
@media (min-width: 100px) {
#sidebar-wrapper {
margin-left: 0;
/* margin-left: 0; */
margin-left: -124px;
}
#page-content-wrapper {
min-width: 0;
width: 100%;
}
body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
margin-left: -19rem;
/* margin-left: -19rem; */
margin-left: -26rem;
}
body.sb-sidenav-toggled #wrapper #sidebar-wrapper .sidebar-fixed{
left:-19rem;
@ -880,7 +881,7 @@
<div class="col-lg-12">
<div class="nav-menu">
<div class="header-logo">
<a href="dashboard.html" ><img class="logo-d" src="assets/images/project-b-logo.png" alt=""></a>
<a href="dashboard.html" ><img class="logo-d" src="assets/images/Nexa_Author Logo.png" alt=""></a>
</div>
<div class="heder-menu">
@ -902,7 +903,7 @@
<!-- QuestionPapper Container start -->
<div class="d-flex" id="wrapper">
<!-- Sidebar-->
<!-- Sidebar-->Nexa Author-logo
<div class="border-end bg-white" id="sidebar-wrapper">
<div class="sidebar-fixed">
<i class="menu-symbol" id="sidebarToggle"></i>
@ -1207,10 +1208,10 @@ async function convertToLatex(text, mathstatus) {
<!-- QuestionPapper End -->
<div class="copy-right-area">
<div class="copy-left">
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span>
</div>
</div>
<div class="copy-left">
<span id="copyright" style="color: #1D3557;"></span>
</div>
</div>
</div>
<!-- QuestionPapper Container End -->
@ -1510,7 +1511,16 @@ check_Remove_Empty_Question('Max_Marks');
document.addEventListener('DOMContentLoaded', function() {
var currentYear = new Date().getFullYear();
var copyrightElement = document.getElementById('copyright');
if (copyrightElement) {
// Update the year in the copyright notice
var notice = "© " + currentYear + " Nexa Author. All rights reserved.";
copyrightElement.innerHTML = notice;
}
});
@ -5847,7 +5857,7 @@ setInterval(addSerialNotoLocalStorage, 1000)
<!-- Start this is Add TItle Dynamic -->
<script>
var dynamicTitleValue = configObject.TITLE;
var dynamicTitleValue = 'NexaAuther';
document.getElementById("dynamicTitle").innerText = dynamicTitleValue;
</script>
<!-- End this is Add TItle Dynamic -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title id="dynamicTitle"></title>
<!-- <title>Project-B</title> -->
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -227,7 +226,7 @@ margin-left: -16px;
<div class="col-lg-12">
<div class="nav-menu">
<div class="header-logo">
<a href="dashboard.html" ><img class="logo-d" src="assets/images/project-b-logo.png" alt=""></a>
<a href="dashboard.html"><img class="logo-d" src="assets/images/Nexa_Author Logo.png" alt=""></a>
</div>
<div class="heder-menu">
<ul>
@ -269,11 +268,11 @@ margin-left: -16px;
</div>
</div>
<div class="copy-right-area">
<div class="copy-left">
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span>
</div>
</div>
<div class="copy-right-area">
<div class="copy-left">
<span id="copyright" style="color: #1D3557;"></span>
</div>
</div>
<!-- jquery js -->
<script src="assets/js/vendor/jquery-3.2.1.min.js" onload="window.$ = window.jQuery = module.exports;"></script>
@ -319,7 +318,18 @@ margin-left: -16px;
<!-- jquery js -->
<script>
document.addEventListener('DOMContentLoaded', function() {
var currentYear = new Date().getFullYear();
var copyrightElement = document.getElementById('copyright');
if (copyrightElement) {
// Update the year in the copyright notice
var notice = "© " + currentYear + " Nexa Author. All rights reserved.";
copyrightElement.innerHTML = notice;
}
});
</script>
<script>
var configObject = convertBaseToString();
@ -649,7 +659,7 @@ function copyFile(sourceFilePath, destinationFilePath) {
<!-- Start this is Add TItle Dynamic -->
<script>
var dynamicTitleValue = configObject.TITLE;
var dynamicTitleValue = 'NexaAuther';
document.getElementById("dynamicTitle").innerText = dynamicTitleValue;
</script>
<!-- End this is Add TItle Dynamic -->

View File

@ -35,6 +35,7 @@ async function createWindow() {
mainWindow = new BrowserWindow({
width: 1200,
height: 800,
icon: path.join(__dirname, 'assets', 'images', 'Nexa_Author Icon.png'),
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
@ -52,6 +53,7 @@ async function createWindow() {
// mainWindow.removeMenu()
mainWindow.loadFile('dashboard.html'); // Create an HTML file for your interface
// if(process.env.ENABLE_DEV_TOOLS === 'TRUE')
@ -87,6 +89,9 @@ async function createWindow() {
// // Store the editors in an object or an array if you need to access them later
// editors[divId] = editor;
// });
// mainWindow.setTitle(require('./package.json').name);
mainWindow.setTitle('NexaAuther');
}

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "projectb",
"name": "nexa-author",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "projectb",
"name": "nexa-author",
"version": "1.0.0",
"license": "MIT",
"dependencies": {

View File

@ -1,5 +1,5 @@
{
"name": "projectb",
"name": "nexa-author",
"version": "1.0.0",
"description": "",
"main": "main.js",
@ -9,7 +9,7 @@
"build": "cross-env NODE_ENV=production electron-packager . ProjectB --platform=win32 --arch=x64",
"convertEnvBase64": "node envConvertBasetoString.js"
},
"author": "venkatesh",
"author": "VenbaInfoTech",
"license": "MIT",
"devDependencies": {
"electron": "^26.1.0",