diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9a605a7 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.1.0] - 2024-10-20 + +### Added + +* Initial version tag. diff --git a/assets/css/activitypub-event-bridge-admin.css b/assets/css/activitypub-event-bridge-admin.css index a3575c3..f3e6793 100644 --- a/assets/css/activitypub-event-bridge-admin.css +++ b/assets/css/activitypub-event-bridge-admin.css @@ -5,6 +5,20 @@ margin-bottom: 1.5em; } +.activitypub-event-bridge-settings-page .box ul.activitypub-event-bridge-list { + list-style-type: disc; + margin-left: 1rem; +} + +.activitypub-event-bridge-settings-page .box pre { + padding: 1rem; + min-height: 200px; + box-shadow: none; + border-radius: 15px; + border: 1px solid #dfe0e2; + background-color: #f7f7f7; +} + .activitypub-event-bridge-settings { max-width: 800px; margin: 0 auto; @@ -49,4 +63,5 @@ .activitypub-event-bridge-settings .box h3 { font-size: 1.1rem!important; -} \ No newline at end of file +} + diff --git a/templates/status.php b/templates/status.php index 36d8b74..2b5a04a 100644 --- a/templates/status.php +++ b/templates/status.php @@ -20,13 +20,30 @@ use ActivityPub_Event_Bridge\Setup; $active_event_plugins = Setup::get_instance()->get_active_event_plugins(); +global $wp_filesystem; +WP_Filesystem(); + ?>
-

- -

get_plugin_name() ); ?>

- +

+

+ +
+ +
+

+
+			get_contents( ACTIVITYPUB_EVENT_BRIDGE_PLUGIN_DIR . '/CHANGELOG.md' );
+			echo esc_html( substr( $changelog, strpos( $changelog, "\n", 180 ) + 1 ) );
+			?>
+		
+