0% found this document useful (0 votes)
34 views

Dashboard Aula 19: Doctype HTML Head Meta Title Title Meta Meta Meta

This document contains code for the administration dashboard of an online store. It includes HTML, CSS, and PHP code to display the navigation menu, content area, and formatting for different administration pages like the attribute management and listing pages. Stylesheets are linked to handle layout and different components like file uploads, dropdowns, and date pickers. JavaScript files are also linked to support functionality. The navigation menu links to different administration sections like users, products, customers, and sales. Code blocks define the formatting and fields for attribute editing and listing pages.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Dashboard Aula 19: Doctype HTML Head Meta Title Title Meta Meta Meta

This document contains code for the administration dashboard of an online store. It includes HTML, CSS, and PHP code to display the navigation menu, content area, and formatting for different administration pages like the attribute management and listing pages. Stylesheets are linked to handle layout and different components like file uploads, dropdowns, and date pickers. JavaScript files are also linked to support functionality. The navigation menu links to different administration sections like users, products, customers, and sales. Code blocks define the formatting and fields for attribute editing and listing pages.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

DASHBOARD AULA 19

<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<title>Painel Administrao da Loja</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="<?php echo base_url('assets/css/bootstrap.min.css')?>" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
@media (max-width: 980px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
float: none;
padding-left: 5px;
padding-right: 5px;
}
}
</style>
<link href="<?php echo base_url('assets/css/bootstrap-responsive.min.css')?>" rel="stylesheet">
<link href="<?php echo base_url('assets/css/dashboard.css')?>" rel="stylesheet">
<link href="<?php echo base_url('assets/css/jquery.fileupload.css')?>" rel="stylesheet">
<link href="<?php echo base_url('assets/css/jquery.fileupload-ui.css')?>" rel="stylesheet">
<link href="<?php echo base_url('assets/css/select2.css')?>" rel="stylesheet">
<link href="<?php echo base_url('assets/css/select2-bootstrap.css')?>" rel="stylesheet">
<noscript>
<link href="<?php echo base_url('assets/css/jquery.fileupload-noscript.css')?>"
rel="stylesheet">
</noscript>
<noscript>
<link href="<?php echo base_url('assets/css/jquery.fileupload-ui-noscript.css')?>"
rel="stylesheet">
</noscript>
<link href="<?php echo base_url('assets/css/datepicker.css')?>" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon144-precomposed.png">

<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon114-precomposed.png">


<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57precomposed.png">
<link rel="shortcut icon" href="../assets/ico/favicon.png">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".navcollapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">Rosa Shock</a>
<div class="nav-collapse collapse">
<p class="navbar-text pull-right">
Logged in as <a href="#" class="navbar-link">Username</a>
</p>
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Gerncia</li>
<li><a href="<?php echo site_url('painel/usuario')?>"
title="Usurios">Usuario</a></li>
<li class="nav-header">Produtos</li>
<li><a href="<?php echo site_url('painel/departamento')?>"
title="Departamentos">Departamento</a></li>
<li><a href="<?php echo site_url('painel/tipoatributo')?>" title="c">Tipo de
Atributo</a></li>
<li><a href="<?php echo site_url('painel/atributo')?>"
title="Atributos">Atributos</a></li>
<li><a href="<?php echo site_url('painel/produto')?>"
title="Produtos">Produtos</a></li>
<li class="nav-header">Compradores</li>
<li><a href="<?php echo site_url('painel/comprador')?>"
title="Compradores">Compradores</a></li>
<li class="nav-header">Venda</li>
<li><a href="<?php echo site_url('painel/vitrine')?>" title="Vitrine">Vitrine</a></li>
<li><a href="<?php echo site_url('painel/formaentrega')?>" title="Formas de
Entrega">Formas de Entrega</a></li>
<li><a href="<?php echo site_url('painel/formapagamento')?>" title="Formas de
Pagamento">Formas de Pagamento</a></li>

