Skip to content

Commit c6510cd

Browse files
committed
improvements
1 parent ca7de9b commit c6510cd

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

pincode.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
import json
55

66
app = Flask(__name__)
7-
app.secret_key = 'F12Zr47j\3yXRsddsdsdsdsqdcewvcqwraxwevtsdxsrybvsaWRacsatsvgc'
87

9-
@app.route('/', methods=['GET'])
8+
@app.route('/')
109
def entry_page():
11-
return render_template('entry.html', the_title='pincode!')
10+
return render_template('entry.html', the_title='Pincode_data')
1211

1312
@app.route('/pincode', methods=['POST'])
1413
def check_for_dnd():

templates/entry.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h2><center>Welcome to PINCODE details on the web!</center></h2>
4848

4949
.icon-bar {
5050
position: fixed;
51-
top: 22%;
51+
top: 30%;
5252
right: 10px;
5353
-webkit-transform: translateY(-50%);
5454
-ms-transform: translateY(-50%);

templates/results.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ <h4><b>{{i}}:</b></h4> {{j}} <!--i is Status and Message. j is Success and
6969
<style>
7070
body {
7171
margin:0;
72-
height:1000px;
72+
height:700px;
7373
}
7474

7575
.icon-bar {
7676
position: fixed;
77-
top: 22%;
77+
top: 30%;
7878
right: 10px;
7979
-webkit-transform: translateY(-50%);
8080
-ms-transform: translateY(-50%);

0 commit comments

Comments
 (0)