Commit 65040ef0 authored by Andrew Manning's avatar Andrew Manning Committed by Mario

Updated Rendezvous to use Fork Awesome and improved the rendezvous list format.

parent aec84755
......@@ -228,9 +228,9 @@ function rendezvous_post($a) {
}
if($html === '') {
$html = '
<div class="descriptive-text">
Press the button above to create a rendezvous!
</div>
<div class="descriptive-text">'.
t('You have no rendezvous. Press the button above to create a rendezvous!')
.'</div>
';
}
rendezvous_api_return(array('groups' => $x['groups'], 'html' => $html));
......
<div class="map-setting-block">
<h3>Rendezvous
<span class="pull-right">
<button id="add-new-group" class="btn btn-success btn-xs" title="{{$addnewrendezvous}}">
<i class="fa fa-plus"></i><span>&nbsp;{{$addnewrendezvous}}</span>
</button>
</span>
</h3>
<h3>Rendezvous</h3>
<div class="descriptive-text">
{{$instructions}}
</div>
<div class="clear" ></div>
<br>
<button id="add-new-group" class="btn btn-success btn-xs" title="{{$addnewrendezvous}}">
<i class="fa fa-plus"></i><span>&nbsp;{{$addnewrendezvous}}</span>
</button>
<div id="group-list" class="list-group" style="margin-top: 20px;margin-bottom: 20px;"></div>
</div>
......@@ -71,7 +69,7 @@
rv.deleteGroup = function (e) {
var clickedEl = $(e.currentTarget);
var group = clickedEl.find(".delete-group-id").html();
var group = clickedEl.find(".delete-group-id").attr('id');
var answer = confirm("Delete rendezvous (" + group + ") ?");
if (!answer) {
return false;
......
......@@ -5,7 +5,7 @@
<link href="/addon/rendezvous/view/css/jquery-ui.css" rel='stylesheet' type='text/css'>
<link href="/addon/rendezvous/view/css/rendezvous.css?v=0.1.0" rel='stylesheet' type='text/css'>
<link href="/library/bootstrap/css/bootstrap.min.css?v=1.13.3" rel='stylesheet' type='text/css'>
<link href="/library/font_awesome/css/font-awesome.min.css?v=1.13.3" rel='stylesheet' type='text/css'>
<link href="/library/fork-awesome/css/fork-awesome.min.css?v=3.3.3" rel="stylesheet" type="text/css" media="screen">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/addon/rendezvous/view/css/leaflet.css" rel='stylesheet' type='text/css'>
......
<div class="list-group-item">
<span><a href="{{$shareLink}}" title="Share this link">{{$shareLink}}</a></span>
<button class="btn btn-danger btn-xs delete-group-button pull-right" type="button">
<div class="delete-group-id hide">{{$group}}</div><i class="fa fa-remove"></i>
</button>
<table width="100%">
<tr>
<td style="width: 80%;">
<a href="{{$shareLink}}" title="Share this link">{{$shareLink}}</a>
</td>
<td style="width: 20%;">
<button class="btn btn-danger btn-xs delete-group-button pull-right" type="button">
<span class="delete-group-id" id="{{$group}}"><i class="fa fa-trash"></i></span>
</button>
</td>
</tr>
</table>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment