Skip to content

Commit

Permalink
added placeholder footer, put buttons in their own container
Browse files Browse the repository at this point in the history
currently footer sits on top of button container, not sure how to fix that
  • Loading branch information
underchemist committed Dec 4, 2017
1 parent a1fd6f7 commit 5b461ec
Show file tree
Hide file tree
Showing 17 changed files with 28 additions and 6 deletions.
Empty file modified .gitattributes
100755 → 100644
Empty file.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified Flask-sudoku-app.sublime-project
100755 → 100644
Empty file.
Empty file modified Flask-sudoku-app.sublime-workspace
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified app/__init__.py
100755 → 100644
Empty file.
Empty file modified app/static/clear.js
100755 → 100644
Empty file.
Empty file modified app/static/mappaste.js
100755 → 100644
Empty file.
Empty file modified app/static/nextinput.js
100755 → 100644
Empty file.
19 changes: 17 additions & 2 deletions app/static/styles.css
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,26 @@ input[type=number]::-webkit-outer-spin-button {
margin: 0;
}

input[type=submit] {
/*input[type=submit] {
position: relative;
top: 25px;
}*/

.button-container {
position : relative;
margin-top : 40px;
}

.button-container > * {
margin-bottom : 20px;
}

a.btn.btn-primary.btn-block {
.footer {
position : relative;
display : block;
}

/*a.btn.btn-primary.btn-block {
position: relative;
top: 25px;
}
Expand All @@ -131,3 +145,4 @@ button.btn.btn-secondary.btn-block {
position: relative;
top: 30px;
}
*/
Empty file modified app/sudopy.py
100755 → 100644
Empty file.
4 changes: 4 additions & 0 deletions app/templates/base.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ <h1 class="title">Sudoku Solver</h1>
{% endwith %}
{% block content %}{% endblock %}
</div>
<div class='footer'>
<hr>
<p> this is a test </p>
</div>
</body>

</html>
6 changes: 4 additions & 2 deletions app/templates/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
{% endfor %}
</div>
{% endfor %}
<input type="submit" value="Solve" class="btn btn-primary btn-block">
<button id="clear-btn" type="button" class="btn btn-secondary btn-block">Clear</button>
<div class=button-container>
<input type="submit" value="Solve" class="btn btn-primary btn-block">
<button id="clear-btn" type="button" class="btn btn-secondary btn-block">Clear</button>
</div>
</form>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions app/templates/solution.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
{% endfor %}
</div>
{% endfor %}

<a class="btn btn-primary btn-block" href="{{ url_for('index') }}">Back</a>
<div class='button-container'>
<a class="btn btn-primary btn-block" href="{{ url_for('index') }}">Back</a>
</div>
</div>
</div>
{% endblock %}
Empty file modified app/views.py
100755 → 100644
Empty file.
Empty file modified environment.yml
100755 → 100644
Empty file.
Empty file modified run.py
100755 → 100644
Empty file.

0 comments on commit 5b461ec

Please sign in to comment.