From bbb4f8891df210c73c7eef4f4512c69762267ef4 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 22 Jan 2020 19:04:50 +0530 Subject: updated the logo --- website/static/website/images/iitb-logo.png | Bin 6433 -> 17971 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/website/static/website/images/iitb-logo.png b/website/static/website/images/iitb-logo.png index 2ea0544..13a7542 100644 Binary files a/website/static/website/images/iitb-logo.png and b/website/static/website/images/iitb-logo.png differ -- cgit From b0c6980b6870e304e0112b1446e578b7129881e3 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 22 Jan 2020 19:05:19 +0530 Subject: updated the UI --- website/static/website/js/cloud.js | 22 +++++++-------- website/static/website/templates/index.html | 44 ++++++++++++++++++----------- 2 files changed, 38 insertions(+), 28 deletions(-) diff --git a/website/static/website/js/cloud.js b/website/static/website/js/cloud.js index 9a632e7..5cfc755 100644 --- a/website/static/website/js/cloud.js +++ b/website/static/website/js/cloud.js @@ -676,7 +676,7 @@ $(document.body).ready(function() { function(data) { var exists; $("#execute-inner").html( - "Execute"); + ' Execute '); ajax_loader('clear'); if (data.error.length != 0) { @@ -713,21 +713,21 @@ $(document.body).ready(function() { /********************************************/ $(document).on("click", "#download-book", function(e) { window.location = - "http://r.fossee.in/textbook-companion/download/book/" + $( + "https://r.fossee.in/textbook-companion/download/book/" + $( "#books").val(); e.preventDefault(); }); $(document).on("click", "#download-chapter", function(e) { window.location = - "http://r.fossee.in/textbook-companion/download/chapter/" + + "https://r.fossee.in/textbook-companion/download/chapter/" + $("#chapters").val(); e.preventDefault(); }); $(document).on("click", "#download-example", function(e) { window.location = - "http://r.fossee.in/textbook-companion/download/example/" + + "https://r.fossee.in/textbook-companion/download/example/" + $("#examples").val(); e.preventDefault(); }); @@ -941,12 +941,12 @@ $(document.body).ready(function() { $("#relevant").html('

Relevant


'); for (var i = 0; i < data.length; i++) { $("#relevant").append( - '' + data[i].book + + '' + data[i].book + ' (Author: ' + data[i].author + ')
'); } }else{ - $("#relevant").append('Oops! This book is not availabe!'); + $("#relevant").append(' Oops! This book is not availabe!'); } ajax_loader("clear"); } @@ -962,7 +962,7 @@ $(document.body).ready(function() { $("#popular").html('

Popular


'); for (var i = 0; i < data.length; i++) { $("#popular").append( - '' + data[i].book + + '' + data[i].book + ' (Author: ' + data[i].author + ')
'); } ajax_loader("clear"); @@ -979,7 +979,7 @@ $(document.body).ready(function() { $("#recent").html('

Recent


'); for (var i = 0; i < data.length; i++) { $("#recent").append( - '' + data[i].book + + '' + data[i].book + ' (Author: ' + data[i].author + ')
'); } } @@ -1030,7 +1030,7 @@ $(document.body).ready(function() { $("#popular").html('

Popular


'); for (var i = 0; i < data.length; i++) { $("#popular").append( - '' + data[i].book + + '' + data[i].book + ' (Author: ' + data[i].author + ')
'); } ajax_loader("clear"); @@ -1047,14 +1047,14 @@ $(document.body).ready(function() { $("#recent").html('

Recent


'); for (var i = 0; i < data.length; i++) { $("#recent").append( - '' + data[i].book + + '' + data[i].book + ' (Author: ' + data[i].author + ')
'); } ajax_loader("clear"); } }); e.preventDefault(); - + ajax_loader("clear"); }); $(document).on("click", "#fileuploadsubmit", function() { diff --git a/website/static/website/templates/index.html b/website/static/website/templates/index.html index 6d68515..cde1820 100644 --- a/website/static/website/templates/index.html +++ b/website/static/website/templates/index.html @@ -94,7 +94,7 @@
- + {% for category in subcatg %} {% if subcategory_id == category.subcategory_id %} @@ -115,10 +115,11 @@ {% endif %} {% endfor %} - +Contributor + +Contributor
- + - Download Book + Download Book
- + - Download Chapter + Download Chapter
- + - Download Example + Download Example
- + - +
- Execute + + + Execute + + - +