Skip to content

Commit

Permalink
remove test from invitations and teams
Browse files Browse the repository at this point in the history
  • Loading branch information
tekanokhambane committed May 1, 2024
1 parent 81a3240 commit 4491968
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 127 deletions.
Empty file.
Empty file.
246 changes: 119 additions & 127 deletions multitenancy/templates/multitenancy/admin/publicUser/includes/stats.html
Original file line number Diff line number Diff line change
@@ -1,145 +1,137 @@
<section class="content">
<div class="row ">
<div class="col-md-12">
<div class="card">
<div class="row">
<div class="col-md-8">
<h3 class="m-3 text-dark">Hi, {{user.first_name}}! </h3>
</div><!-- /.col -->
<div class="row ">
<div class="col-md-12">
<div class="card">
<div class="row">
<div class="col-md-8">
<h3 class="m-3 text-dark">Hi, {{ user }}!</h3>
</div>
<!-- /.col -->
<div class="col-md-4">
<a href="{% url "subscriptions" %}" class="btn btn-info mt-3 text-light">My Subscriptions</a>
</div><!-- /.col -->
</div>

<!-- /.col -->
</div>
</div>


</div><!-- /.row -->
<div class="container-fluid">



<!-- Small boxes (Stat box) -->
<div class="row mt-4">
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border border-warning bg-light">
<div class="inner">
<h3>{{subscriptions.count}}</h3>

<p>Subscriptions</p>
</div>
<div class="icon border border-warning">
<i class="ion ion-ios-cloud-outline text-warning"></i>
</div>
<a href="{% url "subscriptions" %}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
</div>
<!-- /.row -->
<div class="container-fluid">
<!-- Small boxes (Stat box) -->
<div class="row mt-4">
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border border-warning bg-light">
<div class="inner">
<h3>{{ subscriptions.count }}</h3>
<p>Subscriptions</p>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border-danger border bg-light">
<div class="inner">
<h3>{{domains.count}}</h3>

<p>Domains</p>
</div>
<div class="icon border-danger border ">
<i class="ion ion-ios-world text-danger"></i>
</div>
<a href="{#% url "view_domain" %#}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
<div class="icon border border-warning">
<i class="ion ion-ios-cloud-outline text-warning"></i>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border-success border bg-light">
<div class="inner">
<h3> {{tickets.count}} </h3>

<p>Tickets</p>
</div>
<div class="icon border-success border ">
<i class="ion ion-email text-success"></i>
</div>
<a href="{% url "helpdesk:home" %}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
<a href="{% url "subscriptions" %}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border-danger border bg-light">
<div class="inner">
<h3>{{ domains.count }}</h3>
<p>Domains</p>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border-primary border bg-light">
<div class="inner">
<h3>5</h3>

<p>Invoices</p>
</div>
<div class="icon border-primary border">
<i class="ion ion-card text-primary"></i>
</div>
<a href="{#% url 'customer_invoices' %#}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
<div class="icon border-danger border ">
<i class="ion ion-ios-world text-danger"></i>
</div>
<!-- ./col -->
<div class="col-md-6">

<div class="card card-navy">
<div class="card-header">

<h3 class="card-title"><i class="fas fa-globe"></i> Register a New Domain</h3>
</div>
<!-- /.card-header -->
<!-- form start -->
<form action="{#% url 'domain_availability' %#}" class="form-horizontal">
<div class="card-body">

<div class="input-group input-group-sm">
<input type="text" class="form-control">
<span class="input-group-append">
<button type="search" href="{#% url 'domain_availability' %#}" class="btn btn-info btn-flat">Register</button>
<button type="submit" class="btn btn-default">Transfer</button>

</span>
</div>


<!-- /.card-body -->

