Dockerize Project
This commit is contained in:
commit
e679d02b41
205 changed files with 17941 additions and 0 deletions
29
templates/partials/__footer.html.twig
Executable file
29
templates/partials/__footer.html.twig
Executable file
|
@ -0,0 +1,29 @@
|
|||
{% block footer %}
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<div class="site-footer-inner">
|
||||
<div class="brand footer-brand">
|
||||
<a href="#">
|
||||
<img class="header-logo-image" style="height: 40px;"
|
||||
src="{{ asset('assets/img/logo-white.png') }}"
|
||||
alt="Logo">
|
||||
</a>
|
||||
</div>
|
||||
<ul class="footer-links list-reset">
|
||||
<li>
|
||||
<a href="#">About us</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('app_faq') }}">FAQ's</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Support</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="footer-social-links list-reset">
|
||||
</ul>
|
||||
<div class="footer-copyright">© 2023 ventry.host</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{% endblock %}
|
18
templates/partials/__header.html.twig
Executable file
18
templates/partials/__header.html.twig
Executable file
|
@ -0,0 +1,18 @@
|
|||
{% block header %}
|
||||
<div class="site-header">
|
||||
</div>
|
||||
<header id="header" class="site-header-no-bg sticky">
|
||||
<div class="container">
|
||||
<div class="site-header-no-bg-inner">
|
||||
<div class="brand header-brand">
|
||||
<h1 class="m-0">
|
||||
<a href="{{ path('app_index') }}">
|
||||
<img class="header-logo-image" style="height: 40px;"
|
||||
src="{{ asset('assets/img/logo-white.png') }}" alt="Logo">
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{% endblock %}
|
3
templates/partials/__spacer.html.twig
Executable file
3
templates/partials/__spacer.html.twig
Executable file
|
@ -0,0 +1,3 @@
|
|||
{% block spacer %}
|
||||
<div style="margin-bottom: 15em"></div>
|
||||
{% endblock %}
|
12
templates/partials/home/__gallery.html.twig
Executable file
12
templates/partials/home/__gallery.html.twig
Executable file
|
@ -0,0 +1,12 @@
|
|||
{% block gallery %}
|
||||
<div class="image-grid">
|
||||
{% for file in files %}
|
||||
<div class="image-container">
|
||||
<a href="{{ path('app_serve_file', {'filename': file.name}) }}">
|
||||
<img draggable="false" src="{{ asset('uploads/' ~ file.user.id ~ '/' ~ file.name) }}" class=""
|
||||
alt="{{ file.name }}">
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
23
templates/partials/home/__pagination.html.twig
Executable file
23
templates/partials/home/__pagination.html.twig
Executable file
|
@ -0,0 +1,23 @@
|
|||
{% block pagination %}
|
||||
<div class="pagination justify-content-center mt-24" data-bs-theme="dark">
|
||||
<ul class="pagination">
|
||||
{% if currentPage > 1 %}
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ path('app_home', {'page': currentPage - 1}) }}">Previous</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% for page in 1..totalPages %}
|
||||
<li class="page-item {% if page == currentPage %}disabled{% endif %}">
|
||||
<a class="page-link" href="{{ path('app_home', {'page': page}) }}">{{ page }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
{% if currentPage < totalPages %}
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ path('app_home', {'page': currentPage + 1}) }}">Next</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
51
templates/partials/home/__statistics.html.twig
Executable file
51
templates/partials/home/__statistics.html.twig
Executable file
|
@ -0,0 +1,51 @@
|
|||
{% block statistics %}
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="card custom-card">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-2 d-flex align-items-center justify-content-center">
|
||||
<i class="fa-solid fa-file"></i> <!-- Updated icon for "Todays Uploads" -->
|
||||
</div>
|
||||
<div class="col-10">
|
||||
<h5 class="card-title">Todays Uploads</h5>
|
||||
<p class="card-text" style="color: #888;">{{ todaysUploads }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card custom-card">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-2 d-flex align-items-center justify-content-center">
|
||||
<i class="fa-solid fa-upload"></i>
|
||||
</div>
|
||||
<div class="col-10">
|
||||
<h5 class="card-title">Total Uploads</h5>
|
||||
<p class="card-text" style="color: #888;">{{ totalUploads }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card custom-card">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-2 d-flex align-items-center justify-content-center">
|
||||
<i class="fa-solid fa-hdd"></i>
|
||||
</div>
|
||||
<div class="col-10">
|
||||
<h5 class="card-title">Storage Used</h5>
|
||||
<p class="card-text" style="color: #888;">{{ totalSize }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
12
templates/partials/landing/__faq.html.twig
Executable file
12
templates/partials/landing/__faq.html.twig
Executable file
|
@ -0,0 +1,12 @@
|
|||
{% block faq %}
|
||||
<section class="cta section" style="margin-top:5em;">
|
||||
<div class="container">
|
||||
<div class="cta-inner section-inner">
|
||||
<h3 class="section-title mt-0">Have questions?</h3>
|
||||
<div class="cta-cta">
|
||||
<a class="button button-primary button-wide-mobile" href="{{ path('app_faq') }}">Check our FAQ</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
67
templates/partials/landing/__features.html.twig
Executable file
67
templates/partials/landing/__features.html.twig
Executable file
|
@ -0,0 +1,67 @@
|
|||
{% block features %}
|
||||
<section class="features section">
|
||||
<div class="container">
|
||||
<div class="features-inner section-inner">
|
||||
<div class="features-wrap">
|
||||
<div class="feature text-center is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-gauge-high fa-4x"></i>
|
||||
</div>
|
||||
<h4 class="feature-title mt-24">Fast</h4>
|
||||
<p class="text-sm mb-0">We have incredibly fast upload speeds.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature text-center is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-user-pen fa-4x"></i>
|
||||
</div>
|
||||
<h4 class="feature-title mt-24">Customization</h4>
|
||||
<p class="text-sm mb-0">You have the ability to customize every aspect of your
|
||||
experience.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature text-center is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-shield-halved fa-4x"></i>
|
||||
</div>
|
||||
<h4 class="feature-title mt-24">Secure</h4>
|
||||
<p class="text-sm mb-0">Your information is secure with us. We take our users'
|
||||
privacy seriously.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature text-center is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-hand-holding-dollar fa-4x"></i>
|
||||
</div>
|
||||
<h4 class="feature-title mt-24">Free</h4>
|
||||
<p class="text-sm mb-0">Our host won't make You pay any money for our services.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature text-center is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-infinity fa-4x"></i>
|
||||
</div>
|
||||
<h4 class="feature-title mt-24">No limits</h4>
|
||||
<p class="text-sm mb-0">There are no limits on Your enjoyment.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature text-center is-revealing">
|
||||
<div class="feature-inner">
|
||||
<div class="feature-icon">
|
||||
<i class="fa-solid fa-code-pull-request fa-4x"></i>
|
||||
</div>
|
||||
<h4 class="feature-title mt-24">Frequent Updates</h4>
|
||||
<p class="text-sm mb-0">We frequently update our host so that you never get bored
|
||||
when using it.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue