summaryrefslogtreecommitdiffstats
path: root/docs/index.rst
diff options
context:
space:
mode:
authorGerard Damm <gerard.damm@wipro.com>2018-06-08 15:30:03 -0500
committerGerrit Code Review <gerrit@opnfv.org>2018-06-21 18:56:15 +0000
commitc72564847794788c1f22f7e69fe62b644102de02 (patch)
tree9ea1c7473006640edd0c71a7fe6ef1970c0d9b3e /docs/index.rst
parentfdfa662d6b80a01d081f8ed9e2385a6cbdb595ee (diff)
Update git submodules
* Update docs/submodules/auto from branch 'master' - adding Mohan, removing Madhukesh In a phase of refreshing list of Auto committers. First batch: add Mohan, remove Madhukesh. Mohan: which email to use (mvista or gmail); and need your LF ID. Next batch: add Martin, Richard, Cristina, Paul, Joe (voting in progress), and review all list Does the "INFO" file need to be deleted (since "INFO.yaml" is the reference) ? patch 2: - updated Mohan's LFID - added entries for Joe, Cristina, Paul, Martin, Richard - still need LFIDs from Paul, Richard - seems INFO can be deleted indeed; will do during final patch (delta: about 6 names in INFO not in INFO.yaml) patch 3 (June 14th): - updated LFIDs for Paul, Richard - updated INFO, but not deleted yet; grouped names not in INFO.yaml; - INFO.yaml ready to be merged, pending TSC approval process Change-Id: Ie34283faebbab99afbed731d7ac92309518e3b03 Signed-off-by: Gerard Damm <gerard.damm@wipro.com>
Diffstat (limited to 'docs/index.rst')
0 files changed, 0 insertions, 0 deletions
n186'>186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
{% load jenkins_filters %}

<div class="row">
    <div class="col-lg-3">
        <div class="panel panel-default">
            <div class="panel-heading">
                Jenkins Utilization
                <div class="pull-right">
                    <div class="form-group">
                        <select onchange="loadChartData('{{ resource.id }}_jenkins_utilization', this.value);">
                            <option value="{% url 'dashboard:jenkins_utilization' resource_id=resource.id weeks=1 %}">
                                Last Week
                            </option>
                            <option value="{% url 'dashboard:jenkins_utilization' resource_id=resource.id weeks=4 %}">
                                Last Month
                            </option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="panel-body">
                <div class="flot-chart">
                    <div class="flot-chart-content"
                         id="{{ resource.id }}_jenkins_utilization"></div>
                </div>
            </div>
        </div>
    </div>

    <div class="col-lg-9">
        <div class="panel panel-default">
            <div class="panel-heading">
                Status
            </div>
            <div class="panel-body">
                <div class="list-group pre-scrollable">
                    {% for status in resource.resourcestatus_set.all %}
                        <a href="#" class="list-group-item">
                            <i class="fa fa-info fa-fw"></i> {{ status.title }}
                            <span class="pull-right text-muted small">
                                <em>{{ status.timestamp }}</em>
                            </span>
                        </a>
                    {% endfor %}
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-9">
        <div class="panel panel-default">
            <div class="panel-heading">
                Servers
            </div>
            <div class="panel-body">
                <div class="dataTables_wrapper">
                    <table class="table table-striped table-bordered table-hover"
                           id="{{ resource.id }}_server_table" cellspacing="0"
                           width="100%">
                        {% include "dashboard/server_table.html" %}
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-lg-3">
        <div class="panel panel-default">
            <div class="panel-heading">
                Booking Utilization
                <div class="pull-right">
                    <div class="form-group">
                        <select onchange="loadChartData('{{ resource.id }}_booking_utilization', this.value);">
                            <option value="{% url 'dashboard:booking_utilization' resource_id=resource.id weeks=-4 %}">
                                Last Month
                            </option>
                            <option value="{% url 'dashboard:booking_utilization' resource_id=resource.id weeks=-1 %}">
                                Last Week
                            </option>
                            <option value="{% url 'dashboard:booking_utilization' resource_id=resource.id weeks=1 %}">
                                Next Week
                            </option>
                            <option selected="selected"
                                    value="{% url 'dashboard:booking_utilization' resource_id=resource.id weeks=4 %}">
                                Next Month
                            </option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="panel-body">
                <div class="flot-chart">
                    <div class="flot-chart-content"
                         id="{{ resource.id }}_booking_utilization"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-9">
        <div class="panel panel-default">
            <div class="panel-heading">
                Bookings
            </div>
            <div class="panel-body">
                <div class="dataTables_wrapper">
                    <table class="table table-striped table-bordered table-hover"
                           id="{{ resource.id }}_bookings_table" cellspacing="0"
                           width="100%">
                        {% include "booking/booking_table.html" %}
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-lg-3">
        <div class="panel panel-default">
            <div class="panel-heading">
                Contact
            </div>
            <div class="panel-body">
                <p>
                    <b>Lab Owner: </b>
                    {{ resource.owner.username }}
                </p>
                <p>
                    <b>Email: </b>
                    {{ resource.owner.email }}
                </p>
                <p>
                    <a href="{% url 'booking:create' resource_id=resource.id %}" class="btn
                    btn-primary">
                        Booking
                    </a>
                    <a href="{{ resource.url }}" class="btn
                    btn-primary">
                        OPNFV Wiki
                    </a>
                </p>
            </div>
        </div>
    </div>
    <div class="col-lg-3">
        <div class="panel panel-default">
            <div class="panel-heading">
                Jenkins Status
            </div>
            <div class="panel-body">
                <p>
                    <b>Slave Name: </b>
                    <a target='_blank'
                       href={{ resource.slave.url }}>{{ resource.slave.name }}</a>
                </p>
                <p>
                    <b>Status: </b>
                    {{ resource.slave.status }}
                </p>
                <p>
                    <b>Last Job: </b>
                    <a href="{{ resource.slave.last_job_url }}">
                        {{ resource.slave.last_job_name }}
                    </a>
                </p>
            </div>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="panel panel-default">
            <div class="panel-heading">
                VPN Users
            </div>
            <div class="panel-body">
                <div class="dataTables_wrapper">
                    <table class="table table-striped table-bordered table-hover"
                           id="{{ resource.id }}_vpn_user_table" cellspacing="0"
                           width="100%">
                        <thead>
                        <tr>
                            <th>User</th>
                            <th>Email</th>
                            <th>Company</th>
                        </tr>
                        </thead>
                        <tbody>
                        {% for user in resource.vpn_users.all %}
                            <tr>
                                <td>
                                    {{ user.username }}
                                </td>
                                <td>
                                    {{ user.email }}
                                </td>
                                <td>
                                    {{ user.userprofile.company }}
                                </td>
                            </tr>
                        {% endfor %}
                    </table>
                    </tbody>
                </div>
            </div>
        </div>
    </div>
</div>