</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
{MENSAGEM_SISTEMA_ERRO}
{MENSAGEM_SISTEMA_SUCESSO}
{CONTEUDO}
</div><!--/span-->
</div><!--/row-->
<hr>
<footer>
<p>&copy; Company 2015</p>
</footer>
</div><!--/.fluid-container-->
<input type="hidden" id="siteURL" value="<?php echo site_url();?>">
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="<?php echo base_url('assets/js/jquery-1.10.2.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.ui.widget.js')?>"></script>
<script src="<?php echo base_url('assets/js/tmpl.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/load-image.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/canvas-to-blob.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/bootstrap.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.blueimp-gallery.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.iframe-transport.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.fileupload.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.fileupload-process.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.fileupload-image.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.fileupload-validate.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.fileupload-ui.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.maskedinput.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/jquery.maskMoney.js')?>"></script>
<script src="<?php echo base_url('assets/js/select2.min.js')?>"></script>
<script src="<?php echo base_url('assets/js/select2_locale_pt-BR.js')?>"></script>
<script src="<?php echo base_url('assets/js/bootstrap-datepicker.js')?>"></script>
<script src="<?php echo base_url('assets/js/loja.js')?>"></script>
</body>
</html>

Atributo forme aula 19


<legend>
Manuteno de Atributos - {ACAO}
<div class="pull-right">
<a href="{URLLISTAR}" title="Listar atributos" class="btn">Voltar</a>

</div>
</legend>
<form action="{ACAOFORM}" method="post" class="form-horizontal">
<input type="hidden" name="codatributo" id="codatributo" value="{codatributo}">
<div class="control-group">
<label class="control-label" for="nomeatributo">Nome <span
class="required">*</span>:</label>
<div class="controls">
<input type="text" id="nomeatributo" name="nomeatributo"
value="{nomeatributo}" required="required">
</div>
</div>
<div class="control-group">
<label class="control-label" for="codtipoatributo">Tipo:</label>
<div class="controls">
<select name="codtipoatributo" id="codtipoatributo" class="required">
<option value="">Selecione o tipo do atributo</option>
{BLC_TIPOATRIBUTOS}
<option value="{CODTIPOATRIBUTO}"
{sel_codtipoatributo}>{NOME}</option>
{/BLC_TIPOATRIBUTOS}
</select>
</div>
</div>
<div class="well">
<button type="submit" class="btn">Salvar</button>
</div>
</form>

Atributo form_lista
<legend>
Atributos
<div class="pull-right">
<a href="{URLLISTAR}" title="Listar atributos" class="btn">Listar</a>
<a href="{URLADICIONAR}" title="Adicionar atributos" class="btn"><em
class="icon-plus"></em> Adicionar</a>
</div>
</legend>
<table class="table table-bordered table-condensed">
<tr>
<th class="coluna-acao text-center"></th>
<th>Nome</th>
<th>Tipo</th>
<th class="coluna-acao text-center"></th>
</tr>
{BLC_DADOS}
<tr>
<td class="alinha-centro"><a href="{URLEDITAR}" title="Editar"><em class="iconpencil"></em></a></td>
<td>{NOME}</td>
<td>{NOMETIPO}</td>

<td class="alinha-centro"><a href="{URLEXCLUIR}" title="Excluir" class="linkexcluir"><em class="icon-trash"></em></a></td>


</tr>
{/BLC_DADOS}
{BLC_SEMDADOS}
<tr>
<td colspan="4" class="alinha-centro">No h dados</td>
</tr>
{/BLC_SEMDADOS}
</table>
<div class="pagination pull-right">
<ul>
<li class="{HABANTERIOR}"><a href="{URLANTERIOR}">&laquo;</a>
{BLC_PAGINAS}
<li class="{LINK}"><a href="{URLLINK}">{INDICE}</a>
{/BLC_PAGINAS}
<li class="{HABPROX}"><a href="{URLPROXIMO}">&raquo;</a>
</ul>
</div>

You might also like