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> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <title>Project-B</title> -->
<title id="dynamicTitle"></title> <title id="dynamicTitle"></title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon --> <!-- Favicon -->
@ -483,7 +481,7 @@ math {
<div class="col-lg-12"> <div class="col-lg-12">
<div class="nav-menu"> <div class="nav-menu">
<div class="header-logo"> <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>
<div class="heder-menu"> <div class="heder-menu">
<ul> <ul>
@ -509,7 +507,7 @@ math {
<div class="copy-right-area"> <div class="copy-right-area">
<div class="copy-left"> <div class="copy-left">
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span> <span id="copyright" style="color: #1D3557;"></span>
</div> </div>
</div> </div>
@ -559,6 +557,17 @@ math {
<script> <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(); $("#overlay").show();
const fs = require('fs'); const fs = require('fs');
const path =require('path'); const path =require('path');
@ -808,7 +817,7 @@ try {
<!-- Start this is Add TItle Dynamic --> <!-- Start this is Add TItle Dynamic -->
<script> <script>
var dynamicTitleValue = configObject.TITLE; var dynamicTitleValue = 'NexaAuther';
document.getElementById("dynamicTitle").innerText = dynamicTitleValue; document.getElementById("dynamicTitle").innerText = dynamicTitleValue;
</script> </script>
<!-- End this is Add TItle Dynamic --> <!-- End this is Add TItle Dynamic -->

View File

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <title>Project-</title> -->
<title id="dynamicTitle"></title> <title id="dynamicTitle"></title>
@ -469,14 +468,16 @@
@media (min-width: 100px) { @media (min-width: 100px) {
#sidebar-wrapper { #sidebar-wrapper {
margin-left: 0; /* margin-left: 0; */
margin-left: -124px;
} }
#page-content-wrapper { #page-content-wrapper {
min-width: 0; min-width: 0;
width: 100%; width: 100%;
} }
body.sb-sidenav-toggled #wrapper #sidebar-wrapper { 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{ body.sb-sidenav-toggled #wrapper #sidebar-wrapper .sidebar-fixed{
left:-19rem; left:-19rem;
@ -880,7 +881,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
<div class="nav-menu"> <div class="nav-menu">
<div class="header-logo"> <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>
<div class="heder-menu"> <div class="heder-menu">
@ -902,7 +903,7 @@
<!-- QuestionPapper Container start --> <!-- QuestionPapper Container start -->
<div class="d-flex" id="wrapper"> <div class="d-flex" id="wrapper">
<!-- Sidebar--> <!-- Sidebar-->Nexa Author-logo
<div class="border-end bg-white" id="sidebar-wrapper"> <div class="border-end bg-white" id="sidebar-wrapper">
<div class="sidebar-fixed"> <div class="sidebar-fixed">
<i class="menu-symbol" id="sidebarToggle"></i> <i class="menu-symbol" id="sidebarToggle"></i>
@ -1207,10 +1208,10 @@ async function convertToLatex(text, mathstatus) {
<!-- QuestionPapper End --> <!-- QuestionPapper End -->
<div class="copy-right-area"> <div class="copy-right-area">
<div class="copy-left"> <div class="copy-left">
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span> <span id="copyright" style="color: #1D3557;"></span>
</div> </div>
</div> </div>
</div> </div>
<!-- QuestionPapper Container End --> <!-- 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 --> <!-- Start this is Add TItle Dynamic -->
<script> <script>
var dynamicTitleValue = configObject.TITLE; var dynamicTitleValue = 'NexaAuther';
document.getElementById("dynamicTitle").innerText = dynamicTitleValue; document.getElementById("dynamicTitle").innerText = dynamicTitleValue;
</script> </script>
<!-- End this is Add TItle Dynamic --> <!-- 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 charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title id="dynamicTitle"></title> <title id="dynamicTitle"></title>
<!-- <title>Project-B</title> -->
<meta name="description" content=""> <meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@ -227,7 +226,7 @@ margin-left: -16px;
<div class="col-lg-12"> <div class="col-lg-12">
<div class="nav-menu"> <div class="nav-menu">
<div class="header-logo"> <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>
<div class="heder-menu"> <div class="heder-menu">
<ul> <ul>
@ -269,11 +268,11 @@ margin-left: -16px;
</div> </div>
</div> </div>
<div class="copy-right-area"> <div class="copy-right-area">
<div class="copy-left"> <div class="copy-left">
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span> <span id="copyright" style="color: #1D3557;"></span>
</div> </div>
</div> </div>
<!-- jquery js --> <!-- jquery js -->
<script src="assets/js/vendor/jquery-3.2.1.min.js" onload="window.$ = window.jQuery = module.exports;"></script> <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 --> <!-- 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> <script>
var configObject = convertBaseToString(); var configObject = convertBaseToString();
@ -649,7 +659,7 @@ function copyFile(sourceFilePath, destinationFilePath) {
<!-- Start this is Add TItle Dynamic --> <!-- Start this is Add TItle Dynamic -->
<script> <script>
var dynamicTitleValue = configObject.TITLE; var dynamicTitleValue = 'NexaAuther';
document.getElementById("dynamicTitle").innerText = dynamicTitleValue; document.getElementById("dynamicTitle").innerText = dynamicTitleValue;
</script> </script>
<!-- End this is Add TItle Dynamic --> <!-- End this is Add TItle Dynamic -->

View File

@ -35,6 +35,7 @@ async function createWindow() {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 1200, width: 1200,
height: 800, height: 800,
icon: path.join(__dirname, 'assets', 'images', 'Nexa_Author Icon.png'),
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
contextIsolation: false, contextIsolation: false,
@ -54,6 +55,7 @@ async function createWindow() {
// if(process.env.ENABLE_DEV_TOOLS === 'TRUE') // if(process.env.ENABLE_DEV_TOOLS === 'TRUE')
if(configObject.ENABLE_DEV_TOOLS === 'TRUE') if(configObject.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 // // Store the editors in an object or an array if you need to access them later
// editors[divId] = editor; // 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", "version": "1.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "projectb", "name": "nexa-author",
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

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