Skip to content

Commit

Permalink
make invite modal smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Baertsch committed Jul 10, 2016
1 parent f01db6b commit 853037c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 13 additions & 15 deletions webapp/client/inviteModal.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<template name="inviteModal">
{{! shows up when invite people to a case}}
<div class="invite ui modal">
<div class="invite ui basic modal right floating">
{{#if Template.subscriptionsReady}}
{{#if getCase}}
{{#with getCase}}
<i class="close icon"></i>
<div class="header">
Invite to a Case
Invite for Opinion on {{caseLabel}} : {{summary}}
</div>

<div class="content">
<form class="invite ui form">
<div class="ui segment">
{{#if Template.subscriptionsReady}}
{{#if getCase}}
{{#with getCase}}
<h3>{{summary}}</h3>
<div class="ui list">
<table class="ui structured table">
<thead>
<tr>
Expand All @@ -33,13 +31,8 @@ <h3>{{summary}}</h3>
{{/each}}
</tbody>
</table>
{{/with}}
{{else}}
No case
{{/if}}
{{/if}}
</div>
<div class="ui segment">
<div class="ui list">
{{#if getMyContacts}}
<div class="ui horizontal segments">
<table class="ui structured table">
Expand Down Expand Up @@ -75,7 +68,7 @@ <h3>{{summary}}</h3>
{{/if}}

</div>
<div class="ui segment">
<div class="ui list">
{{#if getRecommendedContacts}}
<div class="ui horizontal segments">
<table class="ui structured table">
Expand Down Expand Up @@ -118,5 +111,10 @@ <h3>{{summary}}</h3>
<div class="ui button cancel">Cancel</div>
<div class="ui secondary button ok invite">Invite </div>
</div>
{{/with}}
{{else}}
No case
{{/if}}
{{/if}}
</div>
</template>
4 changes: 3 additions & 1 deletion webapp/client/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ body {margin: 5px;}
.ui.menu .ui.floating.label {
top: -0.4em;
}

.confinedSpace textarea { height: 50px; resize:vertical; max-height:50px; min-height:50px; }

.rail {
Expand Down Expand Up @@ -59,3 +58,6 @@ body {margin: 5px;}
.dropzone .dz-message {
margin: 0px;
}
.invite.ui.modal {
max-width: 500px;
}

0 comments on commit 853037c

Please sign in to comment.