Commit 94dd035c authored by freetux's avatar freetux

fix template icons and make profile page a little functional, will be better ;)

parent 58219c6b
......@@ -23,17 +23,7 @@
/* Shadows (from mdl http://www.getmdl.io/) */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url("../fonts/MaterialIcons-Regular.eot"); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url("../fonts/MaterialIcons-Regular.woff2") format('woff2'),
url("../fonts/MaterialIcons-Regular.woff") format('woff'),
url("../fonts/MaterialIcons-Regular.ttf") format('truetype');
}
@font-face {
font-family: "Roboto";
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -29,8 +29,8 @@
{% endblock stylesheets %}
<!-- Fonts and icons -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:400,700,300|Material+Icons" rel='stylesheet'> -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700,300|Material+Icons" rel='stylesheet'>
{% endblock head %}
</head>
......@@ -55,53 +55,57 @@
<ul class="nav">
<li class="active">
<a href="dashboard.html">
<i class="material-icons"></i>
<i class="fas fa-tachometer-alt"></i>
<p>داشبورد</p>
</a>
</li>
<li>
<a href="./user.html">
<i class="material-icons">person</i>
<i class="fa fa-user"></i>
<p>پروفایل</p>
</a>
</li>
<li>
<a href="./table.html">
<i class="material-icons">content_paste</i>
<p>لیست جدولی</p>
<a href="./typography.html">
<i class="fas fa-dumbbell"></i>
<p>تناسب اندام</p>
</a>
</li>
<li>
<a href="./typography.html">
<i class="material-icons">library_books</i>
<p>Typography</p>
<a href="./table.html">
<i class="fa fa-list-alt"></i>
<p>گزارش گیری</p>
</a>
</li>
<li>
<a href="./icons.html">
<i class="material-icons">bubble_chart</i>
<p>ایکون ها</p>
<i class="fas fa-notes-medical"></i>
<p>نسخه ها</p>
</a>
</li>
<li>
<a href="./maps.html">
<i class="material-icons">location_on</i>
<p>نقشه</p>
<i class="fas fa-pills"></i>
<p>داروها</p>
</a>
</li>
<li>
<a href="./notifications.html">
<i class="material-icons text-gray">notifications</i>
<div style="font-size:2em">
<i class="fa fa-bell"></i>
</div>
<p>هشدارها</p>
</a>
</li>
<li class="active-pro">
<!-- <li class="active-pro">
<a href="upgrade.html">
<i class="material-icons">unarchive</i>
<p>ارتقا به ویژه</p>
</a>
</li>
</ul>
</ul> -->
</div>
</div>
{% endblock sidebar %}
......@@ -118,19 +122,23 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"> Material Dashboard </a>
<a class="navbar-brand" href="#"> <p>سلام {{ user.email}}</p> </a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#pablo" class="dropdown-toggle" data-toggle="dropdown">
<i class="material-icons">dashboard</i>
<p class="hidden-lg hidden-md">Dashboard</p>
<a href="#pablo" class="dropdown-toggle" data-toggle="dropdown">
<div style="font-size:2em">
<i class="fas fa-tachometer-alt"></i>
</div>
<p class="hidden-lg hidden-md">داشبورد</p>
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="material-icons">notifications</i>
<i class="fa fa-bell"></i>
<span class="notification">5</span>
<p class="hidden-lg hidden-md">Notifications</p>
</a>
......@@ -152,11 +160,26 @@
</li>
</ul>
</li>
<li>
<li class="dropdown">
<a href="#pablo" class="dropdown-toggle" data-toggle="dropdown">
<i class="material-icons">person</i>
<div style="font-size:2em">
<i class="fas fa-user"></i>
</div>
<p class="hidden-lg hidden-md">Profile</p>
</a>
<ul class="dropdown-menu">
<li>
<a href="./user.html">
<i class="fas fa-id-card-alt">پروفایل</i>
</a>
</li>
<li>
<a href="../accounts/logout/">
<i class="fas fa-sign-out-alt">خروج</i>
</a>
</li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-right" role="search">
......@@ -164,9 +187,9 @@
<input type="text" class="form-control" placeholder="Search">
<span class="material-input"></span>
</div>
<button type="submit" class="btn btn-white btn-round btn-just-icon">
<i class="material-icons">search</i>
<div class="ripple-container"></div>
<div class="ripple-container"></div>
<button type="submit" class="btn btn-white btn-round btn-just-icon">
<i class="fas fa-search"></i>
</button>
</form>
</div>
......
......@@ -15,10 +15,10 @@
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="card card-stats">
<div class="card-header" data-background-color="orange">
<i class="material-icons">content_copy</i>
<i class="material-icons">قد</i>
</div>
<div class="card-content">
<p class="category">Used Space</p>
<p class="category">cm</p>
<h3 class="title">49/50
<small>GB</small>
</h3>
......@@ -36,7 +36,7 @@
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="card card-stats">
<div class="card-header" data-background-color="green">
<i class="material-icons">store</i>
<i class="material-icons">وزن</i>
</div>
<div class="card-content">
<p class="category">Revenue</p>
......@@ -52,7 +52,7 @@
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="card card-stats">
<div class="card-header" data-background-color="red">
<i class="material-icons">info_outline</i>
<i class="material-icons">فشارخون</i>
</div>
<div class="card-content">
<p class="category">Fixed Issues</p>
......@@ -68,7 +68,7 @@
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="card card-stats">
<div class="card-header" data-background-color="blue">
<i class="fa fa-twitter"></i>
<i class="fab fa-twitter"></i>
</div>
<div class="card-content">
<p class="category">Followers</p>
......@@ -133,7 +133,7 @@
</div>
</div>
</div>
<div class="row">
<!-- <div class="row">
<div class="col-lg-6 col-md-12">
<div class="card card-nav-tabs">
<div class="card-header" data-background-color="purple">
......@@ -351,7 +351,7 @@
</div>
</div>
</div>
</div>
</div> -->
<div class="col-lg-6 col-md-12">
<div class="card">
<div class="card-header" data-background-color="orange">
......
......@@ -15,20 +15,20 @@
<div class="col-md-12">
<div class="card card-plain">
<div class="card-header" data-background-color="purple">
<h4 class="title">Material Design Icons</h4>
<h4 class="title">Font awesome</h4>
<p class="category">Handcrafted by our friends from
<a target="_blank" href="https://design.google.com/icons/">Google</a>
<a target="_blank" href="https://fontawesome.com/cheatsheet">Font awesome</a>
</p>
</div>
<div class="card-content">
<div class="iframe-container hidden-sm hidden-xs">
<iframe src="https://design.google.com/icons/">
<iframe src="https://fontawesome.com/cheatsheet/">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
<div class="col-md-6 hidden-lg hidden-md text-center">
<h5>The icons are visible on Desktop mode inside an iframe. Since the iframe is not working on Mobile and Tablets please visit the icons on their original page on Google. Check the
<a href="https://design.google.com/icons/" target="_blank">Material Icons</a>
<h5>The icons are visible on Desktop mode inside an iframe. Since the iframe is not working on Mobile and Tablets please visit the icons on their original page on Font awesome. Check the
<a href="https://fontawesome.com/cheatsheet" target="_blank">Font awesome</a>
</h5>
</div>
</div>
......
......@@ -103,14 +103,14 @@
<div class="card card-profile">
<div class="card-avatar">
<a href="#pablo">
<img class="img" src="../static/img/faces/marc.jpg" />
<img class="img" src="{{ user.avatar.url }}" alt="Avatar"/>
</a>
</div>
<div class="content">
<h6 class="category text-gray">CEO / Co-Founder</h6>
<h4 class="card-title">Alec Thompson</h4>
<h6 class="category text-gray">تاریخ ثبت‌نام : {{user.date_joined}}</h6>
<h4 class="card-title">{{user.email}}</h4>
<p class="card-content">
Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is...
{{user.abautme}}
</p>
<a href="#pablo" class="btn btn-primary btn-round">Follow</a>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment