some more admin improvements

This commit is contained in:
Matthias Pfefferle 2023-07-24 14:13:26 +02:00
parent 36a139698d
commit 8c650c3356
3 changed files with 11 additions and 7 deletions

View file

@ -188,6 +188,11 @@ input.blog-user-identifier {
font-weight: bold; font-weight: bold;
} }
.settings_page_activitypub .activitypub-welcome-page input {
font-size: 20px;
width: 95%;
}
.settings_page_activitypub .plugin-recommendations { .settings_page_activitypub .plugin-recommendations {
border-bottom: none; border-bottom: none;
margin-bottom: 0; margin-bottom: 0;

View file

@ -11,7 +11,8 @@
?> ?>
<div class="activitypub-settings activitypub-settings-page hide-if-no-js"> <div class="activitypub-settings activitypub-settings-page hide-if-no-js">
<div class="notice notice-info"> <div class="box">
<h3><?php \esc_html_e( 'Troubleshooting', 'activitypub' ); ?></h3>
<p> <p>
<?php <?php
echo \wp_kses( echo \wp_kses(
@ -26,8 +27,6 @@
</p> </p>
</div> </div>
<p><?php \esc_html_e( 'Customize your ActivityPub settings to suit your needs.', 'activitypub' ); ?></p>
<form method="post" action="options.php"> <form method="post" action="options.php">
<?php \settings_fields( 'activitypub' ); ?> <?php \settings_fields( 'activitypub' ); ?>

View file

@ -27,10 +27,10 @@
<?php \esc_html_e( 'People can follow your Blog by using:', 'activitypub' ); ?> <?php \esc_html_e( 'People can follow your Blog by using:', 'activitypub' ); ?>
</p> </p>
<p> <p>
<label for="activitypub-blog-username"><?php \esc_html_e( 'Username', 'activitypub' ); ?></label> <label for="activitypub-blog-identifier"><?php \esc_html_e( 'Username', 'activitypub' ); ?></label>
</p> </p>
<p> <p>
<input type="text" class="regular-text" id="activitypub-blog-username" value="<?php echo \esc_attr( $blog_user->get_resource() ); ?>" /> <input type="text" class="regular-text" id="activitypub-blog-identifier" value="<?php echo \esc_attr( $blog_user->get_resource() ); ?>" />
</p> </p>
<p> <p>
<label for="activitypub-blog-url"><?php \esc_html_e( 'Profile-URL', 'activitypub' ); ?></label> <label for="activitypub-blog-url"><?php \esc_html_e( 'Profile-URL', 'activitypub' ); ?></label>
@ -59,10 +59,10 @@
<?php \esc_html_e( 'People can follow you by using your Username:', 'activitypub' ); ?> <?php \esc_html_e( 'People can follow you by using your Username:', 'activitypub' ); ?>
</p> </p>
<p> <p>
<label for="activitypub-user-username"><?php \esc_html_e( 'Username', 'activitypub' ); ?></label> <label for="activitypub-user-identifier"><?php \esc_html_e( 'Username', 'activitypub' ); ?></label>
</p> </p>
<p> <p>
<input type="text" class="regular-text" id="activitypub-user-username" value="<?php echo \esc_attr( $user->get_resource() ); ?>" /> <input type="text" class="regular-text" id="activitypub-user-identifier" value="<?php echo \esc_attr( $user->get_resource() ); ?>" />
</p> </p>
<p> <p>
<label for="activitypub-user-url"><?php \esc_html_e( 'Profile-URL', 'activitypub' ); ?></label> <label for="activitypub-user-url"><?php \esc_html_e( 'Profile-URL', 'activitypub' ); ?></label>