CaesarCloudSync commited on
Commit
4e1ba5a
·
1 Parent(s): 57730d0

Save button and laptop restyling

Browse files
Files changed (2) hide show
  1. templates/hello.html +24 -40
  2. test.txt +15 -0
templates/hello.html CHANGED
@@ -46,26 +46,16 @@
46
  </div>
47
 
48
 
49
- <div style="position:relative;border:3px white solid;border-radius:10px;background-color:white;width: 100vh">
50
-
51
- <div style="position:relative;left:10%;top:10%;width:80%;border:1px grey solid;border-radius:5px">
52
- <div style="margin:20px">
53
  <div style="display:flex;gap:7%;border-bottom:1px grey solid;flex-direction:row">
54
- <p style="color:grey">Email to send to:</p>
55
  <p >amari.lawal05@gmail.com</p>
56
  </div>
57
-
58
- <div style="display:flex;gap:10%;border-bottom:1px grey solid;margin-top:50px;flex-direction:row">
59
- <p style="color:grey">Revision Interval</p>
60
- <p>60 minutes</p>
61
-
62
-
63
- </div>
64
- <div style="display:flex;gap:10%;border-bottom:1px grey solid;margin-top:50px;flex-direction:row">
65
- <p style="color:grey">Manage Revision Cards:</p>
66
- </div>
67
 
68
- <div>
69
  <div key={1} style="display:flex;margin-top:50px;flex-direction:row;justify-content: space-between">
70
  <p >{{subject}}</p>
71
  <p style="margin-right:40px">{{revisioncardtitle}}</p>
@@ -73,34 +63,28 @@
73
  <textarea name="revisioncard" className="form-control" style="position:relative;left:-40px;height:200px;width:95%;margin-top:10px">
74
  {{revisioncard}}
75
  </textarea>
76
-
77
-
78
- <table>
79
- <tbody >
80
- {%for ind in range(revisioncardimgname|length)%}
81
- <th>
82
- {{revisioncardimgname[ind]}}
83
- </th>
84
- <tr>
85
- <td ><img key=ind style="width:55%;height:55%" src={{revisioncardimage[ind]}}></img></td>
86
-
87
- </tr>
88
- {%endfor%}
89
-
90
-
91
- </tbody>
92
- </table>
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
  </div>
101
  </div>
102
  </div>
103
  </div>
 
104
 
105
  </div>
106
 
 
46
  </div>
47
 
48
 
49
+ <div style="position:relative;border:3px white solid;border-radius:10px;background-color:white;width: 100vh;overflow: hidden;">
50
+ <div style="display: flex;">
51
+ <div style="position:relative;left:10%;top:5%;width:80%;border-radius:5px;margin:10px;">
52
+ <div style="margin-bottom:10px;margin-right:10px;margin-left:10px;">
53
  <div style="display:flex;gap:7%;border-bottom:1px grey solid;flex-direction:row">
54
+ <p style="color:grey">Account's RevisionCard</p>
55
  <p >amari.lawal05@gmail.com</p>
56
  </div>
 
 
 
 
 
 
 
 
 
 
57
 
58
+ <div style="margin-bottom:10px;">
59
  <div key={1} style="display:flex;margin-top:50px;flex-direction:row;justify-content: space-between">
60
  <p >{{subject}}</p>
61
  <p style="margin-right:40px">{{revisioncardtitle}}</p>
 
63
  <textarea name="revisioncard" className="form-control" style="position:relative;left:-40px;height:200px;width:95%;margin-top:10px">
64
  {{revisioncard}}
65
  </textarea>
66
+ <div style="display:flex;gap:10px;margin-top:10px;">
67
+ {%for ind in range(revisioncardimgname|length)%}
68
+ <div>
69
+ <div style="border: 1px solid black;border-top-left-radius: 3px;border-top-right-radius:3px;text-align: left;">
70
+ <div style="margin:5px;">
71
+ {{revisioncardimgname[ind]}}
72
+ </div>
73
+ </div>
74
+ <img key=ind style="width:100%;height:100%;border-bottom-left-radius: 3px;border-bottom-right-radius:3px;" src={{revisioncardimage[ind]}}></img>
75
+
76
+ </div>
77
+ {%endfor%}
78
+
79
+ </div>
80
+ <a href="https://revisionbank.org/signin?h={{hashvalue}}&u={{username}}" target="_blank" rel="noopener noreferrer">
81
+ <button>Save</button>
82
+ </a>
 
 
 
 
 
 
 
83
  </div>
84
  </div>
85
  </div>
86
  </div>
87
+ </div>
88
 
89
  </div>
90
 
test.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <table>
2
+ <tbody >
3
+ {%for ind in range(revisioncardimgname|length)%}
4
+ <th>
5
+ {{revisioncardimgname[ind]}}
6
+ </th>
7
+ <tr>
8
+ <td ><img key=ind style="width:55%;height:55%" src={{revisioncardimage[ind]}}></img></td>
9
+
10
+ </tr>
11
+ {%endfor%}
12
+
13
+
14
+ </tbody>
15
+ </table>