mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Add 'back' button
This commit is contained in:
10
app/assets/stylesheets/components/button.scss
Normal file
10
app/assets/stylesheets/components/button.scss
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
.button {
|
||||||
|
|
||||||
|
&-secondary {
|
||||||
|
@include button($grey-1);
|
||||||
|
padding: 0.52632em 0.78947em 0.26316em 0.78947em;
|
||||||
|
@include inline-block;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -30,6 +30,7 @@
|
|||||||
@import "components/sms-message";
|
@import "components/sms-message";
|
||||||
@import "components/placeholder";
|
@import "components/placeholder";
|
||||||
@import "components/template-picker";
|
@import "components/template-picker";
|
||||||
|
@import "components/button";
|
||||||
@import "components/table";
|
@import "components/table";
|
||||||
|
|
||||||
// TODO: break this up into components
|
// TODO: break this up into components
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
<form method="POST" enctype="multipart/form-data">
|
<form method="POST" enctype="multipart/form-data">
|
||||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||||
<input type="submit" class="button" value="Send {{recipients|length}} text messages" />
|
<input type="submit" class="button" value="Send {{recipients|length}} text messages" />
|
||||||
|
<a class="button-secondary" role="button" href="{{ url_for(".sendsms") }}">Back</a>
|
||||||
</form>
|
</form>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user