some template work on follow widget
This commit is contained in:
parent
e500a08f15
commit
69573c6afe
@ -170,8 +170,8 @@ function widget_follow($args) {
|
|||||||
}
|
}
|
||||||
return replace_macros(get_markup_template('follow.tpl'),array(
|
return replace_macros(get_markup_template('follow.tpl'),array(
|
||||||
'$connect' => t('Add New Connection'),
|
'$connect' => t('Add New Connection'),
|
||||||
'$desc' => t('Enter the channel address'),
|
'$desc' => t('Enter channel address'),
|
||||||
'$hint' => t('Example: bob@example.com, http://example.com/barbara'),
|
'$hint' => t('Examples: bob@example.com, https://example.com/channel/barbara'),
|
||||||
'$follow' => t('Connect'),
|
'$follow' => t('Connect'),
|
||||||
'$abook_usage_message' => $abook_usage_message
|
'$abook_usage_message' => $abook_usage_message
|
||||||
));
|
));
|
||||||
|
@ -23,17 +23,6 @@
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* follow */
|
|
||||||
|
|
||||||
#side-follow-url {
|
|
||||||
margin-top: 5px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#side-follow-submit {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* notes */
|
/* notes */
|
||||||
|
|
||||||
#note-text {
|
#note-text {
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
<div id="follow-sidebar" class="widget">
|
<div id="follow-sidebar" class="widget">
|
||||||
<h3>{{$connect}}</h3>
|
<h3>{{$connect}}</h3>
|
||||||
<div id="connect-desc">{{$desc}}</div>
|
|
||||||
<form action="follow" method="post" />
|
<form action="follow" method="post" />
|
||||||
<input id="side-follow-url" type="text" name="url" title="{{$hint}}" />
|
<div class="form-group">
|
||||||
<input id="side-follow-submit" type="submit" name="submit" class="btn btn-default" value="{{$follow}}" />
|
<div class="input-group">
|
||||||
|
<input class="widget-input" type="text" name="url" title="{{$hint}}" placeholder="{{$desc}}" />
|
||||||
|
<div class="input-group-btn">
|
||||||
|
<button class="btn btn-default btn-sm" type="submit" name="submit" value="{{$follow}}"><i class="icon-plus"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{{if $abook_usage_message}}
|
{{if $abook_usage_message}}
|
||||||
<div class="usage-message" id="abook-usage-message">{{$abook_usage_message}}</div>
|
<div class="usage-message" id="abook-usage-message">{{$abook_usage_message}}</div>
|
||||||
|
Reference in New Issue
Block a user