texc_web/
index.rs

1pub const INDEX: &str = r#"<!DOCTYPE html>
2<html>
3<title>TexCreate</title>
4<meta charset="UTF-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
7<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
8<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
9<style>
10body, h1,h2,h3,h4,h5,h6 {font-family: "Montserrat", sans-serif}
11.w3-row-padding img {margin-bottom: 12px}
12/* Set the width of the sidebar to 120px */
13.w3-sidebar {width: 120px;background: #222;}
14/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
15#main {margin-left: 120px}
16/* Remove margins from "page content" on small screens */
17@media only screen and (max-width: 600px) {#main {margin-left: 0}}
18</style>
19<body class="w3-black">
20<!-- Page Content -->
21<div class="w3-padding-large" id="main">
22    <!-- Header/Home -->
23    <header class="w3-container w3-padding-32 w3-center w3-black" id="home">
24        <h1 class="w3-jumbo"><span class="w3-hide-small">TexCreate</span></h1>
25    <!-- <img src="Banner.png" alt="boy" class="w3-image" width="*" height="0.25*"> -->
26    </header>
27
28    <!-- About Section -->
29    <div class="w3-content w3-justify w3-text-grey w3-padding-64" id="about">
30        <h2 class="w3-text-light-grey">BUILD A LaTeX PROJECT</h2>
31        <hr style="width:200px" class="w3-opacity">
32            <div class="w3-container w3-center">
33<form method="post" action="/">
34    <label for="author">Author</label><br>
35    <input  class="w3-teal w3-button" type="text" name="author" id="author" placeholder="Author"><br>
36    <label for="title">Title</label><br>
37    <input class="w3-teal w3-button" type="text" name="title" id="title" placeholder="Title"><br>
38    <label for="date">Date</label><br>
39    <input class="w3-teal w3-button" type="text" name="date" id="date" placeholder="Date"><br>
40    <label for="project_name">Project Name</label><br>
41    <input class="w3-teal w3-button" type="text" name="project_name" id="project_name" placeholder="Project Name"><br>
42    <label for="template">Template</label><br>
43    <select class="w3-teal w3-button" type="text" name="template" id="template" placeholder="Template">
44    <option value="Basic">Basic</option>
45    <option value="Math">Math</option>
46    <option value="Code">Code</option>
47    <option value="Theatre">Theatre</option>
48    <option value="Novel">Novel</option>
49    <option value="Beamer">Beamer</option>
50    <option value="Lachaise">Lachaise</option>
51    </select>
52    <br>
53    <label for="paper_size">Paper Size</label><br>
54    <input class="w3-teal w3-button" type="text" name="paper_size" id="paper_size" placeholder="Paper Size"><br>
55    <label for="font_size">Font Size</label><br>
56    <input class="w3-teal w3-button" type="text" name="font_size" id="font_size" placeholder="Font Size"><br>
57    <label for="document_class">Document Class</label><br>
58    <input class="w3-teal w3-button" type="text" name="document_class" id="document_class" placeholder="Document Class"><br>
59    <br>
60    <input class="w3-teal w3-button" type="text" name="only_files" id="only_files" placeholder="Only Files (true/false)"><br>
61    <br>
62    <input class="w3-btn w3-teal" type="submit" value="Submit">
63</form>
64</div>
65
66    </div>
67
68    <!-- Footer -->
69    <footer class="w3-content w3-padding-64 w3-text-grey w3-xlarge">
70        <p class="w3-medium">Built by  <a href="https://github.com/MKProj/" target="_blank" class="w3-hover-text-green">MKProjects</a></p>
71        <!-- End footer -->
72    </footer>
73    <!-- END PAGE CONTENT -->
74</div>
75</body>
76</html>
77
78"#;