</form>
<a href="{#% url "view_domain" %#}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border-success border bg-light">
<div class="inner">
<h3>{{ tickets.count }}</h3>
<p>Tickets</p>
</div>
<div class="icon border-success border ">
<i class="ion ion-email text-success"></i>
</div>
<a href="{% url "helpdesk:home" %}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<div class="col-md-6">
<div class="card card-navy">
<div class="card-header">
<h3 class="card-title">
<i class="fas fa-comments"></i>
Recent Support Tickets
</h3>
</div>

<!-- /.card-header -->
<!-- ./col -->
<div class="col-lg-3 col-6">
<!-- small box -->
<div class="small-box border-primary border bg-light">
<div class="inner">
<h3>5</h3>
<p>Invoices</p>
</div>
<div class="icon border-primary border">
<i class="ion ion-card text-primary"></i>
</div>
<a href="{#% url 'customer_invoices' %#}" class="small-box-footer">More info <i class="fas fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-md-6">
<div class="card card-navy">
<div class="card-header">
<h3 class="card-title">
<i class="fas fa-globe"></i> Register a New Domain
</h3>
</div>
<!-- /.card-header -->
<!-- form start -->
<form action="{#% url 'domain_availability' %#}" class="form-horizontal">
<div class="card-body">
<a href="{% url 'helpdesk:submit' %}" > <button href="{% url 'helpdesk:home' %}" class="btn btn-info"> <i class="fas fa-plus"></i> Open a ticket</button></a>
{% for ticket in alltickets %}
<a href="{% url 'helpdesk:public_view' %}?ticket={{ticket.id}}&email={{user.email}}"><p class=" elevation-1 {% if ticket.status == 1 %} text-success {% elif ticket.status == 2 %} text-warning {% elif ticket.status == 3 %} text-danger {% elif ticket.status == 4 %} text-dark {% elif ticket.status == 5 %} text-info {% endif %} m-2"> <span class="bg-dark p-1 m-2" >{{ticket.id}}</span> {{ticket.title}} | {{ticket.description | truncatewords:6}} {{ticket.get_status}} </p></a>

{% endfor %}


</div>
<!-- /.card-body -->
<div class="input-group input-group-sm">
<input type="text" class="form-control">
<span class="input-group-append">
<button type="search"
href="{#% url 'domain_availability' %#}"
class="btn btn-info btn-flat">Register</button>
<button type="submit" class="btn btn-default">Transfer</button>
</span>
</div>
<!-- /.card-body -->
</form>
</div>
<!-- /.card -->
</div>
<!-- /.row -->
</section>
<!-- right col -->
</div>
<div class="col-md-6">
<div class="card card-navy">
<div class="card-header">
<h3 class="card-title">
<i class="fas fa-comments"></i>
Recent Support Tickets
</h3>
</div>
<!-- /.card-header -->
<div class="card-body">
<a href="{% url 'helpdesk:submit' %}">
<button href="{% url 'helpdesk:home' %}" class="btn btn-info">
<i class="fas fa-plus"></i> Open a ticket
</button>
</a>
{% for ticket in alltickets %}
<a href="{% url 'helpdesk:public_view' %}?ticket={{ ticket.id }}&email={{ user.email }}">
<p class=" elevation-1 {% if ticket.status == 1 %} text-success {% elif ticket.status == 2 %} text-warning {% elif ticket.status == 3 %} text-danger {% elif ticket.status == 4 %} text-dark {% elif ticket.status == 5 %} text-info {% endif %} m-2">
<span class="bg-dark p-1 m-2">{{ ticket.id }}</span> {{ ticket.title }} | {{ ticket.description | truncatewords:6 }} {{ ticket.get_status }}
</p>
</a>
{% endfor %}
</div>
<!-- /.card-body -->
</div>
<!-- /.row (main row) -->
</div><!-- /.container-fluid -->
<!-- /.card -->
</div>
<!-- /.row -->
</section>


<!-- right col -->
</div>
<!-- /.row (main row) -->
</div>
<!-- /.container-fluid -->
</section>

0 comments on commit 4491968

Please sign in to comment.