Merge remote-tracking branch 'upstream/dev' into website-import
This commit is contained in:
commit
75fb065526
@ -159,7 +159,7 @@ function embedphotos_widget_album($args) {
|
|||||||
'$upload' => array(t('Upload'), z_root() . '/photos/' . \App::$profile['channel_address'] . '/upload/' . bin2hex($album)),
|
'$upload' => array(t('Upload'), z_root() . '/photos/' . \App::$profile['channel_address'] . '/upload/' . bin2hex($album)),
|
||||||
'$order' => false,
|
'$order' => false,
|
||||||
'$upload_form' => $upload_form,
|
'$upload_form' => $upload_form,
|
||||||
'$usage' => $usage_message
|
'$no_fullscreen_btn' => true
|
||||||
));
|
));
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
|
@ -7,5 +7,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.channel-menu {
|
.channel-menu {
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zat-example {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#atoken-index {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#atoken-index td:nth-child(1){
|
||||||
|
padding: 7px 3px 7px 10px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.atoken-index-tool {
|
||||||
|
padding: 7px 10px;
|
||||||
}
|
}
|
||||||
|
@ -1655,6 +1655,7 @@ main.fullscreen .section-content-wrapper-np {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.atoken-index-row:hover td,
|
||||||
.chatroom-index-row:hover td,
|
.chatroom-index-row:hover td,
|
||||||
.locs-index-row:hover td,
|
.locs-index-row:hover td,
|
||||||
[id^="cloud-index-"]:hover td,
|
[id^="cloud-index-"]:hover td,
|
||||||
|
@ -12,8 +12,10 @@
|
|||||||
<button class="btn btn-xs btn-success btn-xs" title="{{$usage}}" onclick="openClose('photo-upload-form'); closeMenu('photo-album-edit-wrapper');"><i class="fa fa-arrow-circle-o-up"></i> {{$upload.0}}</button>
|
<button class="btn btn-xs btn-success btn-xs" title="{{$usage}}" onclick="openClose('photo-upload-form'); closeMenu('photo-album-edit-wrapper');"><i class="fa fa-arrow-circle-o-up"></i> {{$upload.0}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
{{if !$no_fullscreen_btn}}
|
||||||
<button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="fa fa-expand"></i></button>
|
<button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="fa fa-expand"></i></button>
|
||||||
<button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="fa fa-compress"></i></button>
|
<button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="fa fa-compress"></i></button>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<h2>{{$album}}</h2>
|
<h2>{{$album}}</h2>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
@ -3,31 +3,38 @@
|
|||||||
<h2>{{$title}}</h2>
|
<h2>{{$title}}</h2>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="atoken-text descriptive-text">{{$desc}}</div>
|
<div class="section-content-tools-wrapper">
|
||||||
<div class="atoken-text descriptive-text">{{$desc2}}</div>
|
<div class="section-content-info-wrapper">
|
||||||
<div class="atoken-example">{{$url1}}<span class="zat-example">&f=&zat=<span class="token-mirror"></span></span></div>
|
{{$desc}}
|
||||||
<div class="atoken-example">{{$url2}}<span class="zat-example">&f=&zat=<span class="token-mirror"></span></span></div>
|
</div>
|
||||||
<br />
|
|
||||||
<form action="settings/tokens" id="settings-account-form" method="post" autocomplete="off" >
|
<form action="settings/tokens" id="settings-account-form" method="post" autocomplete="off" >
|
||||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||||
{{if $atoken}}<input type="hidden" name="atoken_id" value="{{$atoken.atoken_id}}" />{{/if}}
|
{{if $atoken}}<input type="hidden" name="atoken_id" value="{{$atoken.atoken_id}}" />{{/if}}
|
||||||
<div class="section-content-tools-wrapper">
|
|
||||||
{{include file="field_input.tpl" field=$name}}
|
{{include file="field_input.tpl" field=$name}}
|
||||||
{{include file="field_input.tpl" field=$token}}
|
{{include file="field_input.tpl" field=$token}}
|
||||||
{{include file="field_input.tpl" field=$expires}}
|
{{include file="field_input.tpl" field=$expires}}
|
||||||
<div class="settings-submit-wrapper" >
|
<div class="settings-submit-wrapper form-group">
|
||||||
<button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
|
<button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
</form>
|
<div class="descriptive-text">{{$desc2}}</div>
|
||||||
|
<ul>
|
||||||
|
<li>{{$url1}}<span class="zat-example">?f=&zat=<span class="token-mirror"></span></span></li>
|
||||||
|
<li>{{$url2}}<span class="zat-example">?f=&zat=<span class="token-mirror"></span></span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
{{if $tokens}}
|
{{if $tokens}}
|
||||||
<div>
|
<div class="section-content-wrapper-np">
|
||||||
<ul class="atoken-list">
|
<table id="atoken-index">
|
||||||
{{foreach $tokens as $t}}
|
{{foreach $tokens as $t}}
|
||||||
<li><span class="pull-right atoken-drop"><a href="settings/tokens/{{$t.atoken_id}}/drop"><i class="fa fa-trash btn btn-xs btn-default"></i></a></span><a href="settings/tokens/{{$t.atoken_id}}">{{$t.atoken_name}}</a></li>
|
<tr id="atoken-index-{{$t.atoken_id}}" class="atoken-index-row">
|
||||||
{{/foreach}}
|
<td width="99%"><a href="settings/tokens/{{$t.atoken_id}}">{{$t.atoken_name}}</a></td>
|
||||||
</ul>
|
<td width="1%" class="atoken-index-tool"><i class="fa fa-trash-o drop-icons" onClick="dropItem('/settings/tokens/{{$t.atoken_id}}/drop', '#atoken-index-{{$t.atoken_id}}')"></i></td>
|
||||||
|
</tr>
|
||||||
|
{{/foreach}}
|
||||||
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user