Skip to content

Commit ce9e72b

Browse files
committed
profile route removed, minor bug fixes
1 parent c50937e commit ce9e72b

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

app.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from routes.browse_routes import browse_blueprint
44
from routes.error_routes import error_blueprint
55
from routes.login_routes import login_blueprint
6-
from routes.profile_routes import profile_blueprint
76
import data, menuData
87

98
app = Flask(__name__)
@@ -13,7 +12,6 @@
1312
app.register_blueprint(browse_blueprint)
1413
app.register_blueprint(error_blueprint)
1514
app.register_blueprint(login_blueprint)
16-
app.register_blueprint(profile_blueprint)
1715

1816
if __name__ == '__main__':
1917
app.run()

static/assets/sass/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ html, body {
5353
margin: 0;
5454
font-family: "Poppins", sans-serif;
5555
font-weight: 400;
56-
background-color: #1e1e1e;
56+
background-color: #01111d;
5757
font-size: 16px;
5858
-ms-text-size-adjust: 100%;
5959
-webkit-font-smoothing: antialiased;
@@ -615,7 +615,7 @@ section {
615615
padding: 0px !important;
616616
border: none !important;
617617
background: #f8f0fb !important;
618-
color: #1e1e1e !important;
618+
color: #01111d !important;
619619
}
620620
.header-area .main-nav .nav li a:hover {
621621
background: #f8f0fb !important;

static/assets/sass/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/assets/sass/style.sass

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ $primary-color: #6320ee // accent color
44
$main-font-color: #f8f0fb // white font throughout
55
$background-color: #00000d //dark container color
66
$dimText-color: #666 //dim text in navbar
7-
$accent-background-color: #1e1e1e //navbar background
87
$darkblue-color: #01111d // layout inside blockcontent color
98
$cardBody-color: #010b13 // card body color
109
$yellow-color: #ffec51 // star color
@@ -64,7 +63,7 @@ html,body
6463

6564
font-family: "Poppins", sans-serif
6665
font-weight: 400
67-
background-color: $accent-background-color
66+
background-color: $darkblue-color
6867
font-size: 16px
6968
-ms-text-size-adjust: 100%
7069
-webkit-font-smoothing: antialiased
@@ -684,7 +683,7 @@ section
684683
padding: 0px !important
685684
border: none !important
686685
background: $main-font-color !important
687-
color: $accent-background-color !important
686+
color: $darkblue-color !important
688687

689688
.header-area .main-nav .nav li a:hover
690689
background: $main-font-color !important

templates/details.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h4># <em>Lectures</em></h4>
5050

5151
<div class="col-lg-12">
5252
<div class="main-button">
53-
<a href="{{ url_for('profile.profile') }}">View Your Library</a>
53+
<a href="{{ url_for('login.login') }}">View Your Library</a>
5454
</div>
5555
</div>
5656
</div>

templates/layout.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,8 @@
8484
currentPath === "{{ url_for('browse.browse_home') }}"
8585
) {
8686
document.getElementById("browse").classList.add("active");
87-
} else if (currentPath === "{{ url_for('profile.profile') }}") {
88-
document.getElementById("profile").classList.add("active");
89-
} else if (currentPath === "{{ url_for('login.login') }}") {
87+
}
88+
else if (currentPath === "{{ url_for('login.login') }}") {
9089
document.getElementById("library").classList.add("active");
9190
}
9291
</script>

0 commit comments

Comments
 (0)