Commit 128d0df0 authored by Maarten van der Veen's avatar Maarten van der Veen
Browse files

change init_db to unix formatting

parent 011351c7
#! /bin/sh #! /bin/sh
python3.5 src/manager.py db_empty
python3.5 src/manager.py db_empty python3.5 src/manager.py db_create
python3.5 src/manager.py db_create
# Import the 'help' pages in the database
# Import the 'help' pages in the database python3.5 src/manager.py import_page Bibliography data/pages/bibliography.html en
python3.5 src/manager.py import_page Bibliography data/pages/bibliography.html en python3.5 src/manager.py import_page Recommendations data/pages/recommendations.html en
python3.5 src/manager.py import_page Recommendations data/pages/recommendations.html en python3.5 src/manager.py import_page Glossary data/pages/glossary.html en
python3.5 src/manager.py import_page Glossary data/pages/glossary.html en python3.5 src/manager.py import_page About data/pages/about.html en
python3.5 src/manager.py import_page About data/pages/about.html en python3.5 src/manager.py import_page About data/pages/about_fr.html fr
python3.5 src/manager.py import_page About data/pages/about_fr.html fr
# Initializes the structure of the shelters
# Initializes the structure of the shelters python3.5 src/manager.py init_shelters_structure data/shelters/Shelters_Structure.csv data/shelters/drawning
python3.5 src/manager.py init_shelters_structure data/shelters/Shelters_Structure.csv data/shelters/drawning
# Initializes the administrator (owner of the imported shelters)
# Initializes the administrator (owner of the imported shelters) python3.5 src/manager.py create_admin_user
python3.5 src/manager.py create_admin_user
# Import of the shelters from the CSV files
# Import of the shelters from the CSV files python3.5 src/manager.py import_shelters admin data/shelters/20150518_Haiti_shelters.csv
python3.5 src/manager.py import_shelters admin data/shelters/20150518_Haiti_shelters.csv python3.5 src/manager.py import_shelters admin data/shelters/Phil-Bangla-Burundi.csv
python3.5 src/manager.py import_shelters admin data/shelters/Phil-Bangla-Burundi.csv
# Import pictures of the shelters
# Import pictures of the shelters python3.5 src/manager.py import_shelters_pictures data/shelters/pictures/
python3.5 src/manager.py import_shelters_pictures data/shelters/pictures/
# Import documents of the shelters
# Import documents of the shelters python3.5 src/manager.py import_shelters_documents data/shelters/documents/
python3.5 src/manager.py import_shelters_documents data/shelters/documents/
# Import of the translations
# Import of the translations python3.5 src/manager.py import_translation data/translations/sheltersDataTraduction_FR_rev_ED.csv fr
python3.5 src/manager.py import_translation data/translations/sheltersDataTraduction_FR_rev_ED.csv fr
# Create database triggers for materialized view table
# Create database triggers for materialized view table python3.5 src/manager.py create_db_triggers
python3.5 src/manager.py create_db_triggers
...@@ -787,6 +787,7 @@ section.first { ...@@ -787,6 +787,7 @@ section.first {
margin: 30px 0; } margin: 30px 0; }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
section.first { section.first {
min-height: 540px;
height: 100vh; } height: 100vh; }
section.first .toplayer { section.first .toplayer {
padding-top: 100px; } } padding-top: 100px; } }
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
</head> </head>
<body> <body>
<div id="wrapper">
<header> <header>
<nav> <nav>
<a class="home" href="/"><i class="fa fa-plus-square"></i><span class="text">Shelter Database</span></a> <a class="home" href="/"><i class="fa fa-plus-square"></i><span class="text">Shelter Database</span></a>
...@@ -102,6 +101,5 @@ ...@@ -102,6 +101,5 @@
} }
}); });
</script> </script>
</div>
</body> </body>
</html> </html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment