<commit_before><%-- 
    Document   : Registration
    Created on : Sept 9, 2015, 11:37:49 AM
    Author     : <NAME>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>

<html lang="en">


    <%@include file="includes/header.jsp"%>

    <title>App Details Page</title>
    
    <body>
        <h1 align="center">App Details</h1>
        
        <form method="POST" class="form-horizontal" name="registerForm">
            <div class="form-group">
                <label class="col-md-3 control-label" for="Name" required>Name</label>
                <div class="col-md-4">
                    <input id="Name" type="Name" class="form-control" name="Name" value="${application.name}" required/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="Description">Description</label>
                <div class="col-md-4">
                    <TEXTAREA name="description" rows=4 cols=40>${application.description}</TEXTAREA>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="Key">API Key</label>
                <div class="col-md-4">
                    ${application.apiKey.key}
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="Users">Users</label>
                <div class="col-md-4">
                    ${nbEndUsers}
                </div> 
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="State">State</label>
                <div class="col-md-offset-3 col-md-9">
                    <span class="btn-primary" style="background-color: #1B4F08; border-radius: 5px">A FAIRE</span>
                </div>
            </div>
            <div class="form-group" >
                <div class="col-md-offset-3 col-md-9">
                    <button class="btn btn-primary" type="submit">(A FAIRE !!!) Register</button>
                    <button class="btn btn-default" type="button">Cancel</button>
                </div><commit_msg>Affichage du bouton Enabled ou Disabled<commit_after><%-- 
    Document   : Registration
    Created on : Sept 9, 2015, 11:37:49 AM
    Author     : <NAME>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>

<html lang="en">


    <%@include file="includes/header.jsp"%>

    <title>App Details Page</title>

    <body>
        <h1 align="center">App Details</h1>

        <form method="POST" class="form-horizontal" name="registerForm">
            <div class="form-group">
                <label class="col-md-3 control-label" for="Name" required>Name</label>
                <div class="col-md-4">
                    <input id="Name" type="Name" class="form-control" name="Name" value="${application.name}" required/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="Description">Description</label>
                <div class="col-md-4">
                    <TEXTAREA name="description" rows=4 cols=40>${application.description}</TEXTAREA>
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="Key">API Key</label>
                <div class="col-md-4">
                    ${application.apiKey.key}
                </div>
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="Users">Users</label>
                <div class="col-md-4">
                    ${nbEndUsers}
                </div> 
            </div>
            <div class="form-group">
                <label class="col-md-3 control-label" for="State">State</label>
                <div class="col-md-offset-3 col-md-9">
                    
                    <c:choose>
                        
                        <c:when test="${application.isEnable == true}">
                            <button class="btn btn-success" type="button">Enabled</button>
                        </c:when>
                        
                            <c:otherwise>
                            <button class="btn btn-danger" type="button">Disabled</button>
                        </c:otherwise>
                            
                    </c:choose>

                    
                </div>
            </div>
            <div class="form-group" >
                <div class="col-md-offset-3 col-md-9">
                    <button class="btn btn-primary" type="submit">(A FAIRE !!!) Register</button>
                    <button class="btn btn-default" type="button">Cancel</button>
                </div>
{'fraction_non_alphanumeric': 0.15883894376133845, 'fraction_numerical': 0.013102197137673856, 'mean_word_length': 1.5239064089521872, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6819120', 'n_tokens_mistral': 1486, 'n_tokens_neox': 1372, 'n_words': 261}