-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmail.html
57 lines (51 loc) · 2.44 KB
/
mail.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<!-- Bootstrap includes -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<?!= include("mail_script"); ?>
<?!= include("mail_css"); ?>
<?!= include("attachment_box_css"); ?>
<?!= include("google_picker_script"); ?>
<!-- HTML -->
<div class="container" style="margin-right: 1px;">
<div class="form-group row">
<div class="col-xs-12">
<label for="Subject">Ämne:</label>
<input type="text" class="form-control " id="subject" required autofocus>
</div>
</div>
<div class="form-group row">
<div class="col-xs-12">
<label for="message">Meddelande:</label>
<textarea class="form-control" rows="5" id="message" required></textarea>
</div>
</div>
<div id="advanced" class="form-group row" style="display: none;">
<div class="col-xs-4">
<label for="startRow">Startrad:</label>
<input type="text" class="form-control " id="startRow">
</div>
<div class="col-xs-4">
<label for="emailColumn">Email-kolumn:</label>
<input type="text" class="form-control " id="emailColumn">
</div>
<div class="col-xs-4">
<label for="members">Antal medlemmar:</label>
<input type="text" class="form-control " id="members">
</div>
</div>
<div id="bottomButtons" class="row float-right">
<div class="col-xs-12 float-right">
<input type="button" class="btn btn-primary" value="Skicka" onclick="sendEmail()" />
<input type="button" class="btn btn-danger" value="Avbryt" onclick="google.script.host.close()" />
<button type="button" class="btn btn-link pull-right" onclick="showAdvanced()"><span id="advancedToggle" class="glyphicon glyphicon-chevron-down pull-right" style="margin-left:5px; margin-top:2px"></span> Avancerat</button>
<button type="button" class="btn btn-link pull-right" onclick="onApiLoad()"><span id="advancedToggle" class="glyphicon glyphicon-paperclip pull-right" style="margin-left:5px; margin-top:2px"></span> Bifoga</button>
</div>
</div>
<div>
<p id="result"></p>
</div>
<div id="fileAttachments">
</div>
</div>