Skip to content

Commit cb90819

Browse files
authored
Merge pull request #11 from enygmator/Features_Branch
MODIFIED About Dialog - V1.3
2 parents a058704 + 067aa8f commit cb90819

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

todopoc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name='todopoc',
8-
version='1.2',
8+
version='1.3',
99
author='Tarun & Moyank & Vaibhav',
1010
author_email='[email protected]',
1111
description='A To-Do app for Proof of various Concepts',

todopoc/todopoc/Views/wwwRoot/JS/ToDo.js

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,35 @@ function DispToDoDataFrame()
1616

1717
function DispAbout()
1818
{
19-
str = "Created by GROUP 10:\n1. Moyank Giri\n2. Vaibhava Krishna D\n3. T Tarun Aditya (Lead developer and project manager)\n\n";
20-
str+="A Python Project\nSemester 1 of batch 2019-23\nUE19CS102 (Introduction to computing using python Lab) - Section M\n";
21-
str+="PES University, Bengaluru, Karnataka, India\n\n";
22-
str+="For more details or source code go to:\nhttps://github.com/enygmator/To-Do-PoC/"
23-
alert(str);
19+
str = "Created by GROUP 10:<br>1. Moyank Giri<br>2. Vaibhava Krishna D<br>3. T Tarun Aditya (Lead developer and project manager)<br><br>";
20+
str+="A Python Project<br>Semester 1 of batch 2019-23<br>UE19CS102 (Introduction to computing using python Lab) - Section M<br>";
21+
str+="PES University, Bengaluru, Karnataka, India<br><br>";
22+
str+="For more details or source code click the 'Go to GitHub' button";
23+
24+
$("#dialog-confirm").html(str);
25+
26+
// Define the Dialog and its properties.
27+
$("#dialog-confirm").dialog({
28+
resizable: false,
29+
modal: true,
30+
title: "Modal",
31+
height: 400,
32+
width: 500,
33+
buttons: {
34+
"Go to GitHub": function () {
35+
$(this).dialog('close');
36+
var link = document.createElement('a');
37+
link.href = 'https://github.com/enygmator/To-Do-PoC/';
38+
link.setAttribute("target", "_blank");
39+
document.body.appendChild(link);
40+
link.click();
41+
document.body.removeChild(link);
42+
},
43+
"Close": function () {
44+
$(this).dialog('close');
45+
}
46+
}
47+
});
2448
}
2549

2650
function RefreshList()

todopoc/todopoc/Views/wwwRoot/ToDo.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,9 @@ <h2 style="font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;position
4747
<p style="font-weight: bold; position: absolute; left: 5px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">App Status and notification:</p>
4848
<p style="position: absolute; left: 250px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;">Everything looks good!</p>
4949
</div>
50+
<div id="dialog-confirm" style="font-size: small;"></div>
51+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
52+
<link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" rel="stylesheet" />
53+
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
5054
</body>
5155
</html>

0 commit comments

Comments
 (0)