aboutsummaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-12-31 20:06:26 -0600
committerluxagraf <sng@luxagraf.net>2018-12-31 20:06:26 -0600
commit23b4b185e3f3f8b9f17eebc49110cb4696acdb39 (patch)
tree3ac73213b091054e93819f6293c3297439dd0c34 /design
parent219ac9b26feec3e2c5cd68cf530485d0dbaa943c (diff)
refactored JS
Diffstat (limited to 'design')
-rw-r--r--design/sass/_forms.scss9
-rw-r--r--design/sass/_modal.scss1
-rw-r--r--design/templates/notes/notes_detail.html1
3 files changed, 10 insertions, 1 deletions
diff --git a/design/sass/_forms.scss b/design/sass/_forms.scss
index d8a6a03..152e0ac 100644
--- a/design/sass/_forms.scss
+++ b/design/sass/_forms.scss
@@ -186,3 +186,12 @@ select {
}
margin: 3rem 0 1.5rem;
}
+.form-alert {
+ border: 3px solid red;
+ &:before {
+ display: block;
+ content: "This field is required";
+ padding: 6px;
+ color: red;
+ }
+}
diff --git a/design/sass/_modal.scss b/design/sass/_modal.scss
index dd21816..f333fd2 100644
--- a/design/sass/_modal.scss
+++ b/design/sass/_modal.scss
@@ -1,5 +1,4 @@
#overlay{
- font-family:Lato;
position:fixed;
width:100vw;
height:100vh;
diff --git a/design/templates/notes/notes_detail.html b/design/templates/notes/notes_detail.html
index 26bff03..edf45e7 100644
--- a/design/templates/notes/notes_detail.html
+++ b/design/templates/notes/notes_detail.html
@@ -50,6 +50,7 @@
<div id="q-container" class="inactive"><div id="note-body">{% if object.body_html %}{{object.body_html|safe}}{%else%}{{object.body_text}}{%endif%}</div></div>
<input id="btn-js-hide" type="submit" class="btn sm" value="Save" >
</form>
+ <button type="submit" value="trash" class="btn btn-hollow">Move to Trash</button>
</article>
<!--<aside class="note-list-container">
<div class="svg-wrapper"><svg class="svg-icon-arrow">