diff options
| -rw-r--r-- | app/view/auth/default.view.php | 20 | ||||
| -rw-r--r-- | app/view/common/setting.modal.view.php | 28 | ||||
| -rw-r--r-- | app/view/sysconf/default.view.php | 24 | 
3 files changed, 36 insertions, 36 deletions
| diff --git a/app/view/auth/default.view.php b/app/view/auth/default.view.php index 16085e7..83bb495 100644 --- a/app/view/auth/default.view.php +++ b/app/view/auth/default.view.php @@ -31,13 +31,13 @@                                          <h1>Login</h1>                                          <div class="form-group"> -                                            <label for="loginUsername">Username</label> -                                            <input type="text" name="input[username]" id="loginUsername" class="form-control" required="true" autofocus /> +                                            <label>Username</label> +                                            <input type="text" name="input[username]" class="form-control" required="true" autofocus />                                          </div>                                          <div class="form-group"> -                                            <label for="loginPassword">Password</label> -                                            <input type="password" name="input[password]" id="loginPassword" class="form-control" /> +                                            <label>Password</label> +                                            <input type="password" name="input[password]" class="form-control" />                                          </div>                                          <div class="btn-group pull-right"> @@ -72,18 +72,18 @@                                          <h1 class="text-center">Signup for Scrott</h1>                                          <div class="form-group"> -                                            <label for="signupUsername">Username</label> -                                            <input type="text" name="input[username]" id="signupUsername" class="form-control" required="true" maxlength="50" /> +                                            <label>Username</label> +                                            <input type="text" name="input[username]" class="form-control" required="true" maxlength="50" />                                          </div>                                          <div class="form-group"> -                                            <label for="signupPassword">Password</label> -                                            <input type="password" name="input[password]" id="signupPassword" class="form-control" /> +                                            <label>Password</label> +                                            <input type="password" name="input[password]" class="form-control" />                                          </div>                                          <div class="form-group"> -                                            <label for="signupCPassword">Confirm Password</label> -                                            <input type="password" name="input[cPassword]" id="signupCPassword" class="form-control" /> +                                            <label>Confirm Password</label> +                                            <input type="password" name="input[cPassword]" class="form-control" />                                          </div>                                          <div class="btn-group pull-right"> diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 88a933d..c9587a0 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -34,8 +34,8 @@                          <form method="post" action="<?=$mod->ap()?>">                              <input type="hidden" name="input[action]" value="common-setting-user" />                              <div class="form-group"> -                                <label for="inputUserUsername">Username</label> -                                <input type="text" id="inputUserUsername" class="form-control" value="<?=$mod->getCurrentUser()->name?>" disabled /> +                                <label>Username</label> +                                <input type="text" class="form-control" value="<?=$mod->getCurrentUser()->name?>" disabled />                              </div>                              <div class="checkbox"> @@ -46,35 +46,35 @@                              <div class="collapse" id="inputUserPasswdCollapse">                                  <div class="form-group"> -                                    <label for="inputUserCurPasswd">Current Password</label> -                                    <input type="password" name="input[curPasswd]" id="inputUserCurPasswd" class="form-control" /> +                                    <label>Current Password</label> +                                    <input type="password" name="input[curPasswd]" class="form-control" />                                  </div>                                  <div class="form-group"> -                                    <label for="inputUserNewPasswd">New Password</label> -                                    <input type="password" name="input[newPasswd]" id="inputUserNewPasswd" class="form-control" /> +                                    <label>New Password</label> +                                    <input type="password" name="input[newPasswd]" class="form-control" />                                  </div>                                  <div class="form-group"> -                                    <label for="inputUserConfPasswd">Confirm Password</label> -                                    <input type="password" name="input[confPasswd]" id="inputUserConfPasswd" class="form-control" /> +                                    <label>Confirm Password</label> +                                    <input type="password" name="input[confPasswd]" class="form-control" />                                  </div>                              </div>                              <div class="form-group"> -                                <label for="inputUserAlias">Alias</label> -                                <input type="text" name="input[alias]" id="inputUserAlias" class="form-control" value="<?=$mod->getCurrentUser()->alias?>" /> +                                <label>Alias</label> +                                <input type="text" name="input[alias]" class="form-control" value="<?=$mod->getCurrentUser()->alias?>" />                              </div>                              <div class="form-group"> -                                <label for="inputUserEmail">Email</label> -                                <input type="text" name="input[email]" id="inputUserEmail" class="form-control" value="<?=$mod->getCurrentUser()->email?>" /> +                                <label>Email</label> +                                <input type="text" name="input[email]" class="form-control" value="<?=$mod->getCurrentUser()->email?>" />                              </div>                              <?php if ($mod->getCurrentUser()->email != "" && $mod->getCurrentUser()->emailConf == 0) { ?>                                  <div class="form-group has-warning"> -                                    <label class="control-label" for="inputUserEmailConfKey">Email Confirmation Key</label> -                                    <input type="text" name="input[emailConfKey]" id="inputUserEmailConfKey" class="form-control" /> +                                    <label class="control-label">Email Confirmation Key</label> +                                    <input type="text" name="input[emailConfKey]" class="form-control" />                                      <span class="help-block">You have not yet confirmed ownership of your saved email address</span>                                  </div>                              <?php } ?> diff --git a/app/view/sysconf/default.view.php b/app/view/sysconf/default.view.php index 00e6adf..65f7cb6 100644 --- a/app/view/sysconf/default.view.php +++ b/app/view/sysconf/default.view.php @@ -52,34 +52,34 @@                                      <input type="hidden" name="input[action]" value="save" />                                      <legend>Database Connection</legend>                                      <div class="form-group"> -                                        <label for="inputDBEngine">Engine</label> -                                        <input type="text" id="inputDBEngine" class="form-control" value="Mysql" disabled /> +                                        <label>Engine</label> +                                        <input type="text" class="form-control" value="Mysql" disabled />                                      </div>                                      <div class="form-group"> -                                        <label for="inputDBAddress">Server Address</label> -                                        <input type="text" name="input[dbAddress]" id="inputDBAddress" class="form-control" placeholder="localhost" required="true" /> +                                        <label>Server Address</label> +                                        <input type="text" name="input[dbAddress]" class="form-control" placeholder="localhost" required="true" />                                      </div>                                      <div class="form-group"> -                                        <label for="inputDBName">Database Name</label> -                                        <input type="text" name="input[dbName]" id="inputDBName" class="form-control" placeholder="db_scrott" required="true" /> +                                        <label>Database Name</label> +                                        <input type="text" name="input[dbName]" class="form-control" placeholder="db_scrott" required="true" />                                      </div>                                      <div class="form-group"> -                                        <label for="inputDBUser">Username</label> -                                        <input type="text" name="input[dbUser]" id="inputDBUser" class="form-control" placeholder="root" required="true" /> +                                        <label>Username</label> +                                        <input type="text" name="input[dbUser]" class="form-control" placeholder="root" required="true" />                                      </div>                                      <div class="form-group"> -                                        <label for="inputDBPass">Password</label> -                                        <input type="password" name="input[dbPass]" id="inputDBPass" class="form-control" /> +                                        <label>Password</label> +                                        <input type="password" name="input[dbPass]" class="form-control" />                                      </div>                                      <legend>Application Installation</legend>                                      <div class="form-group"> -                                        <label for="inputAppPath">Install Location</label> -                                        <input type="text" id="inputAppPath" class="form-control" value="<?=$mod->ar()?>/" disabled /> +                                        <label>Install Location</label> +                                        <input type="text" class="form-control" value="<?=$mod->ar()?>/" disabled />                                          <h6 class="pull-right">Detected from location of files in web document root</h6>                                      </div> | 
