Update index.html

- Custom server field
This commit is contained in:
Ralf Stockmann 2023-05-18 09:49:12 +02:00 committed by GitHub
parent 6657cca41d
commit f19026eb22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,32 +14,49 @@
</nav> </nav>
<div id="zero-state" class="d-none"> <div id="zero-state" class="d-none">
<div class="container py-5"> <div class="container py-5 text-center"> <!-- add the text-center class here -->
<h2>Welcome to the Bibliocon Social Wall</h2> <div class="row justify-content-center">
<p>Please enter up to three hashtags to load posts:</p> <div class="col-sm-6"> <!-- Increase the number of columns here -->
<form id="hashtag-form"> <h2>Welcome to the Mastowall</h2>
<div class="form-group"> <p>Please enter up to three hashtags to load posts:</p>
<label for="hashtag1">Hashtag 1:</label> <form id="hashtag-form">
<input type="text" class="form-control" id="hashtag1" placeholder="Enter a hashtag"> <div class="form-group">
</div> <label for="hashtag1">Hashtag 1:</label>
<div class="form-group"> <input type="text" class="form-control" id="hashtag1" placeholder="Enter a hashtag">
<label for="hashtag2">Hashtag 2:</label> </div>
<input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag"> <div class="form-group">
</div> <label for="hashtag2">Hashtag 2:</label>
<div class="form-group"> <input type="text" class="form-control" id="hashtag2" placeholder="Enter a hashtag">
<label for="hashtag3">Hashtag 3:</label> </div>
<input type="text" class="form-control" id="hashtag3" placeholder="Enter a hashtag"> <div class="form-group">
</div> <label for="hashtag3">Hashtag 3:</label>
<button type="submit" class="btn btn-primary">Reload</button> <input type="text" class="form-control" id="hashtag3" placeholder="Enter a hashtag">
</form> </div>
<div class="form-group">
<label for="serverUrl">Server:</label>
<input type="text" class="form-control" id="serverUrl" placeholder="Enter server URL" value="https://mastodon.social">
</div>
<button type="submit" class="btn btn-primary">Reload</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="app-content" class="container"> <div id="app-content" class="container">
<div class="row masonry-grid" id="wall"></div> <div class="row masonry-grid" id="wall"></div>
</div> </div>
<footer class="footer text-center py-4 mt-5">
<div class="container">
<span class="text-muted">Host your own Mastowall - check the source code on </span>
<a href="https://github.com/rstockm/mastowall" target="_blank">GitHub</a>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script> <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
<script src="script.js"></script> <script src="script.js"></script>