mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Merge pull request #906 from fediverse-pl/strings-improvements
some English strings improvements
This commit is contained in:
commit
a9c4fbc6d7
12 changed files with 64 additions and 64 deletions
BIN
public/vendor/horizon/css/app.css
vendored
BIN
public/vendor/horizon/css/app.css
vendored
Binary file not shown.
|
@ -64,7 +64,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
followUser(id, event) {
|
followUser(id, event) {
|
||||||
axios.post('/i/follow', {
|
axios.post('/i/follow', {
|
||||||
item: id
|
item: id
|
||||||
|
@ -74,7 +74,7 @@ export default {
|
||||||
el.text('Unfollow');
|
el.text('Unfollow');
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
swal(
|
swal(
|
||||||
'Whoops! Something went wrong...',
|
'Whoops! Something went wrong…',
|
||||||
'An error occurred, please try again later.',
|
'An error occurred, please try again later.',
|
||||||
'error'
|
'error'
|
||||||
);
|
);
|
||||||
|
@ -136,4 +136,4 @@ export default {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -152,7 +152,7 @@
|
||||||
<form class="comment-form d-none" method="post" action="/i/comment" :data-id="statusId" data-truncate="false">
|
<form class="comment-form d-none" method="post" action="/i/comment" :data-id="statusId" data-truncate="false">
|
||||||
<input type="hidden" name="_token" value="">
|
<input type="hidden" name="_token" value="">
|
||||||
<input type="hidden" name="item" :value="statusId">
|
<input type="hidden" name="item" :value="statusId">
|
||||||
<input class="form-control" name="comment" placeholder="Add a comment..." autocomplete="off">
|
<input class="form-control" name="comment" placeholder="Add a comment…" autocomplete="off">
|
||||||
<input type="submit" value="Send" class="btn btn-primary comment-submit" />
|
<input type="submit" value="Send" class="btn btn-primary comment-submit" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -172,7 +172,7 @@
|
||||||
<div class="list-group-item border-0" v-for="(user, index) in likes" :key="'modal_likes_'+index">
|
<div class="list-group-item border-0" v-for="(user, index) in likes" :key="'modal_likes_'+index">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a :href="user.url">
|
<a :href="user.url">
|
||||||
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '\'s avatar'" width="30px">
|
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + ’s avatar'" width="30px">
|
||||||
</a>
|
</a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<p class="mb-0" style="font-size: 14px">
|
<p class="mb-0" style="font-size: 14px">
|
||||||
|
@ -203,7 +203,7 @@
|
||||||
<div class="list-group-item border-0" v-for="(user, index) in shares" :key="'modal_shares_'+index">
|
<div class="list-group-item border-0" v-for="(user, index) in shares" :key="'modal_shares_'+index">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a :href="user.url">
|
<a :href="user.url">
|
||||||
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '\'s avatar'" width="30px">
|
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '’s avatar'" width="30px">
|
||||||
</a>
|
</a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<div class="d-inline-block">
|
<div class="d-inline-block">
|
||||||
|
@ -526,7 +526,7 @@ export default {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
owner() {
|
owner() {
|
||||||
return this.user.id === this.status.account.id;
|
return this.user.id === this.status.account.id;
|
||||||
},
|
},
|
||||||
|
|
|
@ -34,25 +34,25 @@
|
||||||
<div class="profile-stats pb-3 d-inline-flex lead">
|
<div class="profile-stats pb-3 d-inline-flex lead">
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark" :href="profile.url">
|
<a class="text-dark" :href="profile.url">
|
||||||
<span class="font-weight-bold">{{profile.statuses_count}}</span>
|
<span class="font-weight-bold">{{profile.statuses_count}}</span>
|
||||||
Posts
|
Posts
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark cursor-pointer" v-on:click="followersModal()">
|
<a class="text-dark cursor-pointer" v-on:click="followersModal()">
|
||||||
<span class="font-weight-bold">{{profile.followers_count}}</span>
|
<span class="font-weight-bold">{{profile.followers_count}}</span>
|
||||||
Followers
|
Followers
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="font-weight-light pr-5">
|
<div class="font-weight-light pr-5">
|
||||||
<a class="text-dark cursor-pointer" v-on:click="followingModal()">
|
<a class="text-dark cursor-pointer" v-on:click="followingModal()">
|
||||||
<span class="font-weight-bold">{{profile.following_count}}</span>
|
<span class="font-weight-bold">{{profile.following_count}}</span>
|
||||||
Following
|
Following
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead mb-0 d-flex align-items-center">
|
<p class="lead mb-0 d-flex align-items-center">
|
||||||
<span class="font-weight-bold pr-3">{{profile.display_name}}</span>
|
<span class="font-weight-bold pr-3">{{profile.display_name}}</span>
|
||||||
</p>
|
</p>
|
||||||
<div v-if="profile.note" class="mb-0 lead" v-html="profile.note"></div>
|
<div v-if="profile.note" class="mb-0 lead" v-html="profile.note"></div>
|
||||||
<p v-if="profile.website" class="mb-0"><a :href="profile.website" class="font-weight-bold" rel="me external nofollow noopener" target="_blank">{{profile.website}}</a></p>
|
<p v-if="profile.website" class="mb-0"><a :href="profile.website" class="font-weight-bold" rel="me external nofollow noopener" target="_blank">{{profile.website}}</a></p>
|
||||||
|
@ -144,7 +144,7 @@
|
||||||
|
|
||||||
<div class="postPresenterContainer">
|
<div class="postPresenterContainer">
|
||||||
<div v-if="status.pf_type === 'photo'" class="w-100">
|
<div v-if="status.pf_type === 'photo'" class="w-100">
|
||||||
<photo-presenter :status="status"></photo-presenter>
|
<photo-presenter :status="status"></photo-presenter>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="status.pf_type === 'video'" class="w-100">
|
<div v-else-if="status.pf_type === 'video'" class="w-100">
|
||||||
|
@ -233,7 +233,7 @@
|
||||||
<div class="list-group-item border-0" v-for="(user, index) in following" :key="'following_'+index">
|
<div class="list-group-item border-0" v-for="(user, index) in following" :key="'following_'+index">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a :href="user.url">
|
<a :href="user.url">
|
||||||
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '\'s avatar'" width="30px">
|
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '’s avatar'" width="30px">
|
||||||
</a>
|
</a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<p class="mb-0" style="font-size: 14px">
|
<p class="mb-0" style="font-size: 14px">
|
||||||
|
@ -262,7 +262,7 @@
|
||||||
<div class="list-group-item border-0" v-for="(user, index) in followers" :key="'follower_'+index">
|
<div class="list-group-item border-0" v-for="(user, index) in followers" :key="'follower_'+index">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a :href="user.url">
|
<a :href="user.url">
|
||||||
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '\'s avatar'" width="30px">
|
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '’s avatar'" width="30px">
|
||||||
</a>
|
</a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<p class="mb-0" style="font-size: 14px">
|
<p class="mb-0" style="font-size: 14px">
|
||||||
|
@ -329,7 +329,7 @@ export default {
|
||||||
mode: 'grid',
|
mode: 'grid',
|
||||||
modes: ['grid', 'list', 'masonry'],
|
modes: ['grid', 'list', 'masonry'],
|
||||||
modalStatus: false,
|
modalStatus: false,
|
||||||
relationship: {},
|
relationship: {},
|
||||||
followers: [],
|
followers: [],
|
||||||
followerCursor: 1,
|
followerCursor: 1,
|
||||||
followerMore: true,
|
followerMore: true,
|
||||||
|
@ -456,7 +456,7 @@ export default {
|
||||||
if($('body').hasClass('loggedIn') == false) {
|
if($('body').hasClass('loggedIn') == false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
axios.post('/i/like', {
|
axios.post('/i/like', {
|
||||||
item: status.id
|
item: status.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
@ -688,7 +688,7 @@ export default {
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.followers = res.data;
|
this.followers = res.data;
|
||||||
this.followerCursor++;
|
this.followerCursor++;
|
||||||
})
|
})
|
||||||
this.$refs.followerModal.show();
|
this.$refs.followerModal.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -726,4 +726,4 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div v-if="loading" class="pt-5 text-center">
|
<div v-if="loading" class="pt-5 text-center">
|
||||||
<div class="spinner-border" role="status">
|
<div class="spinner-border" role="status">
|
||||||
<span class="sr-only">Loading...</span>
|
<span class="sr-only">Loading…</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="networkError" class="pt-5 text-center">
|
<div v-if="networkError" class="pt-5 text-center">
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="!loading && !networkError" class="mt-5 row">
|
<div v-if="!loading && !networkError" class="mt-5 row">
|
||||||
|
|
||||||
<div class="col-12 col-md-3">
|
<div class="col-12 col-md-3">
|
||||||
<div>
|
<div>
|
||||||
<p class="font-weight-bold">Filters</p>
|
<p class="font-weight-bold">Filters</p>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<div class="col-12 col-md-9">
|
<div class="col-12 col-md-9">
|
||||||
<p class="h3 font-weight-lighter">Showing results for <i>{{query}}</i></p>
|
<p class="h3 font-weight-lighter">Showing results for <i>{{query}}</i></p>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div v-if="filters.hashtags && results.hashtags.length" class="row mb-4">
|
<div v-if="filters.hashtags && results.hashtags.length" class="row mb-4">
|
||||||
<p class="col-12 font-weight-bold text-muted">Hashtags</p>
|
<p class="col-12 font-weight-bold text-muted">Hashtags</p>
|
||||||
<a v-for="(hashtag, index) in results.hashtags" class="col-12 col-md-4" style="text-decoration: none;" :href="hashtag.url">
|
<a v-for="(hashtag, index) in results.hashtags" class="col-12 col-md-4" style="text-decoration: none;" :href="hashtag.url">
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style type="text/css" scoped>
|
<style type="text/css" scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -131,4 +131,4 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body loader text-center" style="height: 120px;">
|
<div class="card-body loader text-center" style="height: 120px;">
|
||||||
<div class="spinner-border" role="status">
|
<div class="spinner-border" role="status">
|
||||||
<span class="sr-only">Loading...</span>
|
<span class="sr-only">Loading…</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body pt-2 contents" style="max-height: 120px; overflow-y: scroll;">
|
<div class="card-body pt-2 contents" style="max-height: 120px; overflow-y: scroll;">
|
||||||
<div id="stories">
|
<div id="stories">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style type="text/css" scoped>
|
<style type="text/css" scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -53,4 +53,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
<div class="postPresenterContainer">
|
<div class="postPresenterContainer">
|
||||||
<div v-if="status.pf_type === 'photo'" class="w-100">
|
<div v-if="status.pf_type === 'photo'" class="w-100">
|
||||||
<photo-presenter :status="status"></photo-presenter>
|
<photo-presenter :status="status"></photo-presenter>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="status.pf_type === 'video'" class="w-100">
|
<div v-else-if="status.pf_type === 'video'" class="w-100">
|
||||||
|
@ -256,12 +256,12 @@
|
||||||
<div v-else-if="n.type == 'follow'">
|
<div v-else-if="n.type == 'follow'">
|
||||||
<p class="my-0">
|
<p class="my-0">
|
||||||
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> followed you.
|
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> followed you.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="n.type == 'share'">
|
<div v-else-if="n.type == 'share'">
|
||||||
<p class="my-0">
|
<p class="my-0">
|
||||||
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> shared your <a class="font-weight-bold" v-bind:href="n.status.reblog.url">post</a>.
|
<a :href="n.account.url" class="font-weight-bold text-dark word-break">{{n.account.username}}</a> shared your <a class="font-weight-bold" v-bind:href="n.status.reblog.url">post</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -307,7 +307,7 @@
|
||||||
<div class="list-group-item border-0" v-for="(user, index) in following" :key="'following_'+index">
|
<div class="list-group-item border-0" v-for="(user, index) in following" :key="'following_'+index">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a :href="user.url">
|
<a :href="user.url">
|
||||||
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '\'s avatar'" width="30px">
|
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '’s avatar'" width="30px">
|
||||||
</a>
|
</a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<p class="mb-0" style="font-size: 14px">
|
<p class="mb-0" style="font-size: 14px">
|
||||||
|
@ -336,7 +336,7 @@
|
||||||
<div class="list-group-item border-0" v-for="(user, index) in followers" :key="'follower_'+index">
|
<div class="list-group-item border-0" v-for="(user, index) in followers" :key="'follower_'+index">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<a :href="user.url">
|
<a :href="user.url">
|
||||||
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '\'s avatar'" width="30px">
|
<img class="mr-3 rounded-circle box-shadow" :src="user.avatar" :alt="user.username + '’s avatar'" width="30px">
|
||||||
</a>
|
</a>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<p class="mb-0" style="font-size: 14px">
|
<p class="mb-0" style="font-size: 14px">
|
||||||
|
@ -567,7 +567,7 @@
|
||||||
if($('body').hasClass('loggedIn') == false) {
|
if($('body').hasClass('loggedIn') == false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
axios.post('/i/like', {
|
axios.post('/i/like', {
|
||||||
item: status.id
|
item: status.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
@ -786,7 +786,7 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'disable':
|
case 'disable':
|
||||||
msg = 'Are you sure you want to disable ' + username + '\'s account ?';
|
msg = 'Are you sure you want to disable ' + username + '’s account ?';
|
||||||
swal({
|
swal({
|
||||||
title: 'Confirm',
|
title: 'Confirm',
|
||||||
text: msg,
|
text: msg,
|
||||||
|
@ -800,7 +800,7 @@
|
||||||
item_id: status.id,
|
item_id: status.id,
|
||||||
item_type: 'status'
|
item_type: 'status'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
swal('Success', 'Successfully disabled ' + username + '\'s account', 'success');
|
swal('Success', 'Successfully disabled ' + username + '’s account', 'success');
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
swal(
|
swal(
|
||||||
'Error',
|
'Error',
|
||||||
|
@ -813,7 +813,7 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'suspend':
|
case 'suspend':
|
||||||
msg = 'Are you sure you want to suspend ' + username + '\'s account ?';
|
msg = 'Are you sure you want to suspend ' + username + '’s account ?';
|
||||||
swal({
|
swal({
|
||||||
title: 'Confirm',
|
title: 'Confirm',
|
||||||
text: msg,
|
text: msg,
|
||||||
|
@ -827,7 +827,7 @@
|
||||||
item_id: status.id,
|
item_id: status.id,
|
||||||
item_type: 'status'
|
item_type: 'status'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
swal('Success', 'Successfully suspend ' + username + '\'s account', 'success');
|
swal('Success', 'Successfully suspend ' + username + '’s account', 'success');
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
swal(
|
swal(
|
||||||
'Error',
|
'Error',
|
||||||
|
@ -908,7 +908,7 @@
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.followers = res.data;
|
this.followers = res.data;
|
||||||
this.followerCursor++;
|
this.followerCursor++;
|
||||||
})
|
})
|
||||||
this.$refs.followerModal.show();
|
this.$refs.followerModal.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -946,4 +946,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -15,8 +15,8 @@ return [
|
||||||
|
|
||||||
'password' => 'Passwords must be at least six characters and match the confirmation.',
|
'password' => 'Passwords must be at least six characters and match the confirmation.',
|
||||||
'reset' => 'Your password has been reset!',
|
'reset' => 'Your password has been reset!',
|
||||||
'sent' => 'If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes. Please check your spam folder if you didn\'t receive this email.',
|
'sent' => 'If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes. Please check your spam folder if you didn’t receive this email.',
|
||||||
'token' => 'This password reset token is invalid.',
|
'token' => 'This password reset token is invalid.',
|
||||||
'user' => 'If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes. Please check your spam folder if you didn\'t receive this email.',
|
'user' => 'If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes. Please check your spam folder if you didn’t receive this email.',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -11,6 +11,6 @@ return [
|
||||||
'privacy' => 'Privacy',
|
'privacy' => 'Privacy',
|
||||||
'l10nWip' => 'We’re still working on localization support',
|
'l10nWip' => 'We’re still working on localization support',
|
||||||
'currentLocale' => 'Current locale',
|
'currentLocale' => 'Current locale',
|
||||||
'selectLocale' => 'Select from one of the supported languages',
|
'selectLocale' => 'Select one of the supported languages',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
<p class="font-weight-ultralight h2 mb-0 text-truncate">{{$sys['php']}}</p>
|
<p class="font-weight-ultralight h2 mb-0 text-truncate">{{$sys['php']}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer font-weight-bold py-0 text-center bg-white">PHP</div>
|
<div class="card-footer font-weight-bold py-0 text-center bg-white">PHP</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-3">
|
<div class="col-12 col-md-3">
|
||||||
<div class="card mb-3 border-left-blue">
|
<div class="card mb-3 border-left-blue">
|
||||||
<div class="card-body text-center">
|
<div class="card-body text-center">
|
||||||
|
@ -48,9 +48,9 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="card-loading text-center">
|
<div class="card-loading text-center">
|
||||||
<div class="spinner-border" role="status">
|
<div class="spinner-border" role="status">
|
||||||
<span class="sr-only">Loading...</span>
|
<span class="sr-only">Loading…</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card card-release d-none">
|
<div class="card card-release d-none">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
@ -112,4 +112,4 @@ $(document).ready(function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<span class="font-weight-bold">Compose</span>
|
<span class="font-weight-bold">Compose</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div>
|
<div>
|
||||||
<button class="btn btn-link text-muted" type="button" id="composeMenu">
|
<button class="btn btn-link text-muted" type="button" id="composeMenu">
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body bg-light">
|
<div class="card-body bg-light">
|
||||||
<div class="composeLoader d-none text-center">
|
<div class="composeLoader d-none text-center">
|
||||||
<div class="lds-ring"><div></div><div></div><div></div><div></div></div>
|
<div class="lds-ring"><div></div><div></div><div></div><div></div></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-none preview-pagination">
|
<div class="d-none preview-pagination">
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
|
@ -37,14 +37,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="preview-thumbs">
|
<div class="preview-thumbs">
|
||||||
<div class="d-flex justify-content-center" style="overflow-x: auto;">
|
<div class="d-flex justify-content-center" style="overflow-x: auto;">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="preview row"></div>
|
<div class="preview row"></div>
|
||||||
<div class="preview-meta mb-4 d-none form-inline">
|
<div class="preview-meta mb-4 d-none form-inline">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
||||||
<div class="btn-group mr-3" role="group" aria-label="First group">
|
<div class="btn-group mr-3" role="group" aria-label="First group">
|
||||||
<button type="button" class="btn btn-outline-secondary btn-sm py-1" id="cw" data-toggle="tooltip" data-placement="bottom" title="A content warning or nsfw warning is required for certain content."><i class="far fa-eye d-none d-md-block"></i> CW/NSFW</button>
|
<button type="button" class="btn btn-outline-secondary btn-sm py-1" id="cw" data-toggle="tooltip" data-placement="bottom" title="A content warning or nsfw warning is required for certain content."><i class="far fa-eye d-none d-md-block"></i> CW/NSFW</button>
|
||||||
<button type="button" class="btn btn-outline-secondary btn-sm py-1" id="alt"><i class="fab fa-accessible-icon d-none d-md-block"></i> Media Description</button>
|
<button type="button" class="btn btn-outline-secondary btn-sm py-1" id="alt"><i class="fab fa-accessible-icon d-none d-md-block"></i> Media Description</button>
|
||||||
|
@ -83,33 +83,33 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-sm-2 px-0 text-center">
|
<div class="col-12 col-sm-2 px-0 text-center">
|
||||||
<i class="fas fa-globe"></i>
|
<i class="fas fa-globe"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-sm-10 pl-2">
|
<div class="col-12 col-sm-10 pl-2">
|
||||||
<p class="font-weight-bold mb-0">Public</p>
|
<p class="font-weight-bold mb-0">Public</p>
|
||||||
<p class="small mb-0">Anyone can see</p>
|
<p class="small mb-0">Anyone can see</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a class="dropdown-item" href="#" data-id="private" data-title="Followers Only">
|
<a class="dropdown-item" href="#" data-id="private" data-title="Followers Only">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-sm-2 px-0 text-center">
|
<div class="col-12 col-sm-2 px-0 text-center">
|
||||||
<i class="fas fa-lock"></i>
|
<i class="fas fa-lock"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-sm-10 pl-2">
|
<div class="col-12 col-sm-10 pl-2">
|
||||||
<p class="font-weight-bold mb-0">Followers Only</p>
|
<p class="font-weight-bold mb-0">Followers Only</p>
|
||||||
<p class="small mb-0">Only followers can see</p>
|
<p class="small mb-0">Only followers can see</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
{{-- <a class="dropdown-item" href="#" data-id="direct" data-title="Direct Message">
|
{{-- <a class="dropdown-item" href="#" data-id="direct" data-title="Direct Message">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-sm-2 px-0 text-center">
|
<div class="col-12 col-sm-2 px-0 text-center">
|
||||||
<i class="fas fa-envelope"></i>
|
<i class="fas fa-envelope"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-sm-10 pl-2">
|
<div class="col-12 col-sm-10 pl-2">
|
||||||
<p class="font-weight-bold mb-0">Direct Message</p>
|
<p class="font-weight-bold mb-0">Direct Message</p>
|
||||||
<p class="small mb-0">Recipients only</p>
|
<p class="small mb-0">Recipients only</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a> --}}
|
</a> --}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -280,7 +280,7 @@ pixelfed.uploader.loadMeta = function() {
|
||||||
if(pixelfed.uploader.ids.length > 1) {
|
if(pixelfed.uploader.ids.length > 1) {
|
||||||
$('.next').removeClass('text-light');
|
$('.next').removeClass('text-light');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(cursor > 1) {
|
if(cursor > 1) {
|
||||||
$('.prev').removeClass('text-light');
|
$('.prev').removeClass('text-light');
|
||||||
if(pixelfed.uploader.ids.length > cursor) {
|
if(pixelfed.uploader.ids.length > cursor) {
|
||||||
|
@ -490,14 +490,14 @@ $('.visibility .dropdown-item').on('click', function(e) {
|
||||||
});
|
});
|
||||||
el.addClass('active');
|
el.addClass('active');
|
||||||
$('#visibility').text(el.data('title'));
|
$('#visibility').text(el.data('title'));
|
||||||
pixelfed.uploader.visibility = el.data('id');
|
pixelfed.uploader.visibility = el.data('id');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#composeMenu').on('click', function(e) {
|
$('#composeMenu').on('click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
swal(
|
swal(
|
||||||
'Experimental Feature',
|
'Experimental Feature',
|
||||||
'We\'re still working on this feature.',
|
'We’re still working on this feature.',
|
||||||
'info'
|
'info'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
@ -526,4 +526,4 @@ $('#composeMenu').on('click', function(e) {
|
||||||
}); --}}
|
}); --}}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
@csrf
|
@csrf
|
||||||
<input type="hidden" name="item" value="{{$status->id}}">
|
<input type="hidden" name="item" value="{{$status->id}}">
|
||||||
|
|
||||||
<input class="form-control" name="comment" placeholder="Add a comment..." autocomplete="off">
|
<input class="form-control" name="comment" placeholder="Add a comment…" autocomplete="off">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue