diff options
Reimplimented header and footer with JavaScript. Reworked file structure.
5 files changed, 28 insertions, 160 deletions
| -rw-r--r-- | website/tutorials/connect-to-mysql-in-csharp-ef/connecting.html | 41 | ||||
| -rw-r--r-- | website/tutorials/connect-to-mysql-in-csharp-ef/img/connections.png (renamed from website/tutorials/connect-to-mysql-in-csharp-ef/images/connections.png) | bin | 10067 -> 10067 bytes | |||
| -rw-r--r-- | website/tutorials/connect-to-mysql-in-csharp-ef/introduction.html | 38 | ||||
| -rw-r--r-- | website/tutorials/connect-to-mysql-in-csharp-ef/preparation.html | 39 | ||||
| -rw-r--r-- | website/tutorials/index.html | 70 |
diff --git a/website/tutorials/connect-to-mysql-in-csharp-ef/connecting.html b/website/tutorials/connect-to-mysql-in-csharp-ef/connecting.html index 3cff4c1..c3fcdff 100644 --- a/website/tutorials/connect-to-mysql-in-csharp-ef/connecting.html +++ b/website/tutorials/connect-to-mysql-in-csharp-ef/connecting.html @@ -1,29 +1,23 @@ <!DOCTYPE html> <html lang="en-us"> <html> - <head> + <head id="mySqlConnectEntityFrameworkCSharp"> <meta charset="UTF-8"> <meta name="description" content="Code you need to write to connect to MySql in C# and Entitiy Framework"> <meta name="keywords" content="programming, C#, tutorial, mysql, entity, framework, database, asp.net, dbcontext, connectionstring, connection"> <meta name="author" content="Kamen Mladenov"> <meta name="robots" content="index, follow"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" href="../../images/favicon.png" type="image/png"/> - <link rel="shortcut icon" href="../../images/favicon.png" type="image/png"/> + <link rel="icon" href="../../img/favicon.png" type="image/png"/> + <link rel="shortcut icon" href="../../img/favicon.png" type="image/png"/> <title>Connect to MySql in C# and Entitiy Framework - Connecting</title> - <link rel="stylesheet" href="../../styles.css"> - <link rel="stylesheet" href="../../styles-multiple-page-articles.css"> + <link rel="stylesheet" href="../../css/styles.css"> + <link rel="stylesheet" href="../../css/styles-multiple-page-articles.css"> </head> - <body> + <body id="Connecting"> <div class="header"> - <div class="article-title">Connect to MySql in C# and Entitiy Framework</div> - - <a href="./introduction.html" class="other-tab">Introduction</a> - <a href="./preparation.html" class="other-tab">Preparation</a> - <a href="./connecting.html" class="selected-tab">Connecting</a> - - <a href="../index.html" class="close" style="margin-left: 403px;" title="Back to Tutorials"><img src="../../images/ui/close.png" alt="Back" width="32" height="32"></a> + <script type="text/javascript" src="../../js/header.js"></script> </div> <div class="page"> @@ -37,7 +31,7 @@ If you don't know your port or user id, just look at the connection you use to connect to the database. </p> <p class="tutorial-p"> - <img src="./images/connections.png" alt="MyServer root 127.0.0.1:3306" class="tutorial-img" width="262" height="152"> + <img src="./img/connections.png" alt="MyServer root 127.0.0.1:3306" class="tutorial-img" width="262" height="152"> <span class="tutorial-text"> In this example, the user id is <i>root</i> and the port is <i>3306</i>. </span> @@ -81,22 +75,7 @@ <br> - <footer class="footer"> - <a href="https://github.com/Syndamia" target="_blank" class="hyperlink-footer" title="GitHub"><img src="../../images/logos/github.png" alt="GitHub" width="32" height="32"></a> - <a href="https://stackoverflow.com/users/12036073/syndamia" target="_blank" class="hyperlink-footer" title="StackOverflow"><img src="../../images/logos/stackoverflow.png" alt="StackOverflow" width="32" height="32"></a> - <a href="https://bg.linkedin.com/in/kamen-mladenov-18563b1a3?trk=people-guest_people_search-card" target="_blank" class="hyperlink-footer" title="Linkedin"><img src="../../images/logos/linkedin.png" alt="Linkedin" width="32" height="32"></a> - - <hr width="350px" noshade> - - <a href="../index.html" class="hyperlink-footer">Tutorials</a> | - <a href="../../projects/index.html" class="hyperlink-footer">Projects</a> | - <a href="../../about.html" class="hyperlink-footer">About</a> | - <a href="../../resume.html" class="hyperlink-footer">Resume</a> - - <hr width="350px" noshade> - - <a href="https://github.com/Syndamia/syndamiadotcom/blob/master/LICENSE" target="_blank" class="hyperlink-footer">Website License</a> | - <a href="../../credit.html" target="_blank" class="hyperlink-footer">Credit</a> - </footer> + <footer id="child-child-dir" class="footer"></footer> </body> + <script type="text/javascript" src="../../js/footer.js"></script> </html> diff --git a/website/tutorials/connect-to-mysql-in-csharp-ef/images/connections.png b/website/tutorials/connect-to-mysql-in-csharp-ef/img/connections.png Binary files differindex aa7b408..aa7b408 100644 --- a/website/tutorials/connect-to-mysql-in-csharp-ef/images/connections.png +++ b/website/tutorials/connect-to-mysql-in-csharp-ef/img/connections.png diff --git a/website/tutorials/connect-to-mysql-in-csharp-ef/introduction.html b/website/tutorials/connect-to-mysql-in-csharp-ef/introduction.html index 05f06a8..d25999e 100644 --- a/website/tutorials/connect-to-mysql-in-csharp-ef/introduction.html +++ b/website/tutorials/connect-to-mysql-in-csharp-ef/introduction.html @@ -1,29 +1,23 @@ <!DOCTYPE html> <html lang="en-us"> <html> - <head> + <head id="mySqlConnectEntityFrameworkCSharp"> <meta charset="UTF-8"> <meta name="description" content="Connecting to MySql through C# can be quite tricky. For that reason, I am making this tutorial."> <meta name="keywords" content="programming, C#, tutorial, mysql, entity, framework, database, asp.net, dbcontext, connectionstring, connection"> <meta name="author" content="Kamen Mladenov"> <meta name="robots" content="index, follow"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" href="../../images/favicon.png" type="image/png"/> - <link rel="shortcut icon" href="../../images/favicon.png" type="image/png"/> + <link rel="icon" href="../../img/favicon.png" type="image/png"/> + <link rel="shortcut icon" href="../../img/favicon.png" type="image/png"/> <title>Connect to MySql in C# and Entitiy Framework - Introduction</title> - <link rel="stylesheet" href="../../styles.css"> - <link rel="stylesheet" href="../../styles-multiple-page-articles.css"> + <link rel="stylesheet" href="../../css/styles.css"> + <link rel="stylesheet" href="../../css/styles-multiple-page-articles.css"> </head> - <body> + <body id="Introduction"> <div class="header"> - <span class="article-title">Connect to MySql in C# and Entitiy Framework</span> - - <a href="./introduction.html" class="selected-tab">Introduction</a> - <a href="./preparation.html" class="other-tab">Preparation</a> - <a href="./connecting.html" class="other-tab">Connecting</a> - - <a href="../index.html" class="close" style="margin-left: 403px;" title="Back to Tutorials"><img src="../../images/ui/close.png" alt="Back" width="32" height="32"></a> + <script type="text/javascript" src="../../js/header.js"></script> </div> <div class="page"> @@ -40,22 +34,8 @@ <br> - <footer class="footer"> - <a href="https://github.com/Syndamia" target="_blank" class="hyperlink-footer" title="GitHub"><img src="../../images/logos/github.png" alt="GitHub" width="32" height="32"></a> - <a href="https://stackoverflow.com/users/12036073/syndamia" target="_blank" class="hyperlink-footer" title="StackOverflow"><img src="../../images/logos/stackoverflow.png" alt="StackOverflow" width="32" height="32"></a> - <a href="https://bg.linkedin.com/in/kamen-mladenov-18563b1a3?trk=people-guest_people_search-card" target="_blank" class="hyperlink-footer" title="Linkedin"><img src="../../images/logos/linkedin.png" alt="Linkedin" width="32" height="32"></a> - - <hr width="350px" noshade> - - <a href="../index.html" class="hyperlink-footer">Tutorials</a> | - <a href="../../projects/index.html" class="hyperlink-footer">Projects</a> | - <a href="../../about.html" class="hyperlink-footer">About</a> | - <a href="../../resume.html" class="hyperlink-footer">Resume</a> - - <hr width="350px" noshade> - - <a href="https://github.com/Syndamia/syndamiadotcom/blob/master/LICENSE" target="_blank" class="hyperlink-footer">Website License</a> | - <a href="../../credit.html" target="_blank" class="hyperlink-footer">Credit</a> + <footer id="child-child-dir" class="footer"> + <script type="text/javascript" src="../../js/footer.js"></script> </footer> </body> </html> diff --git a/website/tutorials/connect-to-mysql-in-csharp-ef/preparation.html b/website/tutorials/connect-to-mysql-in-csharp-ef/preparation.html index 9bc73cf..cd1930b 100644 --- a/website/tutorials/connect-to-mysql-in-csharp-ef/preparation.html +++ b/website/tutorials/connect-to-mysql-in-csharp-ef/preparation.html @@ -1,29 +1,23 @@ <!DOCTYPE html> <html lang="en-us"> <html> - <head> + <head id="mySqlConnectEntityFrameworkCSharp"> <meta charset="UTF-8"> <meta name="description" content="Things you need to do as preparations for connecting to MySql in C# and Entitiy Framework"> <meta name="keywords" content="programming, C#, tutorial, mysql, entity, framework, database, asp.net, dbcontext, connectionstring, connection"> <meta name="author" content="Kamen Mladenov"> <meta name="robots" content="index, follow"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" href="../../images/favicon.png" type="image/png"/> - <link rel="shortcut icon" href="../../images/favicon.png" type="image/png"/> + <link rel="icon" href="../../img/favicon.png" type="image/png"/> + <link rel="shortcut icon" href="../../img/favicon.png" type="image/png"/> <title>Connect to MySql in C# and Entitiy Framework - Preparation</title> - <link rel="stylesheet" href="../../styles.css"> - <link rel="stylesheet" href="../../styles-multiple-page-articles.css"> + <link rel="stylesheet" href="../../css/styles.css"> + <link rel="stylesheet" href="../../css/styles-multiple-page-articles.css"> </head> - <body> + <body id="Preparation"> <div class="header"> - <span class="article-title">Connect to MySql in C# and Entitiy Framework</span> - - <a href="./introduction.html" class="other-tab">Introduction</a> - <a href="./preparation.html" class="selected-tab">Preparation</a> - <a href="./connecting.html" class="other-tab">Connecting</a> - - <a href="../index.html" class="close" style="margin-left: 403px;" title="Back to Tutorials"><img src="../../images/ui/close.png" alt="Back" width="32" height="32"></a> + <script type="text/javascript" src="../../js/header.js"></script> </div> <div class="page"> @@ -43,22 +37,7 @@ <br> - <footer class="footer"> - <a href="https://github.com/Syndamia" target="_blank" class="hyperlink-footer" title="GitHub"><img src="../../images/logos/github.png" alt="GitHub" width="32" height="32"></a> - <a href="https://stackoverflow.com/users/12036073/syndamia" target="_blank" class="hyperlink-footer" title="StackOverflow"><img src="../../images/logos/stackoverflow.png" alt="StackOverflow" width="32" height="32"></a> - <a href="https://bg.linkedin.com/in/kamen-mladenov-18563b1a3?trk=people-guest_people_search-card" target="_blank" class="hyperlink-footer" title="Linkedin"><img src="../../images/logos/linkedin.png" alt="Linkedin" width="32" height="32"></a> - - <hr width="350px" noshade> - - <a href="../index.html" class="hyperlink-footer">Tutorials</a> | - <a href="../../projects/index.html" class="hyperlink-footer">Projects</a> | - <a href="../../about.html" class="hyperlink-footer">About</a> | - <a href="../../resume.html" class="hyperlink-footer">Resume</a> - - <hr width="350px" noshade> - - <a href="https://github.com/Syndamia/syndamiadotcom/blob/master/LICENSE" target="_blank" class="hyperlink-footer">Website License</a> | - <a href="../../credit.html" target="_blank" class="hyperlink-footer">Credit</a> - </footer> + <footer id="child-child-dir" class="footer"></footer> </body> + <script type="text/javascript" src="../../js/footer.js"></script> </html> diff --git a/website/tutorials/index.html b/website/tutorials/index.html deleted file mode 100644 index ae24f9d..0000000 --- a/website/tutorials/index.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE html> -<html lang="en-us"> -<html> - <head> - <meta charset="UTF-8"> - <meta name="description" content="Here, you will find extensive information on technologies that aren't well documented and that I have wasted too much time figuring out"> - <meta name="keywords" content="programming, portfollio, personal, tutorials"> - <meta name="author" content="Kamen Mladenov"> - <meta name="robots" content="index, follow"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="icon" href="../images/favicon.png" type="image/png"/> - <link rel="shortcut icon" href="../images/favicon.png" type="image/png"/> - <title>Syndamia - Tutorials</title> - <link rel="stylesheet" href="../styles.css"> - <link rel="stylesheet" href="../styles-multiple-page-articles.css"> - </head> - - <body> - <div class="header"> - <a href="./index.html" class="selected-tab"``>Tutorials</a> - <a href="../projects/index.html" class="other-tab">Projects</a> - <a href="../index.html" class="other-tab">Home</a> - <a href="../about.html" class="other-tab">About</a> - <a href="../resume.html" class="other-tab">Resume</a> - </div> - - <div class="page-centered"> - <table class="items-table"> - <tr> - <td class="separator-cell"><hr class="separator"></td> - </tr> - <tr> - <td>GtkSharp 2.0 <span class="warning">[COMING SOON]</span></td> - </tr> - <tr> - <td class="separator-cell"><hr class="separator"></td> - </tr> - <tr> - <td><a href="./connect-to-mysql-in-csharp-ef/introduction.html" class="hyperlink">Connect to MySql in C# and Entity Framework</a></td> - </tr> - <tr> - <td class="separator-cell"><hr class="separator"></td> - </tr> - </table> - <p> - I have some tutorial-style notes in my <a href="https://github.com/Syndamia/References" class="hyperlink">references repo</a>. Warning: some stuff might be wrong. - </p> - </div> - - <br> - - <footer class="footer"> - <a href="https://github.com/Syndamia" target="_blank" class="hyperlink-footer" title="GitHub"><img src="../images/logos/github.png" alt="GitHub" width="32" height="32"></a> - <a href="https://stackoverflow.com/users/12036073/syndamia" target="_blank" class="hyperlink-footer" title="StackOverflow"><img src="../images/logos/stackoverflow.png" alt="StackOverflow" width="32" height="32"></a> - <a href="https://bg.linkedin.com/in/kamen-mladenov-18563b1a3?trk=people-guest_people_search-card" target="_blank" class="hyperlink-footer" title="Linkedin"><img src="../images/logos/linkedin.png" alt="Linkedin" width="32" height="32"></a> - - <hr width="350px" noshade> - - <a href="../tutorials/index.html" class="hyperlink-footer">Tutorials</a> | - <a href="../projects/index.html" class="hyperlink-footer">Projects</a> | - <a href="../about.html" class="hyperlink-footer">About</a> | - <a href="../resume.html" class="hyperlink-footer">Resume</a> - - <hr width="350px" noshade> - - <a href="https://github.com/Syndamia/syndamiadotcom/blob/master/LICENSE" target="_blank" class="hyperlink-footer">Website License</a> | - <a href="../credit.html" target="_blank" class="hyperlink-footer">Credit</a> - </footer> - </body> -</html